hda: do not mix output and input stream states, RHBZ #740493
commitba43d28916c4f51c19bd7366089155ce81bee058
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Tue, 25 Oct 2011 14:53:01 +0000 (25 16:53 +0200)
committermalc <av1474@comtv.ru>
Tue, 25 Oct 2011 15:15:20 +0000 (25 19:15 +0400)
tree98db35e780214b86237dd8860c3e92a6a367a1cd
parent36ac4ad3d054a7b4962a6393630a73591cfa9558
hda: do not mix output and input stream states, RHBZ #740493

Windows 7 may use the same stream number for input and output.
Current code will confuse streams.

Changes since v1:
- keep running_compat[] for migration version 1
- add running_real[] for migration version 2

Signed-off-by: Marc-Andr? Lureau <marcandre.lureau@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
hw/hda-audio.c
hw/intel-hda.c
hw/intel-hda.h