nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
streamctrl.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
16#ifndef _STREAMCTRL_H_
17#define _STREAMCTRL_H_
18
19#include <stddef.h>
20#include <zephyr/kernel.h>
21#include <zephyr/net_buf.h>
22
30
36uint8_t stream_state_get(void);
37
43void streamctrl_send(struct net_buf const *const audio_frame);
44
49#endif /* _STREAMCTRL_H_ */
uint8_t stream_state_get(void)
Get the current streaming state.
void streamctrl_send(struct net_buf const *const audio_frame)
Send audio data over the stream.
stream_state
Stream state enumeration for audio streaming operations.
Definition streamctrl.h:26
@ STATE_PAUSED
Definition streamctrl.h:28
@ STATE_STREAMING
Definition streamctrl.h:27