2012-02-29, 08:02
repi Wrote:Hi, I was hoping I could get some elementary help: I have compiled the AE branch on Ubuntu 11.10 and video works fine but I have no audio. In the system prefs in xbmc it says "no audio device found". I saw some posts that said to write a custom mapping of 'plughw:0,7" and I tried that but still nothing.
I have selected my HDMI stereo connection in the sound preference of the ubuntu system.
If you can point me to a thread that would help, or if you can offer help, I would appreciate it. I want to use Linux as my HTPC but need sound! Thanks
IF you are on linux then:
Follow my above post to apply the patch to the latest build. For correct HDMI passthrough it is incorrect to use plughw: or hw: for custom devices because they fail to recognise the AES bits after the device name. This is important for receivers (I think).
You should be using 'hdmi:CARD=NVidia,DEV=0' without the quotes. Now in your case you will need to change this to whatever appears in your CLI when you run:
aplay -L (case sensitive) - Whatever line displays hdmi:CARD=blah
If you have multiple lines like that then you try each one with a different DEV at the end ie DEV=0,1,2,3 (I think yours will be 1)
IF you still have no sound open your ~/.xbmc/temp/xbmc.log and if you see:
FactoryCodec - Audio: passthrough - Failed
OR something like:
NOTICE: Creating audio stream (codec id: 86020, channels: 6, sample rate: 48000, no pass-through)
If yes then probably your passthrough is being tied up by pulse (the issue I am experiencing) and you will need to rebuild AE with:
make uninstall
make distclean
./bootstrap && ./configure --disable-pulse && make -jX (enter number for X depending on how many CPU's you have to speed up builds eg: -j2)
make install