[MPlayer-dev-eng] realaudio...
Arpi
arpi at thot.banki.hu
Mon Jun 10 04:24:08 CEST 2002
Hi,
> as you can see, the top left, and bottom right values are equal,
> others mixed up... anyone has idea about the mixing algo?
> (creating a table from this is not a solution, as the
> width/height of the matrix change per file)
ok, i did it :)
they mirror the matrix to the diagonal, split it to 2 half
and interleave them... nice :)
the code to reorder:
int x,y;
for(y=0;y<10;y++)
for(x=0;x<10;x++)
demux_read_data(sh->ds, sh->a_in_buffer+10*60*x+60*5*(y&1)+60*(y>>1),60);
and yes, it does work, i can hear perfect sound!
i've commited, but the code is ugly, and has some hardcoded stuff...
so needs some cleanup before getting user-ready...
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list