Home
last modified time | relevance | path

Searched refs:streamFormat (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_device_mac.cc2190 AudioStreamBasicDescription streamFormat; in HandleStreamFormatChange() local
2191 UInt32 size = sizeof(streamFormat); in HandleStreamFormatChange()
2193 objectId, &propertyAddress, 0, NULL, &size, &streamFormat)); in HandleStreamFormatChange()
2195 if (streamFormat.mFormatID != kAudioFormatLinearPCM) { in HandleStreamFormatChange()
2198 (const char*)&streamFormat.mFormatID); in HandleStreamFormatChange()
2202 if (streamFormat.mChannelsPerFrame > N_DEVICE_CHANNELS) { in HandleStreamFormatChange()
2205 streamFormat.mChannelsPerFrame); in HandleStreamFormatChange()
2212 streamFormat.mSampleRate, streamFormat.mChannelsPerFrame); in HandleStreamFormatChange()
2215 streamFormat.mBytesPerPacket, streamFormat.mFramesPerPacket); in HandleStreamFormatChange()
2218 streamFormat.mBytesPerFrame, streamFormat.mBitsPerChannel); in HandleStreamFormatChange()
[all …]
Daudio_mixer_manager_mac.cc143 AudioStreamBasicDescription streamFormat; in OpenSpeaker() local
145 memset(&streamFormat, 0, size); in OpenSpeaker()
147 _outputDeviceID, &propertyAddress, 0, NULL, &size, &streamFormat)); in OpenSpeaker()
149 _noOutputChannels = streamFormat.mChannelsPerFrame; in OpenSpeaker()
192 AudioStreamBasicDescription streamFormat; in OpenMicrophone() local
194 memset(&streamFormat, 0, size); in OpenMicrophone()
196 _inputDeviceID, &propertyAddress, 0, NULL, &size, &streamFormat)); in OpenMicrophone()
198 _noInputChannels = streamFormat.mChannelsPerFrame; in OpenMicrophone()
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
DEASLib.c119 AudioStreamBasicDescription streamFormat; variable
491 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 …]