Update of /cvsroot/alsa/alsa-lib/src/pcm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8922

Modified Files:
        pcm_null.c 
Log Message:
initialize hw_params->info

Index: pcm_null.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_null.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- pcm_null.c  17 Mar 2004 11:48:15 -0000      1.50
+++ pcm_null.c  3 May 2004 14:38:46 -0000       1.51
@@ -275,6 +275,8 @@
 static int snd_pcm_null_hw_refine(snd_pcm_t *pcm ATTRIBUTE_UNUSED, 
snd_pcm_hw_params_t *params)
 {
        int err = snd_pcm_hw_refine_soft(pcm, params);
+       params->info = SND_PCM_INFO_MMAP | SND_PCM_INFO_MMAP_VALID |
+                      SND_PCM_INFO_RESUME | SND_PCM_INFO_PAUSE;
        params->fifo_size = 0;
        return err;
 }



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to