byte*转CMSampleBufferRef
-(AudioStreamBasicDescription) getAudioFormat{
AudioStreamBasicDescription format;
format.mSampleRate = 44100;
format.mFormatID = kAudioFormatLinearPCM;
format.mFormatFlags = kLinearPCMFormatFlagIsPacked | kLinearPCMFormatFlagIsSignedInteger;
format.mBytesPerPacket = 2*2;
format.mFramesPerPacket = 1;
format.mBytesPerFrame = 2*2;
format.mChannelsPerFrame = 2;
format.mBitsPerChannel = 16;
format.mReserved = 0;
return format;