# HG changeset patch # User reimar # Date 1333747562 0 # Node ID 1ce66378ae1ea9b82a50245c24b8221c3e32b70c # Parent 9d4720deada16da2c4cc9635bd7e03c9fef0f316 Move mp_ao_resume_refill to audio_out.h to avoid compiler warning about missing prototype in audio_out.c. Including audio_out_internal.h is not an option since that causes warnings about "play" etc. functions being declared but not defined. diff -r 9d4720deada1 -r 1ce66378ae1e libao2/audio_out.h --- a/libao2/audio_out.h Thu Apr 05 22:29:37 2012 +0000 +++ b/libao2/audio_out.h Fri Apr 06 21:26:02 2012 +0000 @@ -66,6 +66,8 @@ // NULL terminated array of all drivers extern const ao_functions_t* const audio_out_drivers[]; +void mp_ao_resume_refill(const ao_functions_t *ao, int prepause_space); + #define CONTROL_OK 1 #define CONTROL_TRUE 1 #define CONTROL_FALSE 0 diff -r 9d4720deada1 -r 1ce66378ae1e libao2/audio_out_internal.h --- a/libao2/audio_out_internal.h Thu Apr 05 22:29:37 2012 +0000 +++ b/libao2/audio_out_internal.h Fri Apr 06 21:26:02 2012 +0000 @@ -45,6 +45,4 @@ audio_resume\ }; -void mp_ao_resume_refill(const ao_functions_t *ao, int prepause_space); - #endif /* MPLAYER_AUDIO_OUT_INTERNAL_H */