Zephyr API Documentation  3.4.0
A Scalable Open Source RTOS
3.4.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
bt_bap_stream_ops Struct Reference

Stream operation. More...

#include <bap.h>

Data Fields

void(* started )(struct bt_bap_stream *stream)
 Stream started callback.
 
void(* stopped )(struct bt_bap_stream *stream, uint8_t reason)
 Stream stopped callback.
 

Detailed Description

Stream operation.

Field Documentation

◆ started

void(* bt_bap_stream_ops::started) (struct bt_bap_stream *stream)

Stream started callback.

Started callback is called whenever an Audio Stream has been started and will be usable for streaming.

Parameters
streamStream object that has been started.

◆ stopped

void(* bt_bap_stream_ops::stopped) (struct bt_bap_stream *stream, uint8_t reason)

Stream stopped callback.

Stopped callback is called whenever an Audio Stream has been stopped.

Parameters
streamStream object that has been stopped.
reasonBT_HCI_ERR_* reason for the disconnection.

The documentation for this struct was generated from the following file: