Hello,
This is my next set of audio patches. This series makes it possible to use
multiple audio backends in a single qemu instance, and contains a few random
cleanup/fix patches.
Regards,
Zoltan
Kővágó, Zoltán (11):
audio: reduce glob_audio_state usage
audio: basic support for multi
Unless we disable stream moving, pulseaudio can easily move the stream
on connect, effectively ignoring the source/sink specified by the user.
Signed-off-by: Kővágó, Zoltán
---
audio/paaudio.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/audio/paaudio.c b/audio/paaudio.c
index
There's already a MIN and MAX macro in include/qemu/osdep.h, use them
instead.
Signed-off-by: Kővágó, Zoltán
---
audio/audio.h | 17 -
audio/alsaaudio.c | 6 +++---
audio/audio.c | 20 ++--
audio/coreaudio.c | 2 +-
audio
Which currently only means removing some checks. Old code won't require
more than two channels, but new code will need it.
Signed-off-by: Kővágó, Zoltán
---
audio/alsaaudio.c | 7 ---
audio/audio.c | 2 +-
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/audio/alsaaudio.c
rod % USBAUDIO_PACKET_SIZE(channels)
assertion no longer holds true, which will result in overflowing the
buffer. With 64 bit variables, it would take about 762000 years to
overflow.
Signed-off-by: Kővágó, Zoltán
---
hw/usb/dev-audio.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
d
Signed-off-by: Kővágó, Zoltán
---
audio/audio.c | 30 ++
audio/audio.h | 10 ++
audio/audio_int.h | 4 ++--
audio/paaudio.c| 20
audio/spiceaudio.c | 14 --
5 files changed, 54 insertions(+), 24 deletions
The bit shifting trick worked because the number of bytes per frame was
always a power-of-two (since QEMU only supports mono, stereo and 8, 16
and 32 bit samples). But if we want to add support for surround sound,
this no longer holds true.
Signed-off-by: Kővágó, Zoltán
---
audio/alsaaudio.c
://wiki.qemu.org/Internships/ProjectIdeas/AudioGStreamer
Signed-off-by: Kővágó, Zoltán
---
Notes:
Changes from v1:
* renamed mixeng to mixing-engine
Changes from v5:
* better documentation
Changes from v1:
* renamed mixeng to mixing-engine
qapi/audio.json | 6
This lets us avoid some buffer copying when using mixeng.
Signed-off-by: Kővágó, Zoltán
---
audio/paaudio.c | 83 +
1 file changed, 83 insertions(+)
diff --git a/audio/paaudio.c b/audio/paaudio.c
index ed31f863f7..6ccdf31415 100644
--- a/audio
Implementation of the previously added mixing-engine option.
Signed-off-by: Kővágó, Zoltán
---
Notes:
Changes from v4:
* audio_pcm_hw_add_* always returns a new HW (or fails) when not using
mixeng
audio/audio.c | 70 ++
audio
Hi,
I've updated my mixeng-free patches. This time it's only documentation
fixes in the first patch, otherwise it's identical to v5.
Regards,
Zoltan
Kővágó, Zoltán (10):
audio: add mixing-engine option (documentation)
audio: make mixeng optional
paaudio: get/put_buffer functions
audio
device that supports 5.1 and 7.1
audio.
Signed-off-by: Kővágó, Zoltán
---
Notes:
According to the spec the channel order is front left, front right,
center, lfe, surround left, surround right for 5.1 sound. But alsa uses
front left, front right, surround left, surround right, center
Signed-off-by: Kővágó, Zoltán
---
audio/paaudio.c | 50 -
1 file changed, 45 insertions(+), 5 deletions(-)
diff --git a/audio/paaudio.c b/audio/paaudio.c
index d195b1caa8..6ff0d17537 100644
--- a/audio/paaudio.c
+++ b/audio/paaudio.c
@@ -338,17
This assumption is no longer true when mixeng is turned off.
Signed-off-by: Kővágó, Zoltán
---
hw/usb/dev-audio.c | 28 +---
1 file changed, 17 insertions(+), 11 deletions(-)
diff --git a/hw/usb/dev-audio.c b/hw/usb/dev-audio.c
index ae42e5a2f1..74c99b1f12 100644
This adds proper support for float samples in mixeng by adding a new
audio format for it.
Limitations: only native endianness is supported.
Signed-off-by: Kővágó, Zoltán
---
This patch is meant to be applied on top of "[PATCH] coreaudio: fix coreaudio
playback" by Volker Rümelin,
Windows (unlike wine) bails out when IDirectSoundBuffer8::Lock is called
with zero length. Also, hw->pos_emul handling was incorrect when
calling this function for the first time.
Signed-off-by: Kővágó, Zoltán
Reported-by: KJ Liew
---
I've tested this patch on wine and a borrowed Windows
601 - 616 of 616 matches
Mail list logo