diff options
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; |