Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting the audio compressor through the API



I can't seem to find the API to set the audio compressor ??

The closest thing I have found is
public void setSoundInputParameters(int sampleSize,
int numChannels,
int compressionType)
throws StdQTException

But that only seems to set the recording to 8 or 16 bits and this conflicts
with what the documentation says in the Inside Macintosh QuickTime
components which states the following :

compressionType
Describes the format of the sound data. The following values are
supported:
'raw ' Sound samples are uncompressed, in offset-binary format
(that is, sample data values range from 0 to 255).
'MAC3' Sound samples have been compressed by the Sound
Manager at a ratio of 3:1.
'MAC6' Sound samples have been compressed by the Sound
Manager at a ratio of 6:1.


Obviously this is for the C API but none the less it still does not directly
correlate.


Anyway getting side tracked, can anybody point me in the right direction on
how to get the audio compressors available and how to set them for a
recording. Any help would be appreciated.


Cheers


Ryan Henderson
Programmer
Multimedia Centre
University of Western Australia

"Not everything that can be counted counts, and not everything that counts
can be counted." - Albert Einstein (1879-1955)
_______________________________________________
quicktime-java mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-java
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.