Skip to content

Commit fbf0f17

Browse files
author
synap
committed
signed ness fixes.
1 parent 49446b5 commit fbf0f17

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

libvisual-plugins/plugins/input/alsa/input_alsa.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Authors: Vitaly V. Bursov <vitalyvb@urk,net>
66
* Dennis Smit <[email protected]>
77
*
8-
* $Id: input_alsa.c,v 1.22 2006-01-22 13:25:26 synap Exp $
8+
* $Id: input_alsa.c,v 1.23 2006-02-13 20:36:11 synap Exp $
99
*
1010
* This program is free software; you can redistribute it and/or modify
1111
* it under the terms of the GNU Lesser General Public License as
@@ -39,7 +39,7 @@
3939

4040
#include <libvisual/libvisual.h>
4141

42-
#define PCM_BUF_SIZE 512
42+
#define PCM_BUF_SIZE 4096
4343

4444
typedef struct {
4545
snd_pcm_t *chandle;
@@ -89,11 +89,11 @@ int inp_alsa_init (VisPluginData *plugin)
8989
{
9090
snd_pcm_hw_params_t *hwparams = NULL;
9191
alsaPrivate *priv;
92-
int rate = inp_alsa_var_samplerate;
93-
int exact_rate;
92+
unsigned int rate = inp_alsa_var_samplerate;
93+
unsigned int exact_rate;
94+
unsigned int tmp;
9495
int dir;
9596
int err;
96-
int tmp;
9797

9898
#if ENABLE_NLS
9999
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);

0 commit comments

Comments
 (0)