Update of /cvsroot/alsa/alsa-kernel/pci/ice1712
In directory sc8-pr-cvs1:/tmp/cvs-serv27458

Modified Files:
        ice1724.c 
Log Message:
don't set the alignment constraint in the capture.



Index: ice1724.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/ice1724.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ice1724.c   25 Feb 2003 15:05:08 -0000      1.1
+++ ice1724.c   28 Feb 2003 14:24:37 -0000      1.2
@@ -582,7 +582,9 @@
        .periods_max =          1024,
 };
 
-/* FIXME: it seems some alignment is needed for buffer and period sizes */
+/* multi-channel playback needs alignment 8x32bit regarless of the channels
+ * actually used
+ */
 #define VT1724_BUFFER_ALIGN    0x20
 
 static int snd_vt1724_playback_pro_open(snd_pcm_substream_t * substream)
@@ -622,10 +624,6 @@
                snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, 
&hw_constraints_rates_192);
        else
                snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, 
&hw_constraints_rates_96);
-       snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES,
-                                  VT1724_BUFFER_ALIGN);
-       snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_BUFFER_BYTES,
-                                  VT1724_BUFFER_ALIGN);
        return 0;
 }
 



-------------------------------------------------------
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

Reply via email to