All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darryl Dixon <esrever_otua@pythonhacker.is-a-geek.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Audio
Date: Fri, 13 Aug 2004 17:05:14 +1200	[thread overview]
Message-ID: <1092373513.14724.70.camel@unixadmindazfc2.chh.co.nz> (raw)
In-Reply-To: <1092372832.14724.67.camel@unixadmindazfc2.chh.co.nz>


[-- Attachment #1.1: Type: text/plain, Size: 4899 bytes --]

Malc,

    Definitely seems to be something wrong with my setup; with
QEMU_AUDIO_DRV set to either oss or sdl I get no output, but if it's set
to wav the qemu.wav file is generated correctly and upon playback
contains the correct sounds...

Cheers,
D




On Fri, 2004-08-13 at 16:53, Darryl Dixon wrote:

> 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: 
> 
> > Applying 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 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
> > Qemu-devel@nongnu.org
> > http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 
> 
> 
> Darryl Dixon (RHCE, MCSE, MCSA) 
> 
> Unix Systems Administrator
> 
> Oxygen Business Solutions 
> 
> Phone + 64 9 633 0589 
> 
> Mobile + 64 272 839 038 
> 
> www.oxygenforbusiness.com
> 
> 
> 
>                
> 
> 
> ______________________________________________________________________
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

-- 
Darryl Dixon <esrever_otua@pythonhacker.is-a-geek.net>

[-- Attachment #1.2: Type: text/html, Size: 7088 bytes --]

[-- Attachment #2: MCSA-RGB_sig.jpg --]
[-- Type: image/jpeg, Size: 3167 bytes --]

[-- Attachment #3: MCSE-RGB_sig.jpg --]
[-- Type: image/jpeg, Size: 3510 bytes --]

[-- Attachment #4: red_hat_cert_eng_logo-clr_sig.jpg --]
[-- Type: image/jpeg, Size: 2836 bytes --]

  reply	other threads:[~2004-08-13  5:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-12 15:43 [Qemu-devel] Audio malc
2004-08-12 21:33 ` Joe Menola
2004-08-13  4:53   ` Darryl Dixon
2004-08-13  5:05     ` Darryl Dixon [this message]
2004-08-13  9:07       ` Darryl Dixon
2004-08-13 12:44         ` Natalia Portillo
  -- strict thread matches above, loose matches on Subject: below --
2009-09-11 23:34 malc
2007-02-11  4:19 malc
2007-02-17 23:00 ` Thiemo Seufer
2006-04-07 23:00 malc
2005-10-14 21:41 malc
2005-08-20 19:50 malc
2005-08-21  7:23 ` Sylvain Petreolle
2005-08-21 10:21   ` malc
2004-11-05 18:47 malc
     [not found] <Pine.LNX.4.55.0410311815320.2162@home.oyster.ru>
     [not found] ` <4185ADFA.7010102@brittainweb.org>
2004-11-01 12:06   ` malc
2004-11-04 17:14     ` Jason Brittain
2004-11-04 19:50       ` malc
2004-11-01 12:27   ` malc
2004-06-20 17:51 malc
2004-06-20 22:06 ` Chad Page
2004-06-22  5:29 ` kazu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1092373513.14724.70.camel@unixadmindazfc2.chh.co.nz \
    --to=esrever_otua@pythonhacker.is-a-geek.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.