PDA

View Full Version : XBMC wont do analogue 5.1


andye26
2008-10-28, 02:00
Hi
Im running xbmc on windows with an auzentech prelude sound card which does on the fly dd or dts encoding which I then pass to my 5.1 receiver.
For dd and dts encoding the audio need to be set to analogue and the prelude will automaticly pass the same signal out the digital output.

Problem is even tho my speakers are set up as analogue 5.1 xbmc will only ever output 2 channels.
If I play the same file with media player, 5.1.works fine analogue and digital at the same time. ( I like this setup up as I dont have to change any audio settings depending if im in the spare room with the pc or the living room and using it as a htpc)

Is there anyway to force the number of speakers xbmc outputs in analogue?

Regards
Andy

speeed
2008-10-28, 08:32
:no:

http://xbmc.org/trac/ticket/4871

andye26
2008-10-28, 11:49
Ahh right
At least it not just me.

Thanks
Andy

andye26
2008-11-04, 01:13
Hello
I noticed that after rev 16076 analogue 5.1 is supported under linux, When enabled in windows, 5.1 is working but is mapped wrong as mentioned in the changelog.
What I was wondering is there any way to manually remap the audio channels in windows?

Mapping seems to be mixed up as follows
FL=FL
Center=RL
FR=FR
RL=Center
RR=Sub
Sub-RR

Regards
Andy

elupus
2008-11-05, 16:10
the mapping will differ depending on what source file you use. they all have different mappings.

lovedaddy
2008-11-05, 21:53
I was wondering this too - at the moment I'm sending DTS and DD5.1 bitstream over optical, but the next machine I build I was hoping to LPCM it over HDMI.

Is this a planned feature? And will it be able to do things like decode DD5.1, DTS, multi channel AAC and send it as PCM to a receiver?

Thanks

ashlar
2008-11-06, 11:51
the mapping will differ depending on what source file you use. they all have different mappings.??? That's rarely the case, in my experience, or, if true, all the players are preconfigured to handle the files correctly.

In three years I've met just a couple of files where the channel mapping played back wrongly.

andye26
2008-11-06, 16:47
Ashlar might be right just checked all the 5.1 files I have and they all seem to be mixed the same way.
Or at least center always seems to come out of rear left, Hard to check the other speakers tho.

Andy

ashlar
2008-11-09, 20:09
Ashlar might be right just checked all the 5.1 files I have and they all seem to be mixed the same way.
Or at least center always seems to come out of rear left, Hard to check the other speakers tho.

AndyThose are standard positionings under Linux if I remember correctly. I had to fight them while I was trying out XBMC under Ubuntu.

andye26
2008-11-09, 21:00
Is the mapping caried out in Win32DirectSound.cpp?
Tried messing with it to see if I could change the mapping but mapping stays the same?

Andy

WiSo
2008-11-10, 10:24
Is the mapping caried out in Win32DirectSound.cpp?


Yes the sound output and speaker mapping is done there (more or less a copy from mplayer).
Let me know if you can find anything and be able to provide a fix. :nod:

elupus
2008-11-12, 19:05
There is no mapping done in Win32DirectSound.cpp at the moment. It only skips certain channels. Thus there must be code added that reorders the incomming channels before outputting to dsound.

andye26
2008-11-12, 19:20
Yea that would explain it
Dont know a lot abot c++ but couldnt find anything in there relating to speaker mapping, asound.conf is the only thing I can find regarding mapping but that linux only right?

Pity this is the only show stopper I have

Andy

elupus
2008-11-12, 21:33
Yup that's only linux.

WiSo
2008-11-13, 00:13
Sorry I called the speaker settings mapping which seems not to be correct but with that you know why there isn't any further output programming done by me :rolleyes:
Anyhow I got a PM from a windows dev who seems to understand it better than me and as his first project he'll take a look at the windows sound output. Let's see if he can anything figure out.