qemu-e2k/hw/audio
Gerd Hoffmann d58ce68a45 intel-hda: fix position buffer
Fix position buffer updates to use the correct stream offset.

Without this patch both IN (record) and OUT (playback) streams
will update the IN buffer positions.  The linux kernel notices
and complains:
  hda-intel: Invalid position buffer, using LPIB read method instead.

The bug may also lead to glitches when recording and playing
at the same time:
  https://bugzilla.redhat.com/show_bug.cgi?id=947785

Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2013-12-09 09:19:26 +01:00
..
Makefile.objs audio: replace audio card configuration with default-configs 2013-04-29 12:16:37 -05:00
ac97.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
adlib.c adlib: fix patching of port I/O addresses 2013-12-09 09:19:26 +01:00
cs4231.c cs4231: QOM cast cleanup 2013-07-29 20:45:48 +02:00
cs4231a.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
es1370.c hw: set interrupts using pci irq wrappers 2013-10-14 17:11:45 +03:00
fmopl.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
fmopl.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gus.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
gusemu.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gusemu_hal.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gusemu_mixer.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
gustate.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
hda-codec-common.h hda-codec: make mixemu selectable at runtime 2013-09-24 10:29:34 +02:00
hda-codec.c audio: remove CONFIG_MIXEMU configure option 2013-09-24 10:29:34 +02:00
intel-hda-defs.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
intel-hda.c intel-hda: fix position buffer 2013-12-09 09:19:26 +01:00
intel-hda.h intel-hda: Pass size to hda_codec_bus_init() 2013-08-30 20:14:38 +02:00
lm4549.c hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
lm4549.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
marvell_88w8618.c audio/marvell_88w8618: QOM cast cleanup 2013-07-29 21:05:47 +02:00
milkymist-ac97.c milkymist-ac97: QOM cast cleanup 2013-07-29 21:05:58 +02:00
pcspk.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
pl041.c pl041: QOM cast cleanup 2013-07-29 21:05:58 +02:00
pl041.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
pl041.hx hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
sb16.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
wm8750.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00