comparison libmpdemux/audio_in.c @ 8254:772d6d27fd66

warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
author michael
date Sat, 23 Nov 2002 10:58:14 +0000
parents ef4046febd24
children 31f12f99118b
comparison
equal deleted inserted replaced
8253:7eb9d868f2e9 8254:772d6d27fd66
107 } 107 }
108 } 108 }
109 109
110 int audio_in_set_device(audio_in_t *ai, char *device) 110 int audio_in_set_device(audio_in_t *ai, char *device)
111 { 111 {
112 #ifdef HAVE_ALSA9
112 int i; 113 int i;
114 #endif
113 if (ai->setup) return -1; 115 if (ai->setup) return -1;
114 switch (ai->type) { 116 switch (ai->type) {
115 #ifdef HAVE_ALSA9 117 #ifdef HAVE_ALSA9
116 case AUDIO_IN_ALSA: 118 case AUDIO_IN_ALSA:
117 if (ai->alsa.device) free(ai->alsa.device); 119 if (ai->alsa.device) free(ai->alsa.device);