Update of /cvsroot/alsa/alsa-kernel/isa
In directory sc8-pr-cvs1:/tmp/cvs-serv13235/isa

Modified Files:
        es18xx.c 
Log Message:
[PATCH: es18xx-hw_free-fix.dif]

- added the missing hw_free callbacks to free the pcm buffer.



Index: es18xx.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/es18xx.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- es18xx.c    7 Jan 2003 10:25:27 -0000       1.23
+++ es18xx.c    7 Jan 2003 10:54:28 -0000       1.24
@@ -460,6 +460,11 @@
        return 0;
 }
 
+static int snd_es18xx_pcm_hw_free(snd_pcm_substream_t * substream)
+{
+       return snd_pcm_lib_free_pages(substream);
+}
+
 static int snd_es18xx_playback1_prepare(es18xx_t *chip,
                                        snd_pcm_substream_t *substream)
 {
@@ -1540,6 +1545,7 @@
        .close =        snd_es18xx_playback_close,
        .ioctl =        snd_pcm_lib_ioctl,
        .hw_params =    snd_es18xx_playback_hw_params,
+       .hw_free =      snd_es18xx_pcm_hw_free,
        .prepare =      snd_es18xx_playback_prepare,
        .trigger =      snd_es18xx_playback_trigger,
        .pointer =      snd_es18xx_playback_pointer,
@@ -1550,6 +1556,7 @@
        .close =        snd_es18xx_capture_close,
        .ioctl =        snd_pcm_lib_ioctl,
        .hw_params =    snd_es18xx_capture_hw_params,
+       .hw_free =      snd_es18xx_pcm_hw_free,
        .prepare =      snd_es18xx_capture_prepare,
        .trigger =      snd_es18xx_capture_trigger,
        .pointer =      snd_es18xx_capture_pointer,



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to