mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
[Android] Retrieve isMicStarted from AndroidAudio state
This commit is contained in:
1 parent
a42f5234c5
commit
6531c7f4f8
7 files changed
+26
-6
No files matched your search
@@ -40,7 +40,7 @@ bool AndroidAudio_Recording_SetSampleRate(AndroidAudioState *state, int sampleRa
|
||||
return false;
|
||||
}
|
||||
state->input_sample_rate = sampleRate;
|
||||
INFO_LOG(AUDIO, "AndroidAudio_Recording_SetSampleRate");
|
||||
INFO_LOG(AUDIO, "AndroidAudio_Recording_SetSampleRate=%d", sampleRate);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -75,6 +75,13 @@ bool AndroidAudio_Recording_Stop(AndroidAudioState *state) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool AndroidAudio_Recording_State(AndroidAudioState *state) {
|
||||
if (!state) {
|
||||
return false;
|
||||
}
|
||||
return state->input_enable;
|
||||
}
|
||||
|
||||
bool AndroidAudio_Resume(AndroidAudioState *state) {
|
||||
if (!state) {
|
||||
ERROR_LOG(AUDIO, "Audio was shutdown, cannot resume!");
|
||||
|
||||
Reference in new issue
Block a user