File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
libvisual-plugins/plugins/input/alsa Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 55 * Authors: Vitaly V. Bursov <vitalyvb@urk,net>
6677 *
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
3939
4040#include <libvisual/libvisual.h>
4141
42- #define PCM_BUF_SIZE 512
42+ #define PCM_BUF_SIZE 4096
4343
4444typedef 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 );
You can’t perform that action at this time.
0 commit comments