Home
last modified time | relevance | path

Searched refs:alsaMixer (Results 1 – 1 of 1) sorted by relevance

/hardware/interfaces/audio/aidl/default/usb/
DUsbAlsaMixerControl.cpp36 auto alsaMixer = std::make_shared<alsa::Mixer>(card); in setDeviceConnectionState() local
37 if (!alsaMixer->isValid()) { in setDeviceConnectionState()
40 alsaMixer->setMasterMute(masterMuted); in setDeviceConnectionState()
41 alsaMixer->setMasterVolume(masterVolume); in setDeviceConnectionState()
43 mMixerControls.emplace(card, alsaMixer); in setDeviceConnectionState()
79 auto alsaMixer = getAlsaMixer(card); in setVolumes() local
80 if (alsaMixer == nullptr) { in setVolumes()
84 return alsaMixer->setVolumes(volumes); in setVolumes()