¡@

Home 

2014/10/15 ¤U¤È 10:13:38

iphone Programming Glossary: samplecount

Writing video + generated audio to AVAssetWriterInput, audio stuttering

http://stackoverflow.com/questions/12187124/writing-video-generated-audio-to-avassetwriterinput-audio-stuttering

startSessionAtSourceTime CMTimeMake 0 rateDenominator isRecording true return YES int writeAudioBuffer float samples sampleCount size_t n channelCount size_t nchans if self waitForAudioWriterReadiness NSLog @ WARNING writeAudioBuffer dropped frame..

Drawing waveform with AVAssetReader

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

samples are not playable audio samples. UIImage audioImageGraph SInt16 samples normalizeMax SInt16 normalizeMax sampleCount NSInteger sampleCount channelCount NSInteger channelCount imageHeight float imageHeight CGSize imageSize CGSizeMake sampleCount.. audio samples. UIImage audioImageGraph SInt16 samples normalizeMax SInt16 normalizeMax sampleCount NSInteger sampleCount channelCount NSInteger channelCount imageHeight float imageHeight CGSize imageSize CGSizeMake sampleCount imageHeight.. NSInteger sampleCount channelCount NSInteger channelCount imageHeight float imageHeight CGSize imageSize CGSizeMake sampleCount imageHeight UIGraphicsBeginImageContext imageSize CGContextRef context UIGraphicsGetCurrentContext CGContextSetFillColorWithColor..