| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Hi, i looked at the sample scaudiocompress, but a lot of
things still confuse to me. The fact is a can t do it work in my implementation, i have
always kAudioConverterErr_InvalidInputSize except if the output format is uncompressed. My app gives me 65536 samples (32bitfloat, 480000, stereo
interleaved)repeatedly until the end of the stream, each time i’m called,
i have to compress those samples and write it to the media So i prepare the audio buffer list according to the output
format, the probleme comes with the maxBytesPerPacket
value, if i multiply this value with my number of sample , it’s
too big to allocate buffer memory. I saw the use of a variable named PullPackets, wich is not
the sample count, but what is it ? why is it 5000 ? how according it
with my samples ? Hope you can help Thanks. |
_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.