¡@

Home 

2014/10/15 ¤U¤È 10:04:48

iphone Programming Glossary: bytespersample

Difference between @interface declaration and @property declaration

http://stackoverflow.com/questions/2159725/difference-between-interface-declaration-and-property-declaration

Drawing waveform with AVAssetReader

http://stackoverflow.com/questions/5032775/drawing-waveform-with-avassetreader

@ channels u bytes packet u sampleRate f fmtDesc mChannelsPerFrame fmtDesc mBytesPerPacket fmtDesc mSampleRate UInt32 bytesPerSample 2 channelCount SInt16 normalizeMax 0 NSMutableData fullSongData NSMutableData alloc init reader startReading UInt64 totalBytes.. blockBufferRef 0 length data.mutableBytes SInt16 samples SInt16 data.mutableBytes int sampleCount length bytesPerSample for int i 0 i sampleCount i SInt16 left samples totalLeft left SInt16 right if channelCount 2 right samples totalRight.. @ channels u bytes packet u sampleRate f fmtDesc mChannelsPerFrame fmtDesc mBytesPerPacket fmtDesc mSampleRate UInt32 bytesPerSample 2 channelCount Float32 normalizeMax noiseFloor NSLog @ normalizeMax f normalizeMax NSMutableData fullSongData NSMutableData..

Write Audio To Disk From IO Unit

http://stackoverflow.com/questions/6930609/write-audio-to-disk-from-io-unit

uncertainties that I cant seem to clear up on my own. setup stereo stream format void setupStereoStreamFormat size_t bytesPerSample sizeof AudioUnitSampleType stereoStreamFormat.mFormatID kAudioFormatLinearPCM stereoStreamFormat.mFormatFlags kAudioFormatFlagsAudioUnitCanonical.. stereoStreamFormat.mFormatFlags kAudioFormatFlagsAudioUnitCanonical stereoStreamFormat.mBytesPerPacket bytesPerSample stereoStreamFormat.mFramesPerPacket 1 stereoStreamFormat.mBytesPerFrame bytesPerSample stereoStreamFormat.mChannelsPerFrame.. bytesPerSample stereoStreamFormat.mFramesPerPacket 1 stereoStreamFormat.mBytesPerFrame bytesPerSample stereoStreamFormat.mChannelsPerFrame 2 2 indicates stereo stereoStreamFormat.mBitsPerChannel 8 bytesPerSample stereoStreamFormat.mSampleRate..

How to record sound produced by mixer unit output (iOS Core Audio & Audio Graph)

http://stackoverflow.com/questions/7118429/how-to-record-sound-produced-by-mixer-unit-output-ios-core-audio-audio-graph

Converter Services . First define the input and output formats AudioStreamBasicDescription monoCanonicalFormat size_t bytesPerSample sizeof AudioUnitSampleType monoCanonicalFormat.mFormatID kAudioFormatLinearPCM monoCanonicalFormat.mFormatFlags kAudioFormatFlagsAudioUnitCanonical.. monoCanonicalFormat.mFormatFlags kAudioFormatFlagsAudioUnitCanonical monoCanonicalFormat.mBytesPerPacket bytesPerSample monoCanonicalFormat.mFramesPerPacket 1 monoCanonicalFormat.mBytesPerFrame bytesPerSample monoCanonicalFormat.mChannelsPerFrame.. bytesPerSample monoCanonicalFormat.mFramesPerPacket 1 monoCanonicalFormat.mBytesPerFrame bytesPerSample monoCanonicalFormat.mChannelsPerFrame 1 monoCanonicalFormat.mBitsPerChannel 8 bytesPerSample monoCanonicalFormat.mSampleRate..