nRF Connect SDK API 0.1.0
|
int audio_module_disconnect | ( | struct audio_module_handle * | handle, |
struct audio_module_handle * | handle_disconnect, | ||
bool | disconnect_external | ||
) |
#include <include/audio_module/audio_module.h>
Disconnect audio modules from each other or disconnect the module's TX FIFO. The function should be called for all individual disconnections.
handle | [in/out] The handle for the module. |
handle_disconnect | [in/out] The handle of the module to disconnect, should be NULL if disconnect_external flag is true. |
disconnect_external | [in] Flag to indicate that the output audio data items should stop being put on handle TX FIFO. |