Statistics
| Branch: | Revision:

root / audio @ 640e5404

Name Size
alsaaudio.c 32.5 kB
audio.c 50.8 kB
audio.h 4.9 kB
audio_int.h 7 kB
audio_pt_int.c 3.9 kB
audio_pt_int.h 681 Bytes
audio_template.h 13.1 kB
audio_win_int.c 2.3 kB
audio_win_int.h 308 Bytes
coreaudio.c 15.3 kB
dsound_template.h 7.1 kB
dsoundaudio.c 25.2 kB
esdaudio.c 13.4 kB
fmodaudio.c 17 kB
mixeng.c 9 kB
mixeng.h 2.2 kB
mixeng_template.h 3.8 kB
noaudio.c 4.6 kB
ossaudio.c 23.9 kB
paaudio.c 11.6 kB
rate_template.h 3.2 kB
sdlaudio.c 10.4 kB
spiceaudio.c 9 kB
wavaudio.c 6.9 kB
wavcapture.c 3.8 kB
winwaveaudio.c 17.4 kB

Latest revisions

# Date Author Comment
744d3644 06/23/2011 05:56 pm Andreas Färber

coreaudio: Fix OSStatus format specifier

OSStatus type is defined as SInt32. That's signed int on LP64 and
signed long otherwise.
Since it is an explicit 32-bit-width type, cast to corresponsing POSIX type
and use PRId32 format specifier. This avoids a warning on ppc64....

cbc36cb0 06/23/2011 05:56 pm Andreas Färber

coreaudio: Avoid formatting UInt32 type

coreaudioVoiceOut's audioDevicePropertyBufferFrameSize is defined as UInt32
and is being used by reference for AudioDevice{Get,Set}Property().
UInt32 is unsigned int on LP64 but unsigned long otherwise.

Cast to POSIX type and use PRIu32 format specifier to hide the details....

d9cbb0f3 06/14/2011 04:08 am Alexandre Raymond

Fix compilation warning due to incorrectly specified type

In audio/coreaudio.c, a variable named "str" was assigned "const char" values,
which resulted in the following warnings:

-----8<-----
audio/coreaudio.c: In function ‘coreaudio_logstatus’:
audio/coreaudio.c:59: warning: initialization discards qualifiers from pointer target type...

9bf0960a 06/08/2011 11:04 am Alexandre Raymond

Fix compilation warning due to missing header for sigaction (followup)

This patch removes all references to signal.h when qemu-common.h is included
as they become redundant.

Signed-off-by: Alexandre Raymond <>
Signed-off-by: Stefan Hajnoczi <>

578c7b2c 05/31/2011 11:14 pm Juha Riihim?ki

audio: fix integer overflow expression

Fix an integer overflow that can happen for signed 32 bit types
when using FLOAT_MIXENG. (Note that at the moment this is only true
when using the MacOSX coreaudio audio driver.)

Signed-off-by: Juha Riihim?ki <>...

4ff9786c 04/03/2011 10:42 pm Stefan Weil

Fix trivial "endianness bugs"

Replace endianess -> endianness.

Signed-off-by: Stefan Weil <>
Signed-off-by: Aurelien Jarno <>

74475455 03/21/2011 10:23 am Paolo Bonzini

change all other clock references to use nanosecond resolution accessors

This was done with:

sed -i 's/qemu_get_clock\>/qemu_get_clock_ns/' \
$(git grep -l 'qemu_get_clock\>' )
sed -i 's/qemu_new_timer\>/qemu_new_timer_ns/' \
$(git grep -l 'qemu_new_timer\>' )...
bf1064b5 01/25/2011 06:56 pm Gerd Hoffmann

pulseaudio: tweak config

Zap unused divisor field.
Raise the buffer size default.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: malc <>

e6d16fa4 01/25/2011 06:56 pm Gerd Hoffmann

pulseaudio: setup buffer attrs

Request reasonable buffer sizes from pulseaudio. Without this
pa_simple_write() can block quite long and lead to dropouts,
especially with guests which use small audio ring buffers.

Signed-off-by: Gerd Hoffmann <>...

6315633b 01/25/2011 06:56 pm Gerd Hoffmann

pulseaudio: process 1/4 buffer max at once

Limit the size of data pieces processed by the pulseaudio worker
threads. Never ever process more than 1/4 of the buffer at once.

Background: The buffer area currently processed by the pulseaudio thread
is blocked, i.e. the main thread (or iothread) can't fill in more data...

View revisions

Also available in: Atom