search for: inputproc

Displaying 2 results from an estimated 2 matches for "inputproc".

Did you mean: inputproto
2012 Sep 30
0
Speex (in ios) really poor quality (and robotic) sound
...&audioFormat, sizeof(audioFormat)); XThrowIfError(status, ""); // Set input callback AURenderCallbackStruct callbackStruct; callbackStruct.inputProc = recordingCallback; callbackStruct.inputProcRefCon = self; status = AudioUnitSetProperty(rioUnit, kAudioOutputUnitProperty_SetInputCallback, kAudioUnitScope_Global,...
2004 Feb 07
0
OS X
...es_read = ov_read(&vf, buffer, sizeof(buffer), 0, 2, 1, &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...