Re: quicklook audio sample rates
Re: quicklook audio sample rates
- Subject: Re: quicklook audio sample rates
- From: Jens Alfke <email@hidden>
- Date: Fri, 10 Jun 2016 09:43:22 -0700
> On Jun 9, 2016, at 6:03 PM, George Toledo <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden