Esempio n. 1
0
void	CAHALAudioStream::GetAvailableVirtualFormatByIndex(UInt32 inIndex, AudioStreamRangedDescription& outFormat) const
{
	UInt32 theNumberFormats = GetNumberAvailableVirtualFormats();
	if((theNumberFormats > 0) && (inIndex < theNumberFormats))
	{
		CAAutoArrayDelete<AudioStreamRangedDescription> theFormats(theNumberFormats);
		GetAvailableVirtualFormats(theNumberFormats, theFormats);
		if((theNumberFormats > 0) && (inIndex < theNumberFormats))
		{
			outFormat = theFormats[inIndex];
		}
	}
}
Esempio n. 2
0
bool CCoreAudioStream::GetAvailableVirtualFormats(StreamFormatList* pList)
{
  return GetAvailableVirtualFormats(m_StreamId, pList);
}