Is anybody working on support for playing ADPCM wave files under Wine? If not, I'd like to take a crack at it.
I have an app that I use (Delorme's AAA MapNGo 4.0) that uses ADPCM wave files to contain spoken information on attractions. I know that Wine can access my sound system to play normal PCM wave files, as MN4 also has speech synthesis that does work. However, any attempt to play a ADPCM file results in the program pausing for a length of time, then continuing. I infer that this is because the lower levels of Wine don't know how to handle ADPCM.
ADPCM isn't rocket science - several programs, including sox, understand the protocol.
So, is anybody working on this (outside of TG and Lindows)? Any (non-null) pointers to useful information on how Wine has put together the sound subsystem? I'm not a Windows programmer, I'm an embedded systems and DSP person, but if I can find a block of code to hook into I can make this happen.
On Fri, Jan 11, 2002 at 07:16:30AM -0600, David D. Hagood wrote:
Is anybody working on support for playing ADPCM wave files under Wine? If not, I'd like to take a crack at it.
I have an app that I use (Delorme's AAA MapNGo 4.0) that uses ADPCM wave files to contain spoken information on attractions. I know that Wine can access my sound system to play normal PCM wave files, as MN4 also has speech synthesis that does work. However, any attempt to play a ADPCM file results in the program pausing for a length of time, then continuing. I infer that this is because the lower levels of Wine don't know how to handle ADPCM.
ADPCM isn't rocket science - several programs, including sox, understand the protocol.
So, is anybody working on this (outside of TG and Lindows)? Any (non-null) pointers to useful information on how Wine has put together the sound subsystem? I'm not a Windows programmer, I'm an embedded systems and DSP person, but if I can find a block of code to hook into I can make this happen.
Try --debugmsg +driver,+mmsys,+mci,+mmio,+mmtime,+mciwave,+msacm,+wave,+midi,+ mmaux,+relay (they're all inside dlls/winmm/*).
That should help a lot in finding what's missing.
So, is anybody working on this (outside of TG and Lindows)? Any (non-null) pointers to useful information on how Wine has put together the sound subsystem? I'm not a Windows programmer, I'm an embedded systems and DSP person, but if I can find a block of code to hook into I can make this happen.
well, to make things a bit harder, (at least) two ADPCM exist: - IMA and MS basic algorithm are quite the same, coeff tables differ a bit.
I did start a while ago an IMA ADPCM driver for wine it's not finished yet (basically, didn't find time to look at in depth docs for some details, like coding/decoding of stereo vs mono) it's far from being finished and tested, but the framework (wine integration, driver infrastructure) is in place, there's just some need to concentrate on codec code
so, if you're ready to go for it, I can send you the code and give you the directions to end up the job
A+