Skip to content

Commit

Permalink
Changed MIN_VOLUME and MAX_VOLUME constants from int to long to match…
Browse files Browse the repository at this point in the history
… variable "vol"
  • Loading branch information
pasabanov authored Jan 14, 2023
1 parent 57ca528 commit 898d13d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
# define ALSA_CHECK(...) do {} while (0)
#endif

static const int MIN_VOLUME = 0;
static const int MAX_VOLUME = 150;
static const long MIN_VOLUME = 0;
static const long MAX_VOLUME = 150;

static snd_pcm_t *handle = NULL;

Expand Down

0 comments on commit 898d13d

Please sign in to comment.