diff --git a/audio/audio.h b/audio/audio.h index ae29b8a63c..4b0e7a3a88 100644 --- a/audio/audio.h +++ b/audio/audio.h @@ -170,4 +170,7 @@ uint32_t lsbindex (uint32_t u); #define audio_MAX(a, b) ((a)<(b)?(b):(a)) #endif +int wav_start_capture (CaptureState *s, const char *path, int freq, + int bits, int nchannels); + #endif /* audio.h */ diff --git a/monitor.c b/monitor.c index 038b2f9e4f..4f51eccdca 100644 --- a/monitor.c +++ b/monitor.c @@ -1337,9 +1337,6 @@ static void do_stop_capture (int n) } #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, int has_freq, int freq, int has_bits, int bits,