[MPlayer-cvslog] r34843 - in trunk/libao2: audio_out.h audio_out_internal.h

reimar subversion at mplayerhq.hu
Fri Apr 6 23:26:02 CEST 2012


Author: reimar
Date: Fri Apr  6 23:26:02 2012
New Revision: 34843

Log:
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.

Modified:
   trunk/libao2/audio_out.h
   trunk/libao2/audio_out_internal.h

Modified: trunk/libao2/audio_out.h
==============================================================================
--- trunk/libao2/audio_out.h	Fri Apr  6 00:29:37 2012	(r34842)
+++ trunk/libao2/audio_out.h	Fri Apr  6 23:26:02 2012	(r34843)
@@ -66,6 +66,8 @@ const ao_functions_t* init_best_audio_ou
 // 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

Modified: trunk/libao2/audio_out_internal.h
==============================================================================
--- trunk/libao2/audio_out_internal.h	Fri Apr  6 00:29:37 2012	(r34842)
+++ trunk/libao2/audio_out_internal.h	Fri Apr  6 23:26:02 2012	(r34843)
@@ -45,6 +45,4 @@ static void audio_resume(void);
 	audio_resume\
 };
 
-void mp_ao_resume_refill(const ao_functions_t *ao, int prepause_space);
-
 #endif /* MPLAYER_AUDIO_OUT_INTERNAL_H */


More information about the MPlayer-cvslog mailing list