summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-04 17:35:26 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-04 17:35:26 +0000
commitd9ded9284c43a311b8c2bed6e85466be4d465c0c (patch)
tree383e73cb430cf999b32de6c0466410175a3401fd /DOCS
parent56a13121a765b89bcf13d3398b969e6ccb17b80c (diff)
downloadmpv-d9ded9284c43a311b8c2bed6e85466be4d465c0c.tar.bz2
mpv-d9ded9284c43a311b8c2bed6e85466be4d465c0c.tar.xz
Add missing 'void' to parameterless function declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/tech/libao2.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/DOCS/tech/libao2.txt b/DOCS/tech/libao2.txt
index e2a530050d..ba8317e056 100644
--- a/DOCS/tech/libao2.txt
+++ b/DOCS/tech/libao2.txt
@@ -12,16 +12,16 @@ static int init(int rate,int channels,int format,int flags);
Sample format: usually AFMT_S16_LE or AFMT_U8, for more definitions see
dec_audio.c and linux/soundcards.h files!
-static void uninit();
+static void uninit(void);
Guess what.
Ok I help: closes the device, not (yet) called when exit.
-static void reset();
+static void reset(void);
Resets device. To be exact, it's for deleting buffers' contents,
so after reset() the previously received stuff won't be output.
(called if pause or seek)
-static int get_space();
+static int get_space(void);
Returns how many bytes can be written into the audio buffer without
blocking (making caller process wait). MPlayer occasionally checks the
remaining space and tries to fill the buffer with play() if there's free
@@ -41,7 +41,7 @@ static int play(void* data,int len,int flags);
rounded down to 0 or the data will never be played (as MPlayer will never
call play() with a larger len).
-static float get_delay();
+static float get_delay(void);
Returns how long time it will take to play the data currently in the
output buffer. Be exact, if possible, since the whole timing depends
on this! In the worst case, return the maximum delay.