qemu/audio
Stefan Weil e5924d8980 Replace most gcc format attributes by macro GCC_FMT_ATTR (format checking)
Since version 4.4.x, gcc supports additional format attributes.
    __attribute__ ((format (gnu_printf, 1, 2)))
should be used instead of
    __attribute__ ((format (printf, 1, 2))
because QEMU always uses standard format strings (even with mingw32).

The patch replaces format attribute printf / __printf__ by macro
GCC_FMT_ATTR which uses gnu_printf if supported.

It also removes an #ifdef __GNUC__ (not needed any longer).

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2010-10-03 06:34:36 +00:00
..
alsaaudio.c audio/alsa: Avoid snd_pcm_format_t vs audfmt_e mixup 2010-04-21 15:40:23 +04:00
audio.c savevm: Add DeviceState param 2010-07-06 10:36:28 -05:00
audio.h Replace most gcc format attributes by macro GCC_FMT_ATTR (format checking) 2010-10-03 06:34:36 +00:00
audio_int.h Move macros GCC_ATTR and GCC_FMT_ATTR to common header file 2010-09-22 20:15:11 +00:00
audio_pt_int.c audio: make audio_pt_init block all signals 2010-08-06 13:15:22 +04:00
audio_pt_int.h pthreads-based audio and miscellaneous audio clean-up (malc). 2008-01-14 04:24:29 +00:00
audio_template.h audio: Fix memory size for resampling buffer in DAC case 2010-09-28 08:56:59 +04:00
audio_win_int.c Windows Waveform Audio driver (no ADC support yet) 2009-10-10 01:18:24 +04:00
audio_win_int.h Windows Waveform Audio driver (no ADC support yet) 2009-10-10 01:18:24 +04:00
coreaudio.c audio: internal API change 2009-09-18 14:04:36 +04:00
dsound_template.h Fix NAME2/FIELD2 warnings 2009-01-22 22:09:55 +00:00
dsoundaudio.c Windows Waveform Audio driver (no ADC support yet) 2009-10-10 01:18:24 +04:00
esdaudio.c audio: make audio_pt_init block all signals 2010-08-06 13:15:22 +04:00
fmodaudio.c audio: internal API change 2009-09-18 14:04:36 +04:00
mixeng.c audio: fix comment 2010-03-11 18:28:44 +03:00
mixeng.h coreaudio: fix sloppy "posixification" by 1ea879e558 2009-09-18 14:04:36 +04:00
mixeng_template.h Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
noaudio.c audio: internal API change 2009-09-18 14:04:36 +04:00
ossaudio.c Workaround for broken OSS_GETVERSION on FreeBSD, part two 2010-01-13 01:59:03 +03:00
paaudio.c pulse-audio: fix bug on updating rpos 2010-09-29 08:24:14 +04:00
rate_template.h Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
sdlaudio.c audio/sdl: return on error 2010-08-07 20:04:24 +04:00
wavaudio.c audio: internal API change 2009-09-18 14:04:36 +04:00
wavcapture.c Remove any pretense that there can be more than one AudioState 2009-05-14 03:20:43 +04:00
winwaveaudio.c winwave: ADC support 2009-10-15 10:43:45 +04:00