Linux No Audio - Emulator - XBMC Frodo RC3 - Higanv092
#1

  1. OS: Lubuntu 12.10
  2. XBMC Version: Frodo RC3
  3. Install method: apt-get from default Lubuntu Repos
  4. Emulator: Higan (formerly bsnes) v092 from byuu.org

I am using the RomCollection add-on to run all my NES/SNES/GBA roms. Everything works perfectly except audio in the emulator.

If I close XBMC and then the emulator has sound and works perfectly.

I have done a bunch of research, and most solutions involve adding the following asoundrc file to the $HOME directory. I have tried with and without this file, the result is the same.
.asoundrc:

Code:
pcm.dmixer {
   type dmix
   ipc_key 1024
   ipc_key_add_uid false
   ipc_perm 0660
   slave {
      pcm "hw:0,0"
      rate 48000
      channels 2
      format S32_LE
      period_time 0
      period_size 1024
      buffer_time 0
      buffer_size 4096
   }
}

pcm.!default {
   type plug
   slave.pcm "dmixer"
}

aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

If I start up XBMC, and then call the emulator manually from terminal, this is the error it gives:

Code:
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
Reply
#2
see the end of this thread: http://forum.xbmc.org/showthread.php?tid=152866
Reply
#3
Quote:there is a new PR up that at least allows for releasing audio for external players, lets see if it works out.

First of all, thank you for the quick response.

Secondly, pardon my ignorance, what's PR? A daily build?
Reply
#4
Pull Request, its how github handles proposed patches. Every developer can submit patches to our git repository that way. After positive review it gets merged into the xbmc code base.
Reply

Logout Mark Read Team Forum Stats Members Help
No Audio - Emulator - XBMC Frodo RC3 - Higanv0920