Skip to main content

Module audio

Module audio 

Source
Expand description

Native audio playback functions

These functions are only available if you compile and link against spd_audio.c from the speech-dispatcher distribution, otherwise using any of the defined functions will result in linking errors. Most speech-dispatcher modules should be OK with only supporting server audio and hence do not need these functions.

Structs§

ID
Params
Server settable audio output parameters
Plugin
These callbacks are called from a single thread, except stop which can be called from another thread open is called first, which returns an ID, which is later passed to to all the other callbacks, so plugins can extend the ID structure as they see fit to include their own data.
Track

Enums§

Format

Functions§

spd_audio_begin
spd_audio_close
spd_audio_end
spd_audio_feed_sync
spd_audio_feed_sync_overlap
spd_audio_get_playcmd
spd_audio_open
spd_audio_play
spd_audio_set_loglevel
spd_audio_set_volume
spd_audio_stop