aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metronome.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/metronome.c b/metronome.c
index b43549a..14293ac 100644
--- a/metronome.c
+++ b/metronome.c
@@ -25,7 +25,7 @@ static const uint8_t silence[BUFFER_SIZE];
static int bpm = 120;
static const char *pattern = "1222";
-static int set_params(snd_pcm_t *pcm_handle)
+static int set_alsa_params(snd_pcm_t *pcm_handle)
{
snd_pcm_hw_params_t *hwparams;
unsigned int rate = SAMPLE_RATE;
@@ -196,7 +196,7 @@ int main(int argc, char *argv[])
return 1;
}
- if (set_params(pcm_handle) < 0) {
+ if (set_alsa_params(pcm_handle) < 0) {
return 1;
}