49#define AUDIO_PLAYBACK_ABI_VERSION 11
65#define AUDIO_PLAYBACK_CTL_QUERY_FORMAT 1
72#define AUDIO_PLAYBACK_CTL_MULTIPLE_STREAMS 2
77#define AUDIO_PLAYBACK_PUT_NETWORK_DEVICE 3
82 void *(*init)(
const char *cfg);
85 bool (*
ctl)(
void *
state,
int request,
void *data,
size_t *
len);
struct video_frame * frame
bool audio_playback_reconfigure(struct state_audio_playback *state, int quant_samples, int channels, int sample_rate)
bool audio_playback_ctl(struct state_audio_playback *s, int request, void *data, size_t *len)
void * audio_playback_get_state_pointer(struct state_audio_playback *s)
void audio_playback_done(struct state_audio_playback *state)
void audio_playback_finish(struct state_audio_playback *state)
unsigned int audio_playback_get_display_flags(struct state_audio_playback *s)
void audio_playback_init_devices(void)
struct state_audio_playback * audio_playback_init_null_device(void)
void audio_playback_help(bool full)
int audio_playback_init(const char *device, const char *cfg, struct state_audio_playback **)
void audio_playback_put_frame(struct state_audio_playback *state, const struct audio_frame *frame)
struct used to comunicate with audio capture/playback device
bool(* reconfigure)(void *state, struct audio_desc)
void(* done)(void *state)
void(* write)(void *state, const struct audio_frame *frame)
bool(* ctl)(void *state, int request, void *data, size_t *len)
This file contains some common data types.
void(* device_probe_func)(struct device_info **available_cards, int *count, void(**deleter)(void *))