提交 295e390f 编写于 作者: B blueswir1

Move wav_start_capture prototype to avoid a warning with -Wmissing-prototypes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5423 c046a42c-6fe2-441c-8c8c-71466251a162
上级 8869defe
...@@ -170,4 +170,7 @@ uint32_t lsbindex (uint32_t u); ...@@ -170,4 +170,7 @@ uint32_t lsbindex (uint32_t u);
#define audio_MAX(a, b) ((a)<(b)?(b):(a)) #define audio_MAX(a, b) ((a)<(b)?(b):(a))
#endif #endif
int wav_start_capture (CaptureState *s, const char *path, int freq,
int bits, int nchannels);
#endif /* audio.h */ #endif /* audio.h */
...@@ -1337,9 +1337,6 @@ static void do_stop_capture (int n) ...@@ -1337,9 +1337,6 @@ static void do_stop_capture (int n)
} }
#ifdef HAS_AUDIO #ifdef HAS_AUDIO
int wav_start_capture (CaptureState *s, const char *path, int freq,
int bits, int nchannels);
static void do_wav_capture (const char *path, static void do_wav_capture (const char *path,
int has_freq, int freq, int has_freq, int freq,
int has_bits, int bits, int has_bits, int bits,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册