{caseAudioFormat.ENCODING_PCM_8BIT:returnCons.Type.CHAR;caseAudioFormat.ENCODING_PCM_16BIT:caseAudioFormat.ENCODING_DEFAULT:returnCons.Type.SHORT;caseAudioFormat.ENCODING_PCM_FLOAT:returnCons.Type.FLOAT;caseAudioFormat.ENCODING_INVALID:default:returnCons.Type.UNDEF; } } /** * Writes the proper 44...
I have a PCM audio buffer (AVAudioPCMFormatInt16). When I try to play it using AVPlayerNode / AVAudioEngine an exception is thrown: "[[busArray objectAtIndexedSubscript:(NSUInteger)element] setFormat:format error:&nsErr]: returned false, error Error Domain=NSOSStatusErrorDomain Code=-108...