You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it/would it be possible to set kAudioSessionMode_Measurement? I have tried add the following but it did not work.
// try to set the session mode
UInt32 sessionMode = kAudioSessionMode_Measurement;
CheckError( AudioSessionSetProperty (kAudioSessionMode_Measurement,
sizeof (kAudioSessionMode_Measurement),
&sessionMode), "Could not set mode");
Thanks,
Ross
The text was updated successfully, but these errors were encountered:
Ah, spotted my mistake. It should be the following. Is this something worth including in novocaine?
UInt32 sessionMode = kAudioSessionMode_Measurement;
CheckError( AudioSessionSetProperty (kAudioSessionProperty_Mode,
sizeof (sessionMode),
&sessionMode), "Could not set mode");
// Set the audio session active
CheckError( AudioSessionSetActive(YES), "Couldn't activate the audio session");
Hello,
Is it/would it be possible to set kAudioSessionMode_Measurement? I have tried add the following but it did not work.
Thanks,
Ross
The text was updated successfully, but these errors were encountered: