nRF Connect SDK API 0.1.0
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
7#ifndef _STREAMCTRL_H_
8#define _STREAMCTRL_H_
9
10#include <stddef.h>
11#include <zephyr/kernel.h>
12
13/* State machine states for peer or stream. */
17};
18
24uint8_t stream_state_get(void);
25
33void streamctrl_send(void const *const data, size_t size, uint8_t num_ch);
34
35#endif /* _STREAMCTRL_H_ */
uint8_t stream_state_get(void)
Get the current streaming state.
void streamctrl_send(void const *const data, size_t size, uint8_t num_ch)
Send audio data over the stream.
stream_state
Definition: streamctrl.h:14
@ STATE_PAUSED
Definition: streamctrl.h:16
@ STATE_STREAMING
Definition: streamctrl.h:15