> On Jun 9, 2016, at 6:03 PM, George Toledo <gtole...@gmail.com> wrote:
> 
> Does Quicklook play audio of a previewed file at the sample rate it was
> encoded at, or is it somehow doing a samplerate conversion on the fly?

QuickLook is just calling AVFoundation, which is calling CoreAudio.

CoreAudio [obviously] tries to play audio at the correct speed. At a low level, 
that means adapting the sample rate of the encoded audio to the rate of the 
current audio output hardware. So yeah, that may involve sample rate 
conversion. (Usually the audio hardware runs at at 44.1KHz, but I’ve seen 
situations on some devices where it’s at 48, and if you have some high-end 
audio interface connected, that might be at 192…)

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to