Lines Matching refs:devName
631 char *devName;
697 if (deviceName(handle, flags, &devName) < 0) {
698 ALOGE("Failed to get pcm device node: %s", devName);
701 if (devName != NULL) {
702 handle->handle = pcm_open(flags, (char*)devName);
709 ALOGE("s_open: Failed to initialize ALSA device '%s'", devName);
710 free(devName);
726 free(devName);
733 char* devName;
744 if (deviceName(handle, flags, &devName) < 0) {
749 if (devName != NULL) {
750 handle->handle = pcm_open(flags, (char*)devName);
757 free(devName);
758 ALOGE("s_open: Failed to initialize ALSA device '%s'", devName);
782 free(devName);
792 if (devName != NULL) {
800 free(devName);
801 ALOGE("s_open: Failed to initialize ALSA device '%s'", devName);
831 char* devName;
841 if (deviceName(handle, flags, &devName) < 0) {
845 if (devName != NULL) {
846 handle->handle = pcm_open(flags, (char*)devName);
882 free(devName);
886 if (deviceName(handle, flags, &devName) < 0) {
890 if (devName != NULL) {
891 handle->handle = pcm_open(flags, (char*)devName);
897 free(devName);
939 free(devName);
943 ALOGE("s_start_voice_call: Failed to initialize ALSA device '%s'", devName);
944 free(devName);
951 char *devName;
961 if (deviceName(handle, flags, &devName) < 0) {
965 if (devName != NULL) {
966 handle->handle = pcm_open(flags, (char*)devName);
1002 free(devName);
1006 if (deviceName(handle, flags, &devName) < 0) {
1010 if (devName != NULL) {
1011 handle->handle = pcm_open(flags, (char*)devName);
1045 free(devName);
1049 free(devName);