Mailing Lists: Apple Mailing Lists

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

Do output PCM samples require some special data handling before copying them to outputBuffer?



Hi all

My sound decompressor coponent for Windows platform is producing decompressed linear PCM samples from the compressed audio data. I also copy over the output PCM samples from my decode function to the outputBuffer in the getsourceData function. But there is absolutely no sound getting produced. Not even garbage.

Still havent been able to figure out the reason behind the correct output PCM samples not getting played. Just one small query I have. Do PCM samples need some special handling before copying them over to the output buffer in the getsourcedata function? i.e. Some kind of manipulation with the output data from my decode function, before copying it over to the outputBuffer, in order to get them played.

It would be great if someone can throw some light on it. I am stuck and the only option that seems to be left is raising a technical support ticket with Apple !! I just hope I dont have to resort to that :(

Thanks in advance for help
Regards
Ayush

p.s. if I put some garbage data in the output buffer then it produces garbage sound. But my correctly decoded data (PCM samples) doesn't even produce  the slightest of sound !!
 _______________________________________________
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



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.