Open the sound device for audio output. Definition at line 138 of file audio_output_alsa.c. 00139 { 00140 /* Open the device */ 00141 if (snd_pcm_open(&devhnd, config_getopt("audio.output.alsa.device"), 00142 SND_PCM_STREAM_PLAYBACK, 0) != 0) 00143 goto error; 00144 00145 #ifdef BUILD_VOLUME 00146 audio_output_volume_open(); 00147 #endif /* BUILD_VOLUME */ 00148 00149 return (0); 00150 error: 00151 g_printerr("%s\n", _("Cannot open the audio device.")); 00152 return (-1); 00153 }
Here is the call graph for this function:
![]() |
1.6.3