Linux USB X-Fi HD sound card - no 5.1 surround sound
#1
Hi Smile

I'm under Debian 8.2
#uname -a
Linux odroid 3.10.96-30-odrobian+ #1 SMP PREEMPT Mon Feb 15 22:50:25 AST 2016 armv7l GNU/Linux

#kodi --version
16.0 Git:2016-02-24-975c923-dirty Media Center Kodi

I've an USB SoundBlaster X-Fi HD sound card.

Applied all updates, some tweaks to alsa, uninstalled pulse, installed vlc and TADAM ! 5.1 DTS works !
To have 5.1 DTS working in vlc, I've selected alsa+spdif in preference and selected direct USB audio #1 hw device without any conversion
But not in kodi... Only 2.0 stereo... Sad

in ~/.kodi/temp/kodi.log I've among other things (http://xbmclogs.com/pmf1tttrc) :
16:53:23 T:3006726144 NOTICE: Device 3
16:53:23 T:3006726144 NOTICE: m_deviceName : iec958:CARD=HD,DEV=0
16:53:23 T:3006726144 NOTICE: m_displayName : USB Sound Blaster HD
16:53:23 T:3006726144 NOTICE: m_displayNameExtra: USB Audio #1 S/PDIF
16:53:23 T:3006726144 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
16:53:23 T:3006726144 NOTICE: m_channels : FL,FR
16:53:23 T:3006726144 NOTICE: m_sampleRates : 44100,48000,96000
16:53:23 T:3006726144 NOTICE: m_dataFormats : AE_FMT_AC3,AE_FMT_DTS,AE_FMT_S24NE3,AE_FMT_S16NE,AE_FMT_S16LE

And I select this output in system/audio in kodi, but nothing to do, always in 2.0 stereo, even if I select passtrough in audio options during playing the movie.

Help plz ^^

Thanks in advance !!!
Have a good day Smile
Reply
#2
Debug Log or it never happened :-)

Use this sample: https://dl.dropboxusercontent.com/u/5572...20Test.avi

and don't cut logfiles, please.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
Thank you Smile
Logs uploaded (updated above post) after playing your sample video
Reply
#4
That's not a Debug Log - so nothing I can help you with.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
That's not a http://kodi.wiki/view/Debug_log

You will have to enable debug logging, play the file again and then upload and link to the correct log. Although I did notice in your current log when opening the audio stream it states "no pass-through".
Learning Linux the hard way !!
Reply
#6
Ok, I was wrong...
Reuploaded log file with audio component selected under debugging options. (first post updated)
I've unactived and reactived passtrought during the play
Thanks again Smile
Reply
#7
From the log it's a misconfigured setup which forces 44.1 khz output.

Set it to Optimized and limit to 48 khz
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
Where can I set theses options ?
screnshot of my system/audio section : http://imgur.com/HspnX3w
Do I have to do this by advancedsettings.xml ?
If yes, can you tell me how ?

Thank you !
Reply
#9
See the "Standard" set this to "Expert" and then configure properly. Passthrough is fully disabled on your setup.

See: http://kodi.wiki/view/Settings
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#10
Wow !!!

It's OK !!!

Thank you so much !!!!!!!!!!!!!!!!!

I can't find [SOLVED] or close thread button... If someone can mark this post as solved, thank to him Smile

Have a nive day !
Reply

Logout Mark Read Team Forum Stats Members Help
USB X-Fi HD sound card - no 5.1 surround sound0