Lines Matching refs:alsa
35 #include <alsa/asoundlib.h>
57 // external/libasound/alsa-lib-1.0.16/src/pcm/pcm_null.c!
160 ROUTE_ALL, "alsa.mixer.playback.master", "PCM", NULL
164 ROUTE_ALL, "alsa.mixer.capture.master", "Capture", NULL
169 { ROUTE_ALL, "alsa.mixer.playback.master", "PCM", NULL},
170 { ROUTE_ALL, "alsa.mixer.capture.master", "Capture", NULL}
176 {ROUTE_EARPIECE, "alsa.mixer.playback.earpiece", "Earpiece", NULL},
177 {ROUTE_EARPIECE, "alsa.mixer.capture.earpiece", "Capture", NULL}
180 {ROUTE_SPEAKER, "alsa.mixer.playback.speaker", "Speaker", NULL},
181 {ROUTE_SPEAKER, "alsa.mixer.capture.speaker", "", NULL}
184 {ROUTE_BLUETOOTH_SCO, "alsa.mixer.playback.bluetooth.sco", "Bluetooth", NULL},
185 {ROUTE_BLUETOOTH_SCO, "alsa.mixer.capture.bluetooth.sco", "Bluetooth Capture", NULL}
188 {ROUTE_HEADSET, "alsa.mixer.playback.headset", "Headphone", NULL},
189 {ROUTE_HEADSET, "alsa.mixer.capture.headset", "Capture", NULL}
192 {ROUTE_BLUETOOTH_A2DP, "alsa.mixer.playback.bluetooth.a2dp", "Bluetooth A2DP", NULL},
193 {ROUTE_BLUETOOTH_A2DP, "alsa.mixer.capture.bluetooth.a2dp", "Bluetooth A2DP Capture", NULL}
415 LOGI("%s] Setting ALSA device.", __func__);
767 LOG_ALWAYS_FATAL("Failed to allocate ALSA hardware parameters!");
771 LOG_ALWAYS_FATAL("Failed to allocate ALSA software parameters!");
1014 LOGI("Try to open ALSA %s device %s", stream, devName);
1017 // The PCM stream is opened in blocking mode, per ALSA defaults. The
1044 LOGI("Initialized ALSA %s device %s", stream, devName);
1078 ALSA to start the transfer when the buffer is almost full.
1083 // For playback, configure ALSA to start the transfer when the
1089 // For recording, configure ALSA to start the transfer on the
1187 // or input from multiple devices by using the ALSA plugins, but this is
1206 LOGD("\n------------------------>>>>>> ALSA OPEN mode %d,device %d \n",mode,device);