Commit 295e390fff4a8b585bde599b93e97e0f40e55f92
1 parent
8869defe
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
Showing
2 changed files
with
3 additions
and
3 deletions
audio/audio.h
| @@ -170,4 +170,7 @@ uint32_t lsbindex (uint32_t u); | @@ -170,4 +170,7 @@ uint32_t lsbindex (uint32_t u); | ||
| 170 | #define audio_MAX(a, b) ((a)<(b)?(b):(a)) | 170 | #define audio_MAX(a, b) ((a)<(b)?(b):(a)) |
| 171 | #endif | 171 | #endif |
| 172 | 172 | ||
| 173 | +int wav_start_capture (CaptureState *s, const char *path, int freq, | ||
| 174 | + int bits, int nchannels); | ||
| 175 | + | ||
| 173 | #endif /* audio.h */ | 176 | #endif /* audio.h */ |
monitor.c
| @@ -1337,9 +1337,6 @@ static void do_stop_capture (int n) | @@ -1337,9 +1337,6 @@ static void do_stop_capture (int n) | ||
| 1337 | } | 1337 | } |
| 1338 | 1338 | ||
| 1339 | #ifdef HAS_AUDIO | 1339 | #ifdef HAS_AUDIO |
| 1340 | -int wav_start_capture (CaptureState *s, const char *path, int freq, | ||
| 1341 | - int bits, int nchannels); | ||
| 1342 | - | ||
| 1343 | static void do_wav_capture (const char *path, | 1340 | static void do_wav_capture (const char *path, |
| 1344 | int has_freq, int freq, | 1341 | int has_freq, int freq, |
| 1345 | int has_bits, int bits, | 1342 | int has_bits, int bits, |