diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-06 04:30:19 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-06 04:30:19 +0000 |
commit | f50e7ffca93641ade7145b8f8682eddc30a248bb (patch) | |
tree | 528b0f7f4fe55261a8d275d52d3f1a2342d8d318 /libao2/ao_dsound.c | |
parent | 4aa477ef2cfb2973e87e9d0662fe1c4e6946f120 (diff) | |
download | mpv-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_dsound.c')
-rw-r--r-- | libao2/ao_dsound.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libao2/ao_dsound.c b/libao2/ao_dsound.c index 2e374fb722..91357d85d9 100644 --- a/libao2/ao_dsound.c +++ b/libao2/ao_dsound.c @@ -176,7 +176,7 @@ static void UninitDirectSound(void) /** \brief print the commandline help */ -static void print_help() +static void print_help(void) { mp_msg(MSGT_AO, MSGL_FATAL, "\n-ao dsound commandline help:\n" @@ -526,7 +526,7 @@ static int init(int rate, int channels, int format, int flags) /** \brief stop playing and empty buffers (for seeking/pause) */ -static void reset() +static void reset(void) { IDirectSoundBuffer_Stop(hdsbuf); // reset directsound buffer @@ -537,7 +537,7 @@ static void reset() /** \brief stop playing, keep buffers (for pause) */ -static void audio_pause() +static void audio_pause(void) { IDirectSoundBuffer_Stop(hdsbuf); } @@ -545,7 +545,7 @@ static void audio_pause() /** \brief resume playing, after audio_pause() */ -static void audio_resume() +static void audio_resume(void) { IDirectSoundBuffer_Play(hdsbuf, 0, 0, DSBPLAY_LOOPING); } @@ -571,7 +571,7 @@ static void uninit(int immed) \brief find out how many bytes can be written into the audio buffer without \return free space in bytes, has to return 0 if the buffer is almost full */ -static int get_space() +static int get_space(void) { int space; DWORD play_offset; @@ -613,7 +613,7 @@ static int play(void* data, int len, int flags) \brief get the delay between the first and last sample in the buffer \return delay in seconds */ -static float get_delay() +static float get_delay(void) { DWORD play_offset; int space; |