From: "Jim C. Brown" <jbrown106@phreaker.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Soundwrapper and artsd (fails to share)
Date: Sun, 5 Dec 2004 20:21:47 -0500 [thread overview]
Message-ID: <20041206012147.GA16088@jbrown.mylinuxbox.org> (raw)
In-Reply-To: <41B3AF50.9000603@hermes.cam.ac.uk>
On Mon, Dec 06, 2004 at 01:01:04AM +0000, Richard Neill wrote:
> I did the following tests. In all cases, commands (i) and (ii) are run
> simultaneously in different terminals:
>
> 1)
> (i) play file1.wav
> (ii) play file2.wav
> Result:
> file1.wav plays. When it is finished, file2.wav plays.
>
>
> 2)
> (i) soundwrapper play file1.wav
> (ii) soundwrapper play file2.wav
> Result:
> file1.wav and file2.wav play simultaneously.
>
>
> 3) (i) soundwrapper qemu [qemu options]
> (ii) soundwrapper play file2.wav
>
> Result: qemu's audio is played. file2.wav does not start playing until
> qemu has shut down. In my view, this behaviour is undesirable; it's also
> rather puzzling. After all, to the O.S., qemu is just another
> application, isn't it? So, if soundwrapper can redirect the output of
> play (i.e. the sox binary), why can't it do the same with qemu.
>
> [Info: Host = Linux/KDE/ARTS; guest = WinXP ]
>
This is because qemu accesses the soundcard on a level that artsdsp doesn't
support ... this means that qemu ends up accessing the soundcard directly,
which causes it to by-pass arts completely. (Last I checked, it was because
qemu uses fopen() instead of open().)
You probably have artsd releasing the souncard when it is not in use, otherwise
qemu would just hang forever while waiting for the soundcard to be released
by arts.
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
next prev parent reply other threads:[~2004-12-06 1:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-06 0:02 [Qemu-devel] Soundwrapper and artsd (fails to share) Richard Neill
2004-12-06 0:42 ` malc
2004-12-06 1:01 ` Richard Neill
2004-12-06 1:21 ` Jim C. Brown [this message]
2004-12-06 1:32 ` malc
2004-12-06 1:43 ` Jim C. Brown
2004-12-06 1:13 ` Jim C. Brown
2004-12-06 1:27 ` malc
2004-12-06 1:55 ` Jim C. Brown
2004-12-06 10:34 ` malc
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=20041206012147.GA16088@jbrown.mylinuxbox.org \
--to=jbrown106@phreaker.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.