changeset 34755:1ce66378ae1e

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.
author reimar
date Fri, 06 Apr 2012 21:26:02 +0000
parents 9d4720deada1
children df3ff52039fe
files libao2/audio_out.h libao2/audio_out_internal.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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 */