/dports/audio/faust/faust-2.37.3/architecture/AU/PublicUtility/ |
H A D | CAStreamBasicDescription.h | 127 mBytesPerFrame = mBytesPerPacket = 0; in CAStreamBasicDescription() 148 mBytesPerFrame = mBytesPerPacket = wordsize * inNumChannels; in CAStreamBasicDescription() 151 mBytesPerFrame = mBytesPerPacket = wordsize; in CAStreamBasicDescription() 211 …return (mBytesPerFrame > 0 && NumberInterleavedChannels()) ? mBytesPerFrame / NumberInterleavedCha… in SampleWordSize() 217 return nbytes / mBytesPerFrame; in BytesToFrames() 234 unsigned wordsize = mBytesPerFrame; 288 mBytesPerPacket = mBytesPerFrame = nChannels * sampleSize; in SetCanonical() 290 mBytesPerPacket = mBytesPerFrame = sampleSize; in SetCanonical() 308 && mBytesPerFrame == reqFrameSize in IsCanonical() 341 mBytesPerPacket = mBytesPerFrame = nChannels * wordSize; in ChangeNumberChannels() [all …]
|
H A D | CAStreamBasicDescription.cpp | 115 mBytesPerFrame = inBytesPerFrame; in CAStreamBasicDescription() 190 (int)mBitsPerChannel, (int)mBytesPerPacket, (int)mFramesPerPacket, (int)mBytesPerFrame); in AsString() 241 ioDescription.mBytesPerFrame = 0; in ResetFormat() 269 if(ioDescription.mBytesPerFrame == 0) in FillOutFormat() 271 ioDescription.mBytesPerFrame = inTemplateDescription.mBytesPerFrame; in FillOutFormat() 424 PrintInt (" Bytes per Frame: ", inDesc.mBytesPerFrame); in PrintToLog() 594 && MATCH(mBytesPerFrame) in operator ==() 621 && (x.mBytesPerFrame < 1000000) in SanityCheck() 715 fmt.mBytesPerPacket = fmt.mBytesPerFrame = (bitdepth + 7) / 8; in FromText() 760 fmt.mBytesPerFrame = fmt.mBytesPerPacket = bytesPerFrame; in FromText() [all …]
|
/dports/audio/mixxx/mixxx-2.3.0/lib/apple/ |
H A D | CAStreamBasicDescription.h | 127 mBytesPerFrame = mBytesPerPacket = 0; in CAStreamBasicDescription() 148 mBytesPerFrame = mBytesPerPacket = wordsize * inNumChannels; in CAStreamBasicDescription() 151 mBytesPerFrame = mBytesPerPacket = wordsize; in CAStreamBasicDescription() 211 …return (mBytesPerFrame > 0 && NumberInterleavedChannels()) ? mBytesPerFrame / NumberInterleavedCha… in SampleWordSize() 217 return nbytes / mBytesPerFrame; in BytesToFrames() 234 unsigned wordsize = mBytesPerFrame; 288 mBytesPerPacket = mBytesPerFrame = nChannels * sampleSize; in SetCanonical() 290 mBytesPerPacket = mBytesPerFrame = sampleSize; in SetCanonical() 308 && mBytesPerFrame == reqFrameSize in IsCanonical() 341 mBytesPerPacket = mBytesPerFrame = nChannels * wordSize; in ChangeNumberChannels() [all …]
|
H A D | CAStreamBasicDescription.cpp | 115 mBytesPerFrame = inBytesPerFrame; in CAStreamBasicDescription() 190 (int)mBitsPerChannel, (int)mBytesPerPacket, (int)mFramesPerPacket, (int)mBytesPerFrame); in AsString() 241 ioDescription.mBytesPerFrame = 0; in ResetFormat() 269 if(ioDescription.mBytesPerFrame == 0) in FillOutFormat() 271 ioDescription.mBytesPerFrame = inTemplateDescription.mBytesPerFrame; in FillOutFormat() 424 PrintInt (" Bytes per Frame: ", inDesc.mBytesPerFrame); in PrintToLog() 594 && MATCH(mBytesPerFrame) in operator ==() 621 && (x.mBytesPerFrame < 1000000) in SanityCheck() 715 fmt.mBytesPerPacket = fmt.mBytesPerFrame = (bitdepth + 7) / 8; in FromText() 760 fmt.mBytesPerFrame = fmt.mBytesPerPacket = bytesPerFrame; in FromText() [all …]
|
/dports/devel/juce/JUCE-f37e9a1/modules/juce_audio_plugin_client/AU/CoreAudioUtilityClasses/ |
H A D | CAStreamBasicDescription.h | 128 mBytesPerFrame = mBytesPerPacket = 0; in CAStreamBasicDescription() 153 mBytesPerFrame = mBytesPerPacket = wordsize * inNumChannels; in CAStreamBasicDescription() 156 mBytesPerFrame = mBytesPerPacket = wordsize; in CAStreamBasicDescription() 216 …return (mBytesPerFrame > 0 && NumberInterleavedChannels()) ? mBytesPerFrame / NumberInterleavedCha… in SampleWordSize() 222 return nbytes / mBytesPerFrame; in BytesToFrames() 239 unsigned wordsize = mBytesPerFrame; 299 mBytesPerPacket = mBytesPerFrame = nChannels * sampleSize; in SetCanonical() 301 mBytesPerPacket = mBytesPerFrame = sampleSize; in SetCanonical() 319 && mBytesPerFrame == reqFrameSize in IsCanonical() 352 mBytesPerPacket = mBytesPerFrame = nChannels * wordSize; in ChangeNumberChannels() [all …]
|
H A D | CAStreamBasicDescription.cpp | 119 mBytesPerFrame = inBytesPerFrame; in CAStreamBasicDescription() 230 (int)mBitsPerChannel, (int)mBytesPerPacket, (int)mFramesPerPacket, (int)mBytesPerFrame); in AsString() 281 ioDescription.mBytesPerFrame = 0; in ResetFormat() 309 if(ioDescription.mBytesPerFrame == 0) in FillOutFormat() 311 ioDescription.mBytesPerFrame = inTemplateDescription.mBytesPerFrame; in FillOutFormat() 464 PrintInt (" Bytes per Frame: ", inDesc.mBytesPerFrame); in PrintToLog() 664 && MATCH(mBytesPerFrame) in FlagIndependentEquivalence() 704 && (x.mBytesPerFrame < 1000000) in SanityCheck() 799 fmt.mBytesPerPacket = fmt.mBytesPerFrame = (bitdepth + 7) / 8; in FromText() 844 fmt.mBytesPerFrame = fmt.mBytesPerPacket = bytesPerFrame; in FromText() [all …]
|
H A D | AUBuffer.cpp | 84 UInt32 bytesPerStream = SafeMultiplyAddUInt32(nFrames, format.mBytesPerFrame, 0xF) & ~0xF; in Allocate() 140 UInt32 streamInterval = (mAllocatedFrames * format.mBytesPerFrame + 0xF) & ~0xF; in PrepareBuffer() 141 UInt32 bytesPerBuffer = nFrames * format.mBytesPerFrame; in PrepareBuffer() 170 UInt32 bytesPerBuffer = nFrames * format.mBytesPerFrame; in PrepareNullBuffer() 192 mAllocatedFrames = mAllocatedBytes / (format.NumberChannelStreams() * format.mBytesPerFrame); in UseExternalBuffer()
|
/dports/audio/ardour6/Ardour-6.8.0/libs/appleutility/CoreAudio/PublicUtility/ |
H A D | CAStreamBasicDescription.h | 128 mBytesPerFrame = mBytesPerPacket = 0; in CAStreamBasicDescription() 153 mBytesPerFrame = mBytesPerPacket = wordsize * inNumChannels; in CAStreamBasicDescription() 156 mBytesPerFrame = mBytesPerPacket = wordsize; in CAStreamBasicDescription() 216 …return (mBytesPerFrame > 0 && NumberInterleavedChannels()) ? mBytesPerFrame / NumberInterleavedCha… in SampleWordSize() 222 return nbytes / mBytesPerFrame; in BytesToFrames() 239 unsigned wordsize = mBytesPerFrame; 299 mBytesPerPacket = mBytesPerFrame = nChannels * sampleSize; in SetCanonical() 301 mBytesPerPacket = mBytesPerFrame = sampleSize; in SetCanonical() 319 && mBytesPerFrame == reqFrameSize in IsCanonical() 352 mBytesPerPacket = mBytesPerFrame = nChannels * wordSize; in ChangeNumberChannels() [all …]
|
H A D | CAStreamBasicDescription.cpp | 119 mBytesPerFrame = inBytesPerFrame; in CAStreamBasicDescription() 230 (int)mBitsPerChannel, (int)mBytesPerPacket, (int)mFramesPerPacket, (int)mBytesPerFrame); in AsString() 281 ioDescription.mBytesPerFrame = 0; in ResetFormat() 309 if(ioDescription.mBytesPerFrame == 0) in FillOutFormat() 311 ioDescription.mBytesPerFrame = inTemplateDescription.mBytesPerFrame; in FillOutFormat() 464 PrintInt (" Bytes per Frame: ", inDesc.mBytesPerFrame); in PrintToLog() 664 && MATCH(mBytesPerFrame) in FlagIndependentEquivalence() 704 && (x.mBytesPerFrame < 1000000) in SanityCheck() 799 fmt.mBytesPerPacket = fmt.mBytesPerFrame = (bitdepth + 7) / 8; in FromText() 844 fmt.mBytesPerFrame = fmt.mBytesPerPacket = bytesPerFrame; in FromText() [all …]
|
H A D | CARingBuffer.cpp | 76 mBytesPerFrame = bytesPerFrame; in Allocate() 278 ZeroABL(abl, 0, nFrames * mBytesPerFrame); in Fetch() 282 SInt32 byteSize = (SInt32)((endRead - startRead) * mBytesPerFrame); in Fetch() 284 …t32 destStartByteOffset = std::max((SInt32)0, (SInt32)((startRead - startRead0) * mBytesPerFrame)); in Fetch() 287 ZeroABL(abl, 0, std::min((SInt32)(nFrames * mBytesPerFrame), destStartByteOffset)); in Fetch() 292 ZeroABL(abl, destStartByteOffset + byteSize, destEndSize * mBytesPerFrame); in Fetch()
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/libs/PublicUtility/ |
H A D | CAStreamBasicDescription.h | 117 mBytesPerFrame = mBytesPerPacket = 0; in CAStreamBasicDescription() 146 mBytesPerFrame = mBytesPerPacket = wordsize * inNumChannels; in CAStreamBasicDescription() 149 mBytesPerFrame = mBytesPerPacket = wordsize; in CAStreamBasicDescription() 209 …return (mBytesPerFrame > 0 && NumberInterleavedChannels()) ? mBytesPerFrame / NumberInterleavedCha… in SampleWordSize() 215 return nbytes / mBytesPerFrame; in BytesToFrames() 232 unsigned wordsize = mBytesPerFrame; 295 mBytesPerPacket = mBytesPerFrame = nChannels * sampleSize; in SetCanonical() 297 mBytesPerPacket = mBytesPerFrame = sampleSize; in SetCanonical() 316 && mBytesPerFrame == reqFrameSize in IsCanonical() 350 mBytesPerPacket = mBytesPerFrame = nChannels * wordSize; in ChangeNumberChannels() [all …]
|
H A D | CAStreamBasicDescription.cpp | 81 mBytesPerFrame = inBytesPerFrame; in CAStreamBasicDescription() 249 ioDescription.mBytesPerFrame = SizeOf32(Float32) * ioDescription.mChannelsPerFrame; in VirtualizeLinearPCMFormat() 286 ioDescription.mBytesPerFrame = 0; in ResetFormat() 314 if(ioDescription.mBytesPerFrame == 0) in FillOutFormat() 316 ioDescription.mBytesPerFrame = inTemplateDescription.mBytesPerFrame; in FillOutFormat() 469 PrintInt (" Bytes per Frame: ", inDesc.mBytesPerFrame); in PrintToLog() 659 && MATCH_WITH_WILDCARD(mBytesPerFrame) in IsEquivalent() 711 && (x.mBytesPerFrame < 1000000) in SanityCheck() 807 fmt.mBytesPerPacket = fmt.mBytesPerFrame = (bitdepth + 7) / 8; in FromText() 852 fmt.mBytesPerFrame = fmt.mBytesPerPacket = bytesPerFrame; in FromText() [all …]
|
/dports/audio/ardour6/Ardour-6.8.0/libs/appleutility/CoreAudio105/ |
H A D | CAStreamBasicDescription.h | 130 …UInt32 SampleWordSize() const { return (mBytesPerFrame > 0) ? mBytesPerFrame / NumberInterleave… in SampleWordSize() 132 UInt32 FramesToBytes(UInt32 nframes) const { return nframes * mBytesPerFrame; } in FramesToBytes() 134 Assert(mBytesPerFrame > 0, "bytesPerFrame must be > 0 in BytesToFrames"); in BytesToFrames() 135 return nbytes / mBytesPerFrame; in BytesToFrames() 156 mBytesPerPacket = mBytesPerFrame = nChannels * sizeof(Float32); in SetCanonical() 158 mBytesPerPacket = mBytesPerFrame = sizeof(Float32); in SetCanonical() 173 mBytesPerPacket = mBytesPerFrame = nChannels * wordSize; in ChangeNumberChannels() 176 mBytesPerPacket = mBytesPerFrame = wordSize; in ChangeNumberChannels()
|
H A D | CAStreamBasicDescription.cpp | 67 mBytesPerFrame = inBytesPerFrame; in CAStreamBasicDescription() 132 mBitsPerChannel, mBytesPerPacket, mFramesPerPacket, mBytesPerFrame); in PrintFormat() 144 ioDescription.mBytesPerFrame = sizeof(Float32) * ioDescription.mChannelsPerFrame; in NormalizeLinearPCMFormat() 155 ioDescription.mBytesPerFrame = 0; in ResetFormat() 183 if(ioDescription.mBytesPerFrame == 0) in FillOutFormat() 185 ioDescription.mBytesPerFrame = inTemplateDescription.mBytesPerFrame; in FillOutFormat() 260 …nt)inDescription.mBitsPerChannel, theKindString, (int)(inDescription.mBytesPerFrame / inDescriptio… in GetSimpleName() 271 …t)inDescription.mBitsPerChannel, theKindString, (int)((inDescription.mBytesPerFrame / inDescriptio… in GetSimpleName() 296 …BitsPerChannel, theKindString, thePackingString, (int)(inDescription.mBytesPerFrame / inDescriptio… in GetSimpleName() 338 PrintInt (" Bytes per Frame: ", inDesc.mBytesPerFrame); in PrintToLog() [all …]
|
/dports/net/yate/yate-6.4.0-1/modules/client/ |
H A D | coreaudio.cpp | 250 UInt32 maxPackets = data.length() / src->outFormat().mBytesPerFrame; in convertCallback() 260 data.cut(-(maxPackets * src->outFormat().mBytesPerFrame)); in convertCallback() 383 m_outDevFormat.mBitsPerChannel = m_outDevFormat.mBytesPerFrame * 8; in init() 385 m_outDevFormat.mBytesPerPacket = m_outDevFormat.mBytesPerFrame; in init() 464 m_convertToFormat.mBytesPerPacket = m_convertToFormat.mBytesPerFrame; in buildConverter() 541 if (pkts * m_outDevFormat.mBytesPerFrame > m_data.length()) in getData() 542 pkts = m_data.length() / m_outDevFormat.mBytesPerFrame; in getData() 543 data.assign(m_data.data(),pkts * m_outDevFormat.mBytesPerFrame); in getData() 544 m_data.cut(-pkts * m_outDevFormat.mBytesPerFrame ); in getData() 721 inputFormat.mBytesPerFrame = inputFormat.mBitsPerChannel / 8; in init() [all …]
|
/dports/audio/faust/faust-2.37.3/architecture/AU/AUPublic/Utility/ |
H A D | AUBuffer.cpp | 82 UInt32 bytesPerStream = SafeMultiplyAddUInt32(nFrames, format.mBytesPerFrame, 0xF) & ~0xF; in Allocate() 138 UInt32 streamInterval = (mAllocatedFrames * format.mBytesPerFrame + 0xF) & ~0xF; in PrepareBuffer() 139 UInt32 bytesPerBuffer = nFrames * format.mBytesPerFrame; in PrepareBuffer() 168 UInt32 bytesPerBuffer = nFrames * format.mBytesPerFrame; in PrepareNullBuffer() 190 mAllocatedFrames = mAllocatedBytes / (format.NumberChannelStreams() * format.mBytesPerFrame); in UseExternalBuffer()
|
/dports/audio/ardour6/Ardour-6.8.0/libs/appleutility/CoreAudio/AudioUnits/AUPublic/Utility/ |
H A D | AUBuffer.cpp | 84 UInt32 bytesPerStream = SafeMultiplyAddUInt32(nFrames, format.mBytesPerFrame, 0xF) & ~0xF; in Allocate() 140 UInt32 streamInterval = (mAllocatedFrames * format.mBytesPerFrame + 0xF) & ~0xF; in PrepareBuffer() 141 UInt32 bytesPerBuffer = nFrames * format.mBytesPerFrame; in PrepareBuffer() 170 UInt32 bytesPerBuffer = nFrames * format.mBytesPerFrame; in PrepareNullBuffer() 192 mAllocatedFrames = mAllocatedBytes / (format.NumberChannelStreams() * format.mBytesPerFrame); in UseExternalBuffer()
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/libs/AUPublic/ |
H A D | AUBuffer.cpp | 46 UInt32 bytesPerStream = SafeMultiplyAddUInt32(nFrames, format.mBytesPerFrame, 0xF) & ~0xF; in Allocate() 102 UInt32 streamInterval = (mAllocatedFrames * format.mBytesPerFrame + 0xF) & ~0xF; in PrepareBuffer() 103 UInt32 bytesPerBuffer = nFrames * format.mBytesPerFrame; in PrepareBuffer() 132 UInt32 bytesPerBuffer = nFrames * format.mBytesPerFrame; in PrepareNullBuffer() 154 mAllocatedFrames = mAllocatedBytes / (format.NumberChannelStreams() * format.mBytesPerFrame); in UseExternalBuffer()
|
/dports/games/alephone/alephone-release-20190331/Source_Files/Network/ |
H A D | network_microphone_coreaudio.cpp | 177 fOutputFormat.mBytesPerFrame = 2; in open_network_microphone() 179 fOutputFormat.mBytesPerPacket = fOutputFormat.mBytesPerFrame; in open_network_microphone() 208 fAudioBuffer->mBuffers[0].mDataByteSize = fAudioSamples * fOutputFormat.mBytesPerFrame; in open_network_microphone() 209 fAudioBuffer->mBuffers[0].mData = malloc(fAudioSamples * fOutputFormat.mBytesPerFrame); in open_network_microphone() 211 …utputFormat.mSampleRate), fOutputFormat.mChannelsPerFrame == 2, fOutputFormat.mBytesPerFrame == 2)) in open_network_microphone()
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/coreaudio-rs-0.9.1/src/audio_unit/ |
H A D | stream_format.rs | 76 mBytesPerFrame, in from_asbd() 88 … let sample_format = match SampleFormat::from_flags_and_bytes_per_frame(flags, mBytesPerFrame) { in from_asbd() 125 mBytesPerFrame: bytes_per_frame, in to_asbd()
|
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/coreaudio-rs-0.10.0/src/audio_unit/ |
H A D | stream_format.rs | 76 mBytesPerFrame, in from_asbd() 88 … let sample_format = match SampleFormat::from_flags_and_bytes_per_frame(flags, mBytesPerFrame) { in from_asbd() 125 mBytesPerFrame: bytes_per_frame, in to_asbd()
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/coreaudio-rs-0.10.0/src/audio_unit/ |
H A D | stream_format.rs | 76 mBytesPerFrame, in from_asbd() 88 … let sample_format = match SampleFormat::from_flags_and_bytes_per_frame(flags, mBytesPerFrame) { in from_asbd() 125 mBytesPerFrame: bytes_per_frame, in to_asbd()
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/coreaudio-rs-0.9.1/src/audio_unit/ |
H A D | stream_format.rs | 76 mBytesPerFrame, in from_asbd() 88 … let sample_format = match SampleFormat::from_flags_and_bytes_per_frame(flags, mBytesPerFrame) { in from_asbd() 125 mBytesPerFrame: bytes_per_frame, in to_asbd()
|
/dports/audio/xmp/xmp-4.1.0/src/ |
H A D | sound_coreaudio.c | 160 ad.mBytesPerFrame = ad.mChannelsPerFrame; in init() 162 ad.mBytesPerFrame = 2 * ad.mChannelsPerFrame; in init() 164 ad.mBytesPerPacket = ad.mBytesPerFrame; in init() 195 num_chunks = (options->rate * ad.mBytesPerFrame * latency / 1000 in init()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/macosx/native/libjsound/ |
H A D | PLATFORM_API_MacOSX_PCM.cpp | 57 TRACE1(", %ld bytes per frame\n", (long)inDesc->mBytesPerFrame); in PrintStreamDesc() 458 int maximumInFrames = inputBufferSizeInBytes / inFormat->mBytesPerFrame; in Init() 472 outBufferSize = (int)outBufferSizeInFrames * outFormat->mBytesPerFrame * 2; in Init() 474 int minOutSize = 256 * outFormat->mBytesPerFrame; in Init() 701 (int)inBusNumber, (int)inNumberFrames, (int)(inNumberFrames * device->asbd.mBytesPerFrame)); in OutputCallback() 705 int bytesToRead = inNumberFrames * device->asbd.mBytesPerFrame; in OutputCallback() 708 …tesToRead = audioBuffer->mDataByteSize / device->asbd.mBytesPerFrame * device->asbd.mBytesPerFrame; in OutputCallback() 740 …nTimeStamp->mSampleTime, (int)inNumberFrames, (int)(inNumberFrames * device->asbd.mBytesPerFrame)); in InputCallback() 791 asbd.mBytesPerFrame = asbd.mBytesPerPacket; in FillASBDForNonInterleavedPCM() 906 device->inputBufferSizeInBytes *= device->asbd.mBytesPerFrame; // convert frames to bytes in DAUDIO_Open()
|