[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdemultimedia/kscd/libwm
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2004-09-17 18:37:54
Message-ID: 20040917183754.02538126C6 () office ! kde ! org
[Download RAW message or body]

CVS commit by aseigo: 

fix compilation on Solaris. based on a patch by morganc at mac dot com


  M +4 -3      plat_sun_cdda.c   1.9


--- kdemultimedia/kscd/libwm/plat_sun_cdda.c  #1.8:1.9
@@ -191,4 +191,5 @@ wmcdda_read(struct cdda_device* pdev, st
     unsigned char               *q;
     extern int          speed;
+    unsigned char*      rawbuf = block->buf;
 
     if(pdev->fd < 0 && (wmcdda_init(pdev, block) < 0)) {
@@ -264,5 +265,5 @@ wmcdda_read(struct cdda_device* pdev, st
             block->frame =  unbcd[q[9]];
             block->status = WM_CDM_PLAYING;
-            block->buflen = cdda.nframes * CDDABLKSIZE;
+            block->buflen = cdda.cdda_length;
         }
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic