Lines Matching refs:device
54 const AudioSystem::audio_devices device;
108 ALOGW("Unable to attach mixer to device %s: %s",
112 ALOGE("Unable to attach mixer to device default: %s",
209 for (int j = 0; mixerProp[j][i].device; j++) {
257 for (int j = 0; mixerProp[j][i].device; j++) {
305 status_t ALSAMixer::setVolume(uint32_t device, float left, float right)
307 for (int j = 0; mixerProp[j][SND_PCM_STREAM_PLAYBACK].device; j++)
308 if (mixerProp[j][SND_PCM_STREAM_PLAYBACK].device & device) {
328 status_t ALSAMixer::setGain(uint32_t device, float gain)
330 for (int j = 0; mixerProp[j][SND_PCM_STREAM_CAPTURE].device; j++)
331 if (mixerProp[j][SND_PCM_STREAM_CAPTURE].device & device) {
351 status_t ALSAMixer::setCaptureMuteState(uint32_t device, bool state)
353 for (int j = 0; mixerProp[j][SND_PCM_STREAM_CAPTURE].device; j++)
354 if (mixerProp[j][SND_PCM_STREAM_CAPTURE].device & device) {
375 status_t ALSAMixer::getCaptureMuteState(uint32_t device, bool *state)
379 for (int j = 0; mixerProp[j][SND_PCM_STREAM_CAPTURE].device; j++)
380 if (mixerProp[j][SND_PCM_STREAM_CAPTURE].device & device) {
392 status_t ALSAMixer::setPlaybackMuteState(uint32_t device, bool state)
394 for (int j = 0; mixerProp[j][SND_PCM_STREAM_PLAYBACK].device; j++)
395 if (mixerProp[j][SND_PCM_STREAM_PLAYBACK].device & device) {
416 status_t ALSAMixer::getPlaybackMuteState(uint32_t device, bool *state)
420 for (int j = 0; mixerProp[j][SND_PCM_STREAM_PLAYBACK].device; j++)
421 if (mixerProp[j][SND_PCM_STREAM_PLAYBACK].device & device) {