"Nuno Magalhaes"
Can I apply the acmStreamOpen, acmStreamClose, acmStreamConvert to
short byte sequences like 256 bytes of audio samples, or is it too
slow?
I want to transmit the audio data encoded over the network and decode
it on the client side, but I don't know if it is a good solution to use
msacm32.dll.
I'm using MMTools from
www.swiftsoft.de
Unfortunately they only have it for delphi as a vcl package, although I
believe they also have an activeX wrapped version.
In my application, I'm using their wrapper to do real time (well, close to
real time) conversion of PCM data from a microphone into GSM 6.10 and saving
to a file. I seldom had to use the acm??? functions directly, but I believe
that's exactly what my library is doing, converting short frames of data
from one format to another.
From my understanding, you have two options:
1) [utopic] Study and implement your own codec from/to the formats you want
to use
2) Use the msacm32.dll.
For more information on the ACM, start here:
http://msdn.microsoft.com/library/de...structures.asp
I may be wrong, by I believe the only way to use it from C# is through
P/Invoke
Cheers and good luck
Padu