Bug#868499: osmose-emulator: No sound

James Cowgill jcowgill at debian.org
Sun Jul 16 12:03:46 UTC 2017


Control: tags -1 patch upstream

Hi,

On 16/07/17 07:14, Diogo Martins Silva wrote:
> Package: osmose-emulator
> Version: 1.0-4
> Severity: important
> 
> Dear Maintainer,
> 
> Emulator correctly plays games, except with no sound.
> 
> Relevant Log entry:
> 
>         cannot open audio device : plughw:0,0No such file or
> directory
> 
> I don't use plugged in sound card, just a regular laptop hardware sound card.

The attached patch might work by switching the ALSA device to "default".
Could you rebuild osmose-emulator and test it?

In this context "plughw:0,0" refers to passing the sound to the first
soundcard on the first device, after doing any necessary rate
conversion. This is bad because:
- It hardcodes the device (which as you found, may not even exist)
- It is incompatible with PulseAudio

Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default-alsa-device.patch
Type: text/x-patch
Size: 511 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20170716/9cfc0e0a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20170716/9cfc0e0a/attachment.sig>


More information about the Pkg-games-devel mailing list