summaryrefslogtreecommitdiff
path: root/audio_dummy.c
diff options
context:
space:
mode:
authorMike Brady <mikebrady@eircom.net>2019-05-07 10:12:09 +0100
committerMike Brady <mikebrady@eircom.net>2019-05-07 10:19:04 +0100
commit83c0405d038849f0edd59709a69f4155ca13a5a4 (patch)
tree5f6096c07e7897e71fa933978677f70447aafa1b /audio_dummy.c
parent51c097cd125da61b9bdde1ca04dc63025f88182e (diff)
Add automatic bit depth and speed selection for alsa devices. Set rate and format to "auto" by default. Always look for the greatest bit depth, but the lowest multiple of 44,100.
Improve support for big-endian CPUs by adding support for explicit -endian formats, i.e. S16_LE, S16_BE, S24_LE, S24_BE, S32_LE, S32_BE. For the "disable_standby_mode" setting, change "while_active" to "auto".
Diffstat (limited to 'audio_dummy.c')
-rw-r--r--audio_dummy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio_dummy.c b/audio_dummy.c
index 88c63c9..483dbe4 100644
--- a/audio_dummy.c
+++ b/audio_dummy.c
@@ -59,6 +59,7 @@ audio_output audio_dummy = {.name = "dummy",
.help = NULL,
.init = &init,
.deinit = &deinit,
+ .prepare = NULL,
.start = &start,
.stop = &stop,
.is_running = NULL,