qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emulate pc speaker in QEMU on MacBook Pro?


From: Zoltán Kővágó
Subject: Re: Emulate pc speaker in QEMU on MacBook Pro?
Date: Wed, 7 Oct 2020 10:52:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:4.6) Goanna/20200704 Interlink/52.9.7463

Hello,

On 2020-10-07 06:43, Philippe Mathieu-Daudé wrote:
Cc'ing other developers.

On 10/7/20 4:32 AM, Will Senn wrote:
I see this, in the manual:

The PC speaker audio device can be configured using the pcspk-audiodev
machine property, i.e.

qemu_system-x86_64 some.img -audiodev <https://www.mankier.com/1/qemu#-audiodev> 
<backend>,id=<name> -machine <https://www.mankier.com/1/qemu#-machine> 
pcspk-audiodev=<name>


I'm on a macbook pro, what <backend> do I need to specify, and what is
<name> supposed to be for id and pcspk-audiodev in order to get the pc
speaker sounds of my dos 2.10 instance to be audible on my mac? I could
find ANY explanation of what these values might be...

<name> is anything (it's an identifier in case you want to have multiple audiodevs). For backend you probably want to use `coreaudio` on a Mac (sdl might be available too, I'm not sure, see the list under the -audiodev option). So something like this:

    -audiodev coreaudio,id=audio0 -machine pcspk-audiodev=audio0

Thanks,
Zoltan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]