qemu-discuss
[Top][All Lists]
Advanced

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

Re: ALSA errors?


From: Izak van Langevelde
Subject: Re: ALSA errors?
Date: Mon, 11 Oct 2021 21:32:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0


On 21/03/2021 19:05, Volker RĂ¼melin wrote:
Dear Volker,

On 20/03/2021 19:41, Volker RĂ¼melin wrote:
do you still need help with this issue? I think I can reproduce the error. It's a alsa-lib configuration problem.

Yes, I still need help!

On my system I see errors similar to yours, if I start qemu as a different user than my currently logged in user. To hear audio with ALSA I specify the audio device to use on the command line. Here is an example for my system:

-audiodev alsa,id=audio0,out.period-length=5000,out.dev=hw:1,,0,in.period-length=5000,in.dev=hw:1,,0

The first number after hw: is the card number and the second the device number. To list your audio devices use aplay -l and arecord -l. Please note the doubled ,, to pass a single , to alsa-lib.

Well, it's been a while, but I finally found time and need to sort this out. Sound isn't working yet, but I can start my virtual machine, which is all I need for now.

Thanks!
Izak

--
Grinnikend door het leven...




reply via email to

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