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: Volker Rümelin
Subject: Re: Emulate pc speaker in QEMU on MacBook Pro?
Date: Thu, 8 Oct 2020 20:01:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

Hi Will,

>>>
>>> <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

I expected you have working audio playback with these qemu command line 
arguments. To exclude a problem with your guest please run 'Day 1 - F-Bird' 
from the QEMU Advent Calendar 2018. I know this program uses the pc speaker.

>>>
>>> Thanks,
>>> Zoltan
>> Hi Zoltan,
>>
>> Thanks for the hint. I tried it and I didn't get any error, but I also don't 
>> get any speaker sounds. How do I troubleshoot. I've got the monitor open and 
>> I don't see any errors. Is coreaudio something native to my mac, or 
>> something I need to install/configure and is audio0 the usual default 
>> device? Sorry if this sounds newbieish.
>>
>> Thanks,
>>
>> Will
> I spoke to soon. As soon as I quit the monitor, an error was displayed:
>
> coreaudio: Could not lock voice for audioDeviceIOProc
> Reason: Invalid argument

Did this error message appear after you typed quit in the monitor? Then it's a 
bug in the qemu coreaudio shutdown routine and you can ignore this message.

With best regards,
Volker



reply via email to

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