Vero is OSMC's new flagship device. Find out more here.

Post Reply 
 
Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Alpha] usb sound cards support for raspbmc
11-22-2012, 01:23 AM (This post was last modified: 11-30-2012 12:37 AM by s7mx1.)
Post: #194
RE: [Alpha] usb sound cards support for raspbmc
This post is outdated now. Please check the first post for updated info.

http://forum.stmlabs.com/showthread.php?tid=1052

======================================

Here is the long overdued update. I have only tested audio addon which works great. It should work with audio files/addon and gui sounds. On my test with 22.05KHz sample rate audio usb speakers the CPU load is around 50% with TuneIn radio playing LBC.

I am expecting a lot audio sync problems during video playback and I will address it a bit later.

Passthrough within xbmc is still not great so bear this in mind.

Upgrade procedure:

Code:
cd /home/pi
mkdir -p /home/pi/.upgrade/xbmc-rbp-pulseaudio-20121121
wget http://db.tt/wddpEuou -O /tmp/xbmc-rbp-pulseaudio-hardfp-20121121.tar.gz
tar xzf /tmp/xbmc-rbp-pulseaudio-hardfp-20121121.tar.gz -C /home/pi/.upgrade/xbmc-rbp-pulseaudio-20121121
rm /home/pi/.xbmc-current
ln -s /home/pi/.upgrade/xbmc-rbp-pulseaudio-20121121/xbmc-bcm /home/pi/.xbmc-current
sudo cp -a /opt/xbmc-bcm/xbmc-bin/lib/xbmc/system/*.so /home/pi/.xbmc-current/xbmc-bin/lib/xbmc/system/
sudo ldconfig

On a fresh system
you will also need to install pulseaudio by following
Code:
sudo apt-get install libltdl7
sudo rm -rf /usr/lib/arm-linux-gnueabihf/libpulse*
sudo rm -rf /usr/lib/arm-linux-gnueabihf/pulseaudio
wget http://db.tt/JchKQSC1 -O /tmp/pulseaudio-2.0-hardfp.tgz
cd /
sudo tar xzf /tmp/pulseaudio-2.0-hardfp.tgz
sudo initctl start pulseaudio

Then restart pi. If you are seeing relax loop this means your raspbmc is bit old. This should work with the upcoming raspbmc (raspbmc test update).

You can ignore step 3 in the first post as you can enable/disable audio engine easily via the raspbmc addon settings (under system settings).

Just to clarify that if audio engine is disabled then xbmc should behave exactly the same as the one of the xbmc nightly. Please also make sure HDMI is selected when audio engine is disabled if you want audio to go from hdmi.

If you run into problems please let me know.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [Alpha] usb sound cards support for raspbmc - s7mx1 - 11-22-2012 01:23 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Sponsored Advertisement