|
| Re: Bug in XP format conversion for ADPCM |
 |
Fri, 14 Mar 2008 13:15:10 -040 |
"Jim Keir" <jimkeir@pork.yahoo.co.uk> wrote in message
news:OZQmXKfhIHA.1208@TK2MSFTNGP05.phx.gbl...
> I believe there's a bug in the XP speech synth package. I've been able to
> replicate it using the demo code at
> http://msdn2.microsoft.com/en-us/library/ms717065.aspx .
>
> As it stands it works fine, but if you change the format from
> SPSF_22kHz16BitMono to any of the ADPCM formats (i.e.
> SPSF_ADPCM_11kHzMono) it creates a corrupt WAV.
I just tried the sample code with the ADPCM format. I hear static when I try
to play the resultant file through on a machine with a cheap SB Live
soundcard.
Then I ran the wave device format enumerator utility that I have here:
http://www.ivrforbeginners.com/downloads/downloads.htm
According to it, my soundcard doesn't support any ADPCM formats.
Do other files recorded in the same format play on your hardware?
Regards,
Will
|
| Post Reply
|
| Bug in XP format conversion for ADPCM |
 |
Fri, 14 Mar 2008 16:43:51 +000 |
Hi,
I believe there's a bug in the XP speech synth package. I've been able
to replicate it using the demo code at
http://msdn2.microsoft.com/en-us/library/ms717065.aspx .
As it stands it works fine, but if you change the format from
SPSF_22kHz16BitMono to any of the ADPCM formats (i.e.
SPSF_ADPCM_11kHzMono) it creates a corrupt WAV.
The 'GSM610', 'TrueSpeech', 'ALaw' and 'uLaw' formats all work as
expected on both Vista and XP.
Is this a known problem? If so, is there a fix or a workaround?
Cheers,
|
| Post Reply
|
| Re: Bug in XP format conversion for ADPCM |
 |
Fri, 14 Mar 2008 17:44:17 +000 |
Hi,
Thanks for the quick reply.
William DePalo [MVP VC++] wrote:
>
> Do other files recorded in the same format play on your hardware?
>
Yes, they do. I tried creating the WAV as PCM, then using the standard
'Sound Recorder' in XP to convert it to ADPCM. That played back. Also,
ADPCM files recorded in Vista and then played back in XP work. ADPCM
files generated on XP fail to play back on Vista too. I've also had the
exact same problem reported by many users of my software, all on XP.
Cheers,
Jim
|
| Post Reply
|
| Re: Bug in XP format conversion for ADPCM |
 |
Sat, 15 Mar 2008 14:58:59 -040 |
"Jim Keir" <jimkeir@pork.yahoo.co.uk> wrote in message
news:OSeLJsfhIHA.4692@TK2MSFTNGP05.phx.gbl...
> Thanks for the quick reply.
You are welcome.
> I've also had the exact same problem reported by many users of my
> software, all on XP.
Then I'm sorry to say I can't be of much help because my cheap SB-Live
soundcard doesn't support the format. :-(
I case you don't know, I can tell you that the audio stack saw some major
updates with Vista (we never had per-app volume control before) so it could
be an issue of an improvement in Vista rather than a bug in XP. Certainly if
my format enumerator says that the device natively supports the format it is
_definitely_ a bug.
Just wondering out loud ...
.. could it be that the Audio Compression Manager
http://msdn2.microsoft.com/en-us/library/aa910365.aspx
is silently and automatically engaged in Vista where it is not in XP?
Regards,
Will
|
| Post Reply
|
|
|
|
|
|
|
|
|
|