Top "Avaudiopcmbuffer" questions

how to play sound with AVAudioPCMBuffer

I Cannot play sound with AVAudioPCMBuffer (though I could play with AVAudioFile). I got this error. ERROR: AVAudioBuffer.mm:169: -[…

swift ios8 avaudiopcmbuffer avaudiofile avaudioplayernode
Convert AVAudioPCMBuffer to NSData and back

How to convert AVAudioPCMBuffer to NSData? If it should be done as let data = NSData(bytes: buffer.floatChannelData, length: bufferLength) …

swift ios8 nsdata avaudiopcmbuffer