Mailing Lists: Apple Mailing Lists

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

ComplexPlayThru failure if input srate != output srate



I downloaded the ComplexPlayThru example and configured my MacBook Pro's line input device to 48kHz and the output device to 44.1kHz. I then built and ran the app and it got out of sync almost immediately and stopped producing output so that the last buffer it produced repeated over and over again. According to the code, it should handle devices with different sample rates (and it prints a message about the mismatch and that it is setting the playback rate of the AUVarispeed unit to some non-1.0 value) -- is there something missing?

Some previous posts to this list (Neil Clayton, Bill, and Jeff) indicate that the code is probably fragile with regard to handling overloads and discontinuities well. Is there a better example anywhere?

10.4.9, QT 7.1.5

thanks,
stephen

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-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.