Statistics
| Branch: | Revision:

root / audio / paaudio.c @ a74cdab4

History | View | Annotate | Download (11.6 kB)

# Date Author Comment
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...

00e07679 01/12/2011 05:36 pm Michael Walle

audio: split sample conversion and volume mixing

Refactor the volume mixing, so it can be reused for capturing devices.
Additionally, it removes superfluous multiplications with the nominal
volume within the hardware voice code path.

Signed-off-by: Michael Walle <>...

fd5723b3 09/29/2010 07:24 am Wu Fengguang

pulse-audio: fix bug on updating rpos

Fix a rpos coordination bug between qpa_run_out() and qpa_thread_out(),
which shows up as playback noises.

qpa_run_out()
qpa_thread_out loop N critical section 1
qpa_run_out() qpa_thread_out loop N doing pa_simple_write()...
1a4ea1e3 10/13/2009 05:14 pm Michael S. Tsirkin

qemu: allow pulseaudio to be the default

We're seeing various issues with the SDL audio backend and want to
switch to the pulseaudio backend. See e.g.

https://bugzilla.redhat.com/495964
https://bugzilla.redhat.com/519540
https://bugzilla.redhat.com/496627...
bdff253c 09/18/2009 01:04 pm malc

audio: internal API change

pcm_ops.run_out now takes number of live samples (which will be always
greater than zero) as a second argument, every driver was calling
audio_pcm_hw_get_live_out anyway with exception of fmod which used
audio_pcm_hw_get_live_out2 for no good reason....

1dd3e4d1 08/11/2009 07:51 pm Juan Quintela

use C99 initializers for audio_pcm_ops

Signed-off-by: Juan Quintela <>

1a40d5e2 08/11/2009 07:51 pm Juan Quintela

use C99 initializers for all audio/*

Signed-off-by: Juan Quintela <>

98f9f48c 08/11/2009 07:51 pm malc

Aesthetics

Reformat to make item borders more visible
Fix cases of stray tabs and vertical misalignments

Signed-off-by: malc <>

bee37f32 08/11/2009 07:51 pm Juan Quintela

Use proper struct initializers and remove INIT_FIELD() macro

Signed-off-by: Juan Quintela <>

2700efa3 08/11/2009 07:51 pm Juan Quintela

Use C99 initializers for audio_option

Signed-off-by: Juan Quintela <>

5d928867 06/19/2009 01:46 am Jean-Christophe Dubois

fix qemu_alloc/qemu_free for audio subsystem

Signed-off-by: Jean-Christophe DUBOIS <>

1ea879e5 12/04/2008 12:48 am malc

Make audio violate POSIX less

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5864 c046a42c-6fe2-441c-8c8c-71466251a162

35f4b58c 10/06/2008 09:08 pm blueswir1

Prepare for changing audio_pcm_ops dynamically (partially revert r5422)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5435 c046a42c-6fe2-441c-8c8c-71466251a162

8869defe 10/05/2008 01:01 pm blueswir1

Make audio_pcm_opsstatic const

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5422 c046a42c-6fe2-441c-8c8c-71466251a162

b8e59f18 07/03/2008 12:03 am malc

Pulseaudio driver

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4827 c046a42c-6fe2-441c-8c8c-71466251a162