I use openal to record and use openal to play ;
use QT demo to do the communication.
When I put on the Bluetooth headset, as long as I turn on the audio record by BT, the audio playback will be blocked, unable to consume data. And the trumpet is black-color at this time;
But when the trumpet is gray, the record will not block the playback,i can play and record .
It's a random event。
I wonder if there is a program that can detect or change this blocking?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Created
I use kNewTimePitchParampitch ;
audiounit (in)---convert(pitch shift)---audiounit( out);I can get the result about pitch shift
status =AudioUnitSetParameter(convert, kNewTimePitchParamPitch, kAudioUnitScopeGlobal, 0, pitchShift, 0);
change param:AudioUnitSetParameter(conver, kNewTimePitchParamRate , kAudioUnitScope_Global, 0, pitchShift, 0);
the AudioUnitAddRenderNotify can not get the data which have been change speech. the data is 00.
so how to use the rate change?