Home
last modified time | relevance | path

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

/device/generic/goldfish/audio/
Dtalsa.cpp32 struct mixer *gMixer0 = nullptr;
52 struct mixer *mixerGetOrOpenImpl(const unsigned card, in mixerGetOrOpenImpl()
53 struct mixer *&gMixer, in mixerGetOrOpenImpl()
56 struct mixer *mixer = ::mixer_open(card); in mixerGetOrOpenImpl() local
57 if (!mixer) { in mixerGetOrOpenImpl()
61 mixerSetPercentAll(::mixer_get_ctl_by_name(mixer, "Master Playback Volume"), 100); in mixerGetOrOpenImpl()
62 mixerSetPercentAll(::mixer_get_ctl_by_name(mixer, "Capture Volume"), 100); in mixerGetOrOpenImpl()
64 mixerSetValueAll(::mixer_get_ctl_by_name(mixer, "Master Playback Switch"), 1); in mixerGetOrOpenImpl()
65 mixerSetValueAll(::mixer_get_ctl_by_name(mixer, "Capture Switch"), 1); in mixerGetOrOpenImpl()
67 gMixer = mixer; in mixerGetOrOpenImpl()
[all …]
Dtalsa.h61 struct mixer *mMixer;
/device/generic/car/emulator/audio/driver/audio_extn/
Dhfp.c36 ctl = mixer_get_ctl_by_name(adev->mixer, AUDIO_PARAMETER_HFP_ENABLE); in hfp_set_enable()
59 mixer_get_ctl_by_name(adev->mixer, AUDIO_PARAMETER_HFP_SET_SAMPLING_RATE); in hfp_set_sampling_rate()
80 ctl = mixer_get_ctl_by_name(adev->mixer, AUDIO_PARAMETER_HFP_VOLUME); in hfp_set_volume()
/device/linaro/dragonboard/audio/
Daudio_hw.h78 struct mixer *mixer; member
Daudio_hw.c1118 mixer_close(adev->mixer); in adev_close()
1166 adev->mixer = mixer_open(out_card); in adev_open()
1167 if (!adev->mixer) { in adev_open()
1200 mixer_close(adev->mixer); in adev_open()
/device/amlogic/yukawa/hal/audio/
Daudio_hw.h80 struct mixer *mixer; member
Daudio_hw.c1134 mixer_close(adev->mixer); in adev_close()
1178 adev->mixer = mixer_open(CARD_OUT); in adev_open()
1179 if (!adev->mixer) { in adev_open()
1209 mixer_close(adev->mixer); in adev_open()
/device/generic/car/emulator/audio/driver/
Daudio_hw.h34 struct mixer *mixer; // Protected by this->lock member
Daudio_hw.c1598 if (adev->mixer) { in adev_close()
1599 mixer_close(adev->mixer); in adev_close()
1691 adev->mixer = mixer_open(PCM_CARD); in adev_open()
1693 ALOGD("%s Mixer name %s", __func__, mixer_get_name(adev->mixer)); in adev_open()
1698 for (int i = 0; i < (int)mixer_get_num_ctls(adev->mixer); i++) { in adev_open()
1699 ctl = mixer_get_ctl(adev->mixer, i); in adev_open()
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto4660 optional uint32 mixer = 3; field
4706 optional uint32 mixer = 3; field