Bug 937119 - Fix stereo setting errors on Android/OpenSLES. r=jesup

This commit is contained in:
Gian-Carlo Pascutto 2013-11-19 15:01:58 -05:00
parent 1d2c6f10d0
commit a12ad88339
2 changed files with 9 additions and 1 deletions

View File

@ -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;

View File

@ -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