Re: Cannot change device stream format
Re: Cannot change device stream format
- Subject: Re: Cannot change device stream format
- From: Yue Wang <email@hidden>
- Date: Sun, 03 Jan 2016 23:18:16 -0800
Thanks Brian! This sounds very reasonable to me. What about volume setting? Will that affect the result (since multiply a floating point number may narrowing dynamic range)? There're also rumors that adjusting iTunes' (or Foobar2000's) volume to max will give bit perfect result. I have no idea if that's the case.
I have another curious question, though. Can I trust AudioOutputUnit automatically do that for me (i.e, set the AudioDevice's physical format to match the file format, and hog device and disable mixing, and set the stream format of AudioOutputUnit as the file format, and send raw PCM file data to the AudioOutputUnit, and expect AudioOutputUnit automatically translate 16bit integer to 32bit float and translate back to 16 bit int without loss of precision and send to device). If that path is "bit perfect", then no extra work is needed. Unlike Android's audio stack, AudioOutputUnit is a black box to me, so I have no knowledge of its behavior.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden