diff options
author | Max Kellermann <max@duempel.org> | 2009-02-25 18:45:09 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-25 18:45:09 +0100 |
commit | 8a882209c366efabca625ce788390b88cc5e5ef7 (patch) | |
tree | f93f9f76c7e70c75716389d19406824f22673db9 /src | |
parent | dcd84c19cdb71cfb594851995cdaffdf39453bdc (diff) | |
download | mpd-8a882209c366efabca625ce788390b88cc5e5ef7.tar.gz mpd-8a882209c366efabca625ce788390b88cc5e5ef7.tar.xz mpd-8a882209c366efabca625ce788390b88cc5e5ef7.zip |
ao: removed implementation of method cancel()
The method is empty, and we can simply set the method pointer to NULL
instead.
Diffstat (limited to 'src')
-rw-r--r-- | src/output/ao_plugin.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/output/ao_plugin.c b/src/output/ao_plugin.c index 65134dbd7..2c5d22a60 100644 --- a/src/output/ao_plugin.c +++ b/src/output/ao_plugin.c @@ -144,11 +144,6 @@ static void audioOutputAo_finishDriver(void *data) ao_shutdown(); } -static void audioOutputAo_dropBufferedAudio(G_GNUC_UNUSED void *data) -{ - /* not supported by libao */ -} - static void audioOutputAo_closeDevice(void *data) { AoData *ad = (AoData *)data; @@ -232,6 +227,5 @@ const struct audio_output_plugin aoPlugin = { .finish = audioOutputAo_finishDriver, .open = audioOutputAo_openDevice, .play = audioOutputAo_play, - .cancel = audioOutputAo_dropBufferedAudio, .close = audioOutputAo_closeDevice, }; |