From c36946844810d6cc33c0322850f7cae6102bafb8 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 2 Apr 2017 22:37:30 +0200 Subject: Use default alsa device --- metronome.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metronome.c b/metronome.c index 2882307..b39fc6d 100644 --- a/metronome.c +++ b/metronome.c @@ -193,7 +193,7 @@ int main(int argc, char *argv[]) return 1; } - if (snd_pcm_open(&pcm_handle, /*"default"*/ "plughw:1,0", SND_PCM_STREAM_PLAYBACK, 0) < 0) { + if (snd_pcm_open(&pcm_handle, "default", SND_PCM_STREAM_PLAYBACK, 0) < 0) { printf("Failed opening device\n"); return 1; } -- cgit v1.2.3