sumom****@users*****
sumom****@users*****
2008年 9月 25日 (木) 13:57:39 JST
Index: julius4/libsent/src/adin/adin_mic_linux_alsa.c diff -u julius4/libsent/src/adin/adin_mic_linux_alsa.c:1.7 julius4/libsent/src/adin/adin_mic_linux_alsa.c:1.8 --- julius4/libsent/src/adin/adin_mic_linux_alsa.c:1.7 Thu Jul 24 18:18:09 2008 +++ julius4/libsent/src/adin/adin_mic_linux_alsa.c Thu Sep 25 13:57:39 2008 @@ -44,7 +44,7 @@ * @author Akinobu LEE * @date Sun Feb 13 16:18:26 2005 * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * */ /* @@ -74,8 +74,10 @@ static int latency = 32; ///< Lantency time in msec. You can override this value by specifying environment valuable "LATENCY_MSEC". static boolean need_swap; ///< Whether samples need byte swap +#if (SND_LIB_MAJOR == 0) static struct pollfd *ufds; ///< Poll descriptor static int count; ///< Poll descriptor count +#endif #define MAXPOLLINTERVAL 300 ///< Read timeout in msec. @@ -444,6 +446,9 @@ return(FALSE); } break; + default: + /* do nothing */ + break; } }