Searched refs:streamFormat (Results 1 – 2 of 2) sorted by relevance
115 AudioStreamBasicDescription streamFormat; in configure() local116 streamFormat.mSampleRate = m_sampleRate; in configure()117 streamFormat.mFormatID = kAudioFormatLinearPCM; in configure()118 streamFormat.mFormatFlags = kAudioFormatFlagsCanonical | kAudioFormatFlagIsNonInterleaved; in configure()119 streamFormat.mBitsPerChannel = 8 * sizeof(AudioSampleType); in configure()120 streamFormat.mChannelsPerFrame = 2; in configure()121 streamFormat.mFramesPerPacket = 1; in configure()122 streamFormat.mBytesPerPacket = sizeof(AudioSampleType); in configure()123 streamFormat.mBytesPerFrame = sizeof(AudioSampleType); in configure()125 …t, kAudioUnitProperty_StreamFormat, kAudioUnitScope_Input, 0, (void*)&streamFormat, sizeof(AudioSt… in configure()
119 AudioStreamBasicDescription streamFormat; variable491 streamFormat.mSampleRate = sampleRate; in OpenWaveOutDevice()493 streamFormat.mSampleRate = pConfig->sampleRate; in OpenWaveOutDevice()495 streamFormat.mFormatID = kAudioFormatLinearPCM; in OpenWaveOutDevice()496 streamFormat.mFormatFlags = kLinearPCMFormatFlagIsSignedInteger in OpenWaveOutDevice()501 streamFormat.mBytesPerPacket = 2; in OpenWaveOutDevice()502 streamFormat.mFramesPerPacket = 1; in OpenWaveOutDevice()503 streamFormat.mBytesPerFrame = 2; in OpenWaveOutDevice()504 streamFormat.mChannelsPerFrame = 2; in OpenWaveOutDevice()505 streamFormat.mBitsPerChannel = 16; in OpenWaveOutDevice()[all …]