|
Posted by Graeme Rouse on May 16, 2007, 8:07 pm
Please log in for more thread options
Hello,
I have developing with C# for a Moto Q device (using Windows Mobile 5.0
with .Net CF 1.0). I have been able to play a gsm encoded file using the
simple PlaySound unmanaged function call. This has boosted my
confidence, however when I attempt to play the file using the more
intricate interface provided by the P/Invoke Library Sample (using
waveOutOpen(), waveOutWrite(), etc.) I run into an issue since it
doesn't appear that waveOutOpen(..) supports anything other than an
unencoded PCM wav file.
At this point it looks like the only way to proceed is to invoke the ACM
driver and decompress the file before playback. However, I can't believe
that the Waveform Audio Interface cannot process gsm encoded files,
since I've been able to play one.
Can anyone confirm this for me and point me in the correct direction for
decoding with an ACM driver? I don't even know the appropriate .dll at
the moment.
If there is another, simpler method, I'd like to hear that too!
Thanks in advance,
Graeme
|