On Nov 29, 2006, at 7:26 AM, Olivier Tristan wrote:
Cor Jansen wrote:
Hello all,
I'm new to this group. I want to use my Mac-Mini as high quality
audio player.
My question is if I can do this by writing an audio subunit.
I want uncompressed audio files (probably wav files) to be played back
such that each sample is exactly send
to the digitail output port. Without modification. Each bit exact as it
is in the uncompressed file.
Is this possible?
Do you mean opening the audio device as 16 bits/24 bits output stream
and feed it with 16bits/24bits audio data ?
I would say that iTunes use float representation internally so indeed it
does not fit your requirements, but I don't think you can tell the
difference.
If you disable all effects (crossfade, sound enhancer, sound check,
per-track volume adjustment) and set the master volume slider to max,
iTunes passes your data through untouched. Internally, the data path
_is_ floats but, as has been mentioned already, float <--> int conversion
is exact for <= 24-bit integer data so there will be no modifications to
the data whatsoever.
Of course, if you find this to not be true, please file a bug. :-)
Be sure to set your audio output device to 2-ch 24-bit or whatever your
requirements are.
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