nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ audio_module_state_get()

int audio_module_state_get ( struct audio_module_handle const *const  handle,
enum audio_module_state state 
)

#include <include/audio_module/audio_module.h>

Helper to get the state of a given audio module handle.

Parameters
handle[in] The handle to the module instance.
state[out] Pointer to the current module's state.
Returns
0 if successful, error otherwise.