mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 937119 - Fix stereo setting errors on Android/OpenSLES. r=jesup
This commit is contained in:
parent
1d2c6f10d0
commit
a12ad88339
@ -256,6 +256,14 @@ int32_t OpenSlesInput::StereoRecordingIsAvailable(bool& available) { // NOLINT
|
||||
return 0;
|
||||
}
|
||||
|
||||
int32_t OpenSlesInput::SetStereoRecording(bool enable) { // NOLINT
|
||||
if (enable) {
|
||||
return -1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
int32_t OpenSlesInput::StereoRecording(bool& enabled) const { // NOLINT
|
||||
enabled = false;
|
||||
return 0;
|
||||
|
@ -101,7 +101,7 @@ class OpenSlesInput {
|
||||
|
||||
// Stereo support
|
||||
int32_t StereoRecordingIsAvailable(bool& available); // NOLINT
|
||||
int32_t SetStereoRecording(bool enable) { return -1; }
|
||||
int32_t SetStereoRecording(bool enable);
|
||||
int32_t StereoRecording(bool& enabled) const; // NOLINT
|
||||
|
||||
// Delay information and control
|
||||
|
Loading…
Reference in New Issue
Block a user