iphone Programming Glossary: numbytestocopy
iOS Stream Audio from one iOS Device to Another http://stackoverflow.com/questions/8357514/ios-stream-audio-from-one-ios-device-to-another Using a memcpy memcpy inCompleteAQBuffer mAudioData THIS mMyAudioBuffer THIS mMyPlayBufferPosition sizeof float numBytesToCopy You'll also need to set the buffer size inCompleteAQBuffer mAudioDataByteSize numBytesToCopy numBytesToCopy is always going.. sizeof float numBytesToCopy You'll also need to set the buffer size inCompleteAQBuffer mAudioDataByteSize numBytesToCopy numBytesToCopy is always going to be the same unless you're just about to run out of data. For example if your buffer is.. float numBytesToCopy You'll also need to set the buffer size inCompleteAQBuffer mAudioDataByteSize numBytesToCopy numBytesToCopy is always going to be the same unless you're just about to run out of data. For example if your buffer is 2 seconds worth..
|