Displaying 2 results from an estimated 2 matches for "kaudioformatlinearpcm".
2004 Feb 07
0
OS X
...>mBuffers[0].mDataByteSize = bytes_read;
return noErr;
}
SomewhereThePlay Function(...){
...
AURenderCallbackStruct in;
in.inputProc = Render;
in.inputProcRefCon = NULL;
...
AudioStreamBasicDescription sFormat;
sFormat.mSampleRate = 44100;
sFormat.mFormatID = kAudioFormatLinearPCM;
sFormat.mFormatFlags = kLinearPCMFormatFlagIsSignedInteger;
sFormat.mBytesPerPacket = 4;
sFormat.mFramesPerPacket = 1;
sFormat.mBytesPerFrame = 4;
sFormat.mChannelsPerFrame = 2;
s.mBitsPerChannel = 16;
...
}
<p>You need more info's, please ask....
<p>T...
2012 Sep 30
0
Speex (in ios) really poor quality (and robotic) sound
...sizeof(flag));
XThrowIfError(status, "3");
// Describe format
AudioStreamBasicDescription audioFormat;
audioFormat.mSampleRate = 8000.00;
audioFormat.mFormatID = kAudioFormatLinearPCM;
audioFormat.mFormatFlags = kAudioFormatFlagIsSignedInteger |
kAudioFormatFlagsNativeEndian |
kAudioFormatFlagIsPacked;
audioFormat.mFramesPerPacket = 1;
a...