summaryrefslogtreecommitdiffstats
path: root/libao2/ao_polyp.c
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-06 04:30:19 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-06 04:30:19 +0000
commitf50e7ffca93641ade7145b8f8682eddc30a248bb (patch)
tree528b0f7f4fe55261a8d275d52d3f1a2342d8d318 /libao2/ao_polyp.c
parent4aa477ef2cfb2973e87e9d0662fe1c4e6946f120 (diff)
downloadmpv-f50e7ffca93641ade7145b8f8682eddc30a248bb.tar.bz2
mpv-f50e7ffca93641ade7145b8f8682eddc30a248bb.tar.xz
modifies function declarations without parameters from ()
to the correct (void). Only files in libao2 are affected. patch by Stefan Huehner stefan AT huehner-org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18920 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/ao_polyp.c')
-rw-r--r--libao2/ao_polyp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libao2/ao_polyp.c b/libao2/ao_polyp.c
index e037070058..7ba940d6b4 100644
--- a/libao2/ao_polyp.c
+++ b/libao2/ao_polyp.c
@@ -197,19 +197,19 @@ static int play(void* data, int len, int flags) {
}
/** Pause the audio stream by corking it on the server */
-static void audio_pause() {
+static void audio_pause(void) {
assert(stream && context && pa_stream_get_state(stream) == PA_STREAM_READY);
wait_for_operation(pa_stream_cork(stream, 1, NULL, NULL));
}
/** Resume the audio stream by uncorking it on the server */
-static void audio_resume() {
+static void audio_resume(void) {
assert(stream && context && pa_stream_get_state(stream) == PA_STREAM_READY);
wait_for_operation(pa_stream_cork(stream, 0, NULL, NULL));
}
/** Reset the audio stream, i.e. flush the playback buffer on the server side */
-static void reset() {
+static void reset(void) {
assert(stream && context && pa_stream_get_state(stream) == PA_STREAM_READY);
wait_for_operation(pa_stream_flush(stream, NULL, NULL));
}