Displaying 2 results from an estimated 2 matches for "audiostreambasicdescript".
2004 Feb 07
0
OS X
...mp;current_section);
memcpy(ioData->mBuffers[0].mData, buffer, bytes_read);
ioData->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.mBi...
2012 Sep 30
0
Speex (in ios) really poor quality (and robotic) sound
...kAudioUnitScope_Output,
kOutputBus,
&flag,
sizeof(flag));
XThrowIfError(status, "3");
// Describe format
AudioStreamBasicDescription audioFormat;
audioFormat.mSampleRate = 8000.00;
audioFormat.mFormatID = kAudioFormatLinearPCM;
audioFormat.mFormatFlags = kAudioFormatFlagIsSignedInteger |
kAudioFormatFlagsNativeEndian...