[MPlayer-dev-eng] Call for audio experts

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Thu Apr 29 13:22:00 CEST 2004


Hi,

> > just uploaded a 96khz 24bit wave sample, anyone able to make correct
> > converters in af_format?
>
> I attached a quick hack for it. Ugly, mostly untested and probably slow.
> Maybe somebody else can clean it up a bit.
> At least your sample works for me with it...

Already found the first bug. I'll try to correct it this evening.
e.g.
s=(((int32_t)((uint8_t*)in)[3*i])<<16) |
 (((int32_t)((uint8_t*)in)[3*i+1])<<8) |
 (((int32_t)((uint8_t*)in)[3*i+2]));

should be


s=(((int32_t)((uint8_t*)in)[3*i])<<24) |
 (((int32_t)((uint8_t*)in)[3*i+1])<<16) |
 (((int32_t)((uint8_t*)in)[3*i+2])<<8);

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list