Re: [Fwd: Re: winemp3.acm: Fixes the Mac-specific code]

2010-05-13 Thread Kristofer Henriksson
I think the reason why your change works is that it seems the AudioConverter doesn't care if it has invalid data at the beginning of its stream. There will be however a little creeping error in computation of frame lengths over time, which is that there may or may not be one extra byte of padding o

Re: [Fwd: Re: winemp3.acm: Fixes the Mac-specific code]

2010-05-13 Thread Aric Stewart
There is a bug in the code i just posted, It should clearly be adsi->pwfxSrc->nSamplesPerSec not Dst. Still works great, probibly because my tests had the same nSamplesPerSec for both Src and Dst. -aric Aric Stewart wrote: Hi, I will admit that my understanding of both ACM drivers as we

Re: [Fwd: Re: winemp3.acm: Fixes the Mac-specific code]

2010-05-13 Thread Aric Stewart
Hi, I will admit that my understanding of both ACM drivers as well as the os x audio libraries are not perfect and mostly come from work on this code itself. So i will fully admit it is most likely full of areas needing improvement. Kristofer Henriksson wrote: Aric, I may have been opera