nRF Connect SDK API
3.4.99
Toggle main menu visibility
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
15
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
26
enum
stream_state
{
27
STATE_STREAMING
,
28
STATE_PAUSED
,
29
};
30
36
uint8_t
stream_state_get
(
void
);
37
43
void
streamctrl_send
(
struct
net_buf
const
*
const
audio_frame);
44
48
49
#endif
/* _STREAMCTRL_H_ */
stream_state_get
uint8_t stream_state_get(void)
Get the current streaming state.
streamctrl_send
void streamctrl_send(struct net_buf const *const audio_frame)
Send audio data over the stream.
stream_state
stream_state
Stream state enumeration for audio streaming operations.
Definition
streamctrl.h:26
STATE_PAUSED
@ STATE_PAUSED
Definition
streamctrl.h:28
STATE_STREAMING
@ STATE_STREAMING
Definition
streamctrl.h:27
applications
nrf_audio
src
audio
streamctrl.h
Generated on
for nRF Connect SDK API by
1.17.0