Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/default/alsa/
DMixer.cpp44 const std::map<Mixer::Control, std::vector<Mixer::ControlNamesAndExpectedCtlType>>
45 Mixer::kPossibleControls = {
46 {Mixer::MASTER_SWITCH, {{"Master Playback Switch", MIXER_CTL_TYPE_BOOL}}},
47 {Mixer::MASTER_VOLUME, {{"Master Playback Volume", MIXER_CTL_TYPE_INT}}},
48 {Mixer::HW_VOLUME,
52 {Mixer::MIC_SWITCH, {{"Capture Switch", MIXER_CTL_TYPE_BOOL}}},
53 {Mixer::MIC_GAIN, {{"Capture Volume", MIXER_CTL_TYPE_INT}}}};
56 Mixer::Controls Mixer::initializeMixerControls(struct mixer* mixer) { in initializeMixerControls()
77 std::ostream& operator<<(std::ostream& s, Mixer::Control c) { in operator <<()
79 case Mixer::Control::MASTER_SWITCH: in operator <<()
[all …]
DMixer.h35 class Mixer {
37 explicit Mixer(int card);
38 ~Mixer();
/hardware/interfaces/audio/aidl/default/usb/
DUsbAlsaMixerControl.h45 std::shared_ptr<alsa::Mixer> getAlsaMixer(int card);
46 std::map<int, std::shared_ptr<alsa::Mixer>> getAlsaMixers();
51 std::map<int, std::shared_ptr<alsa::Mixer>> mMixerControls GUARDED_BY(mLock);
DUsbAlsaMixerControl.cpp36 auto alsaMixer = std::make_shared<alsa::Mixer>(card); in setDeviceConnectionState()
87 std::shared_ptr<alsa::Mixer> UsbAlsaMixerControl::getAlsaMixer(int card) { in getAlsaMixer()
93 std::map<int, std::shared_ptr<alsa::Mixer>> UsbAlsaMixerControl::getAlsaMixers() { in getAlsaMixers()
/hardware/interfaces/audio/aidl/default/primary/
DPrimaryMixer.h31 class PrimaryMixer : public alsa::Mixer {
39 PrimaryMixer() : alsa::Mixer(kAlsaCard) {} in PrimaryMixer()
/hardware/interfaces/audio/aidl/default/
DAndroid.bp67 "alsa/Mixer.cpp",