diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/alsaaudio.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c index 101af3367e..77a08a1c58 100644 --- a/audio/alsaaudio.c +++ b/audio/alsaaudio.c @@ -86,9 +86,9 @@ static struct { }; struct alsa_params_req { - int freq; + unsigned int freq; audfmt_e fmt; - int nchannels; + unsigned int nchannels; unsigned int buffer_size; unsigned int period_size; }; @@ -285,7 +285,8 @@ static int alsa_open (int in, struct alsa_params_req *req, { snd_pcm_t *handle; snd_pcm_hw_params_t *hw_params; - int err, freq, nchannels; + int err; + unsigned int freq, nchannels; const char *pcm_name = in ? conf.pcm_name_in : conf.pcm_name_out; unsigned int period_size, buffer_size; snd_pcm_uframes_t obt_buffer_size; |