46 #include "CAStreamRangedDescription.h"
52 const AudioStreamRangedDescription CAStreamRangedDescription::sEmpty = { { 0.0, 0, 0, 0, 0, 0, 0, 0, 0 }, { 0.0, 0.0 } };
55 #include "CALogMacros.h"
57 void CAStreamRangedDescription::PrintToLog(
const AudioStreamRangedDescription& inDesc)
59 PrintFloat (
" Sample Rate: ", inDesc.mFormat.mSampleRate);
60 PrintFloat (
" Max Sample Rate: ", inDesc.mSampleRateRange.mMaximum);
61 PrintFloat (
" Min Sample Rate: ", inDesc.mSampleRateRange.mMinimum);
62 Print4CharCode (
" Format ID: ", inDesc.mFormat.mFormatID);
63 PrintHex (
" Format Flags: ", inDesc.mFormat.mFormatFlags);
64 PrintInt (
" Bytes per Packet: ", inDesc.mFormat.mBytesPerPacket);
65 PrintInt (
" Frames per Packet: ", inDesc.mFormat.mFramesPerPacket);
66 PrintInt (
" Bytes per Frame: ", inDesc.mFormat.mBytesPerFrame);
67 PrintInt (
" Channels per Frame: ", inDesc.mFormat.mChannelsPerFrame);
68 PrintInt (
" Bits per Channel: ", inDesc.mFormat.mBitsPerChannel);