[MPlayer-dev-eng] Weird audio with Mac OS X 10.4
Nicolas Plourde
nicolas.plourde at sympatico.ca
Mon May 16 02:17:28 CEST 2005
On 15-May-05, at 1:39 PM, Chris Roccati wrote:
>
> On May 14, 2005, at 13:26 , Nicolas Plourde wrote:
>
>
>>> The attached patch, adds to the requested format the number of
>>> channels.
>>>
>> commited. thank you.
>>
>
> The audio is still quite quirky:
> kAudioStreamPropertyPhysicalFormatMatch will still try to return a
> mono stream format most of the times. Point is, apparently, less
> you provide, better the result wil be.
> In the end, CoreAudio will ALWAYS give you 32 bits float audio
> anyway so, there's no reason to ask anything else; mBytesPerPacket
> and mBytesPerFrame will be used even if the audio format is not
> what you asked, so setting them will lead to 32 bits MONO if you
> asked 16 bits STEREO.
>
> The attached patch simplifies the format matching logic, yelding at
> worst the same results as before, and fixing the "unwanted mono"
> malfunction in many cases. It still works fine under Mac OS X 10.3.9.
>
>
commited
====
Nicolas Plourde <nicolas.plourde at sympatico.ca>
More information about the MPlayer-dev-eng
mailing list