aboutsummaryrefslogtreecommitdiffstats
path: root/src/audio_format.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-25 14:27:32 +0100
committerMax Kellermann <max@duempel.org>2009-12-25 17:29:41 +0100
commitb54bde6f2b9f826cd7189182d733aada66c95dd8 (patch)
treef07f7b57f0d83879e6aa35ba3bbdaa06b4cbf4f1 /src/audio_format.c
parentd2051c7f50deff0532566c070aaf4fec5d774558 (diff)
downloadmpd-b54bde6f2b9f826cd7189182d733aada66c95dd8.tar.gz
mpd-b54bde6f2b9f826cd7189182d733aada66c95dd8.tar.xz
mpd-b54bde6f2b9f826cd7189182d733aada66c95dd8.zip
filter_plugin: allow open() to force an input format
Make the audio_format argument non-const. Allow the open() method to modify it, to indicate that it wants a different input audio format than the one specified. Check that condition in chain_filter_open(), and fail.
Diffstat (limited to 'src/audio_format.c')
0 files changed, 0 insertions, 0 deletions