Update of /cvsroot/alsa/alsa-kernel/core/oss In directory sc8-pr-cvs1:/tmp/cvs-serv2996
Modified Files: pcm_plugin.c pcm_plugin.h Log Message: - fixed the debug print for the recent gcc. - fixed the missing initialization of the recording frame size through plugin. the problem of zero-size read with the rate plugin should be fixed now. Index: pcm_plugin.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/oss/pcm_plugin.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- pcm_plugin.c 6 Aug 2003 17:45:09 -0000 1.16 +++ pcm_plugin.c 16 Sep 2003 16:34:48 -0000 1.17 @@ -646,6 +646,7 @@ nchannels = format->channels; snd_assert(plugin->access == SNDRV_PCM_ACCESS_RW_INTERLEAVED || format->channels <= 1, return -ENXIO); for (channel = 0; channel < nchannels; channel++, v++) { + v->frames = count; v->enabled = 1; v->wanted = (stream == SNDRV_PCM_STREAM_CAPTURE); v->area.addr = buf; Index: pcm_plugin.h =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/oss/pcm_plugin.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- pcm_plugin.h 6 Aug 2003 17:45:09 -0000 1.5 +++ pcm_plugin.h 16 Sep 2003 16:34:48 -0000 1.6 @@ -243,9 +243,9 @@ size_t samples); #ifdef PLUGIN_DEBUG -#define pdprintf( args... ) printk( "plugin: " ##args) +#define pdprintf( fmt, args... ) printk( "plugin: " fmt, ##args) #else -#define pdprintf( args... ) { ; } +#define pdprintf( fmt, args... ) #endif #endif /* __PCM_PLUGIN_H */ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog