diff options
Diffstat (limited to 'media/audio/cras/cras_input.cc')
-rw-r--r-- | media/audio/cras/cras_input.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/audio/cras/cras_input.cc b/media/audio/cras/cras_input.cc index 0b86446..3fae8df 100644 --- a/media/audio/cras/cras_input.cc +++ b/media/audio/cras/cras_input.cc @@ -301,6 +301,10 @@ double CrasInputStream::GetVolume() { return GetVolumeRatioFromDecibels(dB); } +bool CrasInputStream::IsMuted() { + return false; +} + double CrasInputStream::GetVolumeRatioFromDecibels(double dB) const { return pow(10, dB / 20.0); } |