I am still trying to figure out how that works. I have called upon a notification which help to send data packets to the other iPhone in the network.īut I do not know how to read the data on the other side. RecordState->currentPacket = inNumberPacketDescriptions ĪudioQueueEnqueueBuffer(recordState->queue, inBuffer, 0, NULL) OSStatus status = dataWithBytes:inBuffer->mAudioData length:inBuffer->mAudioDataByteSize]) Printf("Writing buffer %lld\n", recordState->currentPacket) inNumberPacketDescriptions = inBuffer->mAudioDataByteSize / recordState->dataFormat.mBytesPerPacket bug in AVAudioPlayer when playing downloaded data in NSData - we have to download the file. if (inNumberPacketDescriptions = 0
0 Comments
Leave a Reply. |