Please login or register.

Login with username, password and session length

Topic: Wrong Channel mapping with HiRes 5.0 audio files  (Read 1849 times)

January 29, 2015, 11:50:35 AM
  • Newbie
  • *
  • Posts: 1
    • View Profile
Wrong Channel mapping with HiRes 5.0 audio files
« on: January 29, 2015, 11:50:35 AM »
Hi!
Unfortunately i've found a WASAPI playback bug in channel mapping with HiRes 5.0 Multichannel audiofiles:

Exspected:
FL -> FL
C -> C
FR -> Fr
RL -> Rl
RR -> RR

Error:
FL -> FL
FR -> FR
RL -> RL
RR -> RR

Center is missing.

Attached you find a picture of AV OSD and mediainfo of one of these files. If you need further infos, testfiles please let me know. I think, the solution could be a mixxer matrix ->

Quote
// in = 5.0, out = 5.1
float matrix[6][5]={
    {1,0,0,0,0}, // left front out = left front in
    {0,1,0,0,0}, // right front out = right front in
    {0,0,1,0,0}, // centre out = centre in
    {0,0,0,0,0}, // LFE out = silent
    {0,0,0,1,0}, // left rear out = left rear in
    {0,0,0,0,1} // right rear out = right rear in
};
BASS_Mixer_ChannelSetMatrix(handle, matrix); // apply the matrix
(and other scenarios like 3.0, 4.0, 2.1....)

I'm not a coder, but i'm aware of this bug, because this bug is well known in Mediaportal.
Best regards
Helios