|
From: | Darryl Dixon |
Subject: | Re: [Qemu-devel] Audio |
Date: | Fri, 13 Aug 2004 17:05:14 +1200 |
Hi Malc,
No luck for me; Win98 guest 'sees' the card OK now (patch applied to latest snapshot) but no sound arrives on the host from the act of playing a sound in the guest :( Perhaps something odd on my setup? As a side note, applying the patch appears to break the compile for the ppc target in ppc-softmmu/:
g++ -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/opt/src/qemu-snapshot-2004-08-12_23/target-ppc -I/opt/src/qemu-snapshot-2004-08-12_23 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/opt/src/qemu-snapshot-2004-08-12_23/slirp -c -o mixeng.o /opt/src/qemu-snapshot-2004-08-12_23/mixeng.cc
In file included from /opt/src/qemu-snapshot-2004-08-12_23/vl.h:71,
from /opt/src/qemu-snapshot-2004-08-12_23/mixeng.cc:29:
/opt/src/qemu-snapshot-2004-08-12_23/target-ppc/cpu.h: In function `int32_t
s_ext8(unsigned char)':
/opt/src/qemu-snapshot-2004-08-12_23/target-ppc/cpu.h:33: error: invalid
conversion from `uint8_t*' to `int8_t*'
/opt/src/qemu-snapshot-2004-08-12_23/target-ppc/cpu.h: In function `int32_t
s_ext16(short unsigned int)':
/opt/src/qemu-snapshot-2004-08-12_23/target-ppc/cpu.h:41: error: invalid
conversion from `uint16_t*' to `int16_t*'
In file included from /opt/src/qemu-snapshot-2004-08-12_23/target-ppc/cpu.h:213,
from /opt/src/qemu-snapshot-2004-08-12_23/vl.h:71,
from /opt/src/qemu-snapshot-2004-08-12_23/mixeng.cc:29:
/opt/src/qemu-snapshot-2004-08-12_23/cpu-all.h: In function `uint64_t
ldq_raw(void*)':
/opt/src/qemu-snapshot-2004-08-12_23/cpu-all.h:355: error: pointer of type
`void *' used in arithmetic
/opt/src/qemu-snapshot-2004-08-12_23/cpu-all.h: In function `void
stq_raw(void*, long long unsigned int)':
/opt/src/qemu-snapshot-2004-08-12_23/cpu-all.h:392: error: pointer of type
`void *' used in arithmetic
/opt/src/qemu-snapshot-2004-08-12_23/cpu-all.h: In function `double
ldfq_raw(void*)':
/opt/src/qemu-snapshot-2004-08-12_23/cpu-all.h:421: error: pointer of type
`void *' used in arithmetic
/opt/src/qemu-snapshot-2004-08-12_23/cpu-all.h: In function `void
stfq_raw(void*, double)':
/opt/src/qemu-snapshot-2004-08-12_23/cpu-all.h:430: error: pointer of type
`void *' used in arithmetic
/opt/src/qemu-snapshot-2004-08-12_23/mixeng.cc: In function `void*
st_rate_start(int, int)':
/opt/src/qemu-snapshot-2004-08-12_23/mixeng.cc:224: warning: unused variable `
uint32_t incr'
/opt/src/qemu-snapshot-2004-08-12_23/mixeng.cc: In function `void
st_rate_flow(void*, st_sample_t*, st_sample_t*, int*, int*)':
/opt/src/qemu-snapshot-2004-08-12_23/mixeng.cc:261: warning: unused variable `
uint32_t tmp'
make[1]: *** [mixeng.o] Error 1
make[1]: Leaving directory `/opt/src/qemu-snapshot-2004-08-12_23/ppc-softmmu'
make: *** [all] Error 1
Thanks heaps for all your hard work,
D
On Fri, 2004-08-13 at 09:33, Joe Menola wrote:http://www.boblycat.org/~malc/code/patches/qemu/ you will find > latest(7th) audio patch. > > If you are using Win98 guest make sure that 16bit DMA for SoundBlaster is > set to 5. > > There might be regressions since code was changed heavily to accomodate > different/multiple sound cards (none are included in this patch, hopefully > that would change soon) > > Three backends are included, they can be selected via environment > variable, i.e.: > > QEMU_AUDIO_DRV=oss|sdl|wav > > WAV driver will produce `qemu.wav' in current working directory. _______________________________________________ Qemu-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/qemu-develApplying this patch and manually setting Win98 DMA to 5 has my sound worrking in both 98 and XP. Thanks a heap for your efforts, Malc. -jm On Thu August 12 2004 10:43 am, malc wrote: > Hello, > > At
|
_______________________________________________ Qemu-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/qemu-devel
-- Darryl Dixon <address@hidden> |
[Prev in Thread] | Current Thread | [Next in Thread] |