-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Horgand chooses to open ALSA with the default name "plughw:0,0".
If there isn't such a port on the system, opening will fail.
Is it fine to replace "plughw" with ordinary "hw"? (such as "default" port)
Lines 129 to 136 in e790c4f
| char pcm_name[50]; | |
| sprintf(pcm_name, "plughw:0,0"); | |
| if (snd_pcm_open(&playback_handle, pcm_name, SND_PCM_STREAM_PLAYBACK, 0) < 0) { | |
| fprintf(stderr, "cannot open audio device %s\n", pcm_name); | |
| return false; | |
| } |
Metadata
Metadata
Assignees
Labels
No labels