[Alpha] usb sound cards support for raspbmc - Printable Version
+- Stm Labs Forum (http://forum.stmlabs.com)
+-- Forum: Raspbmc (/forumdisplay.php?fid=6)
+--- Forum: Raspbmc Users Forum (/forumdisplay.php?fid=7)
+--- Thread: [Alpha] usb sound cards support for raspbmc (/showthread.php?tid=1052)
[Alpha] usb sound cards support for raspbmc - s7mx1 - 07-08-2012 05:12 PM
It finally arrived folks. If you have been patiently waiting for usb sound card/speakers for you pi then its time to get your hands dirty.
Before you are getting too excited here is the warning:
Some background for this built:
I have included most useful pluseaudio addons therefore you should expect most exciting functionality from running pulseaudio on your pc, for example:
Here is the instruction to get it install on your pi. Please login into your pi via ssh/putty as user pi
Step1: Install optimised pulseaudio
Step 2: Install AE enabled xbmc
As of 2012-11-27 nightly is AE enabled and to install it just go to raspbmc settings addon and install the latest nightly from there.
Step3: Configure xbmc to use AE
By default AE is turned off and to enable AE we need to go to raspbmc settings addon and go the system settings tab and enable "Audio Engine". Restart XBMC is needed (some user reported back that restart pi is needed in order for it to work)
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 your usb 2.0 sound card/speakers produce distorted audio please put this entry into your /boot/cmdline.txt to force the built-in usb hub to run in usb 1.0/1.1 mode
All you need to do is switch to the new multi-sink profile after you usb sound card is detcted (i.e. audio device list is showing other than default)
Audio/Video Sync issues
Onboard audio (hdmi/analogue) device
With latest RC5 update this is not possible due to problem at compiling kernel alsa driver
You can enable the experimental alsa driver for the onboard device by
Audio/Video sync does not work reliable for the alsa driver snd-bcm2835 and if you experience out of sync at starting of the video you should stop it and then start it again.
Do not pause/play too often and too much for alsa driver snd-bcm2835 as this may cause xbmc/pulseaudio to freeze. If this happens you have to restart xbmc.
I would recommend use "Super" performance profile if you have usb install.
If you see whitescreen loops then post the results of
If there is no sound please run the following during audio/video playback
To unmute and set volume to full do
If for any reasons that it did not work for you its really easy to revert back, just run
RE: [Alpha] usb sound cards support for raspbmc - Sam Nazarko - 07-08-2012 05:39 PM
Good work, it makes sense to put in this forum rather than the testing one as USB sound card users is scarce at the moment.
RE: [Alpha] usb sound cards support for raspbmc - 612WharfAvenue - 07-11-2012 01:23 AM
Gave this a shot, xbmc is super-unstable (it crashed 3x just trying to install the youtube addon). Couldn't get videos to play. Did get (distorted) sound when paging through menus though.
I edited config.txt with the usb line, but when I run "reboot" it seems to....not actually reboot. The screen goes blank but even if I leave for 15 minutes and come back, the system hasn't rebooted. Only pulling the power and reapplying resets it. (and after that, it just boots to the raspbmc logo, not back into xbmc)
RE: [Alpha] usb sound cards support for raspbmc - timted3 - 07-12-2012 07:37 PM
My usb headset works with music and menu sounds. but when i play movies there is no sound Anyone?
RE: [Alpha] usb sound cards support for raspbmc - s7mx1 - 07-12-2012 08:18 PM
If you read through the first post I mentioned it clearly only for menu sound and audio file playback. I may have a go to strip the audio out but don't count on it.
(07-12-2012 07:37 PM)timted3 Wrote: My usb headset works with music and menu sounds. but when i play movies there is no sound Anyone?
RE: [Alpha] usb sound cards support for raspbmc - timted3 - 07-12-2012 08:25 PM
Sorry, i didn't read that part :$ I'll wait
RE: [Alpha] usb sound cards support for raspbmc - harmenzon - 07-13-2012 04:15 PM
when i try the following step:
it returns in an error:
mkdir: cannot create directory `/home/pi/.upgrade/xbmc-rbp-pulseaudio-20120706': No such file or directory
RE: [Alpha] usb sound cards support for raspbmc - s7mx1 - 07-13-2012 04:16 PM
Are you using the latest rc3?
(07-13-2012 04:15 PM)harmenzon Wrote: when i try the following step:
RE: [Alpha] usb sound cards support for raspbmc - harmenzon - 07-13-2012 04:24 PM
yes, just installed the latest clean rc3 again without any nightly builts.
(07-13-2012 04:16 PM)s7mx1 Wrote: Are you using the latest rc3?
RE: [Alpha] usb sound cards support for raspbmc - s7mx1 - 07-13-2012 04:27 PM
Just modified the mkdir command and you can just follow from mkdir onwards.
(07-13-2012 04:24 PM)harmenzon Wrote: yes, just installed the latest clean rc3 again without any nightly builts.