diff src/xs_sidplay1.cc @ 103:fe83646e6baa

Changed plrFillBuffer()-functions to return actual number of samples computed. Rudimentary changes for return of fileinfo window. Minor tweaks for STILdb.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 11 Jan 2004 17:42:00 +0000
parents 94497283affa
children ddb513bd2610
line wrap: on
line diff
--- a/src/xs_sidplay1.cc	Sun Jan 11 16:48:05 2004 +0000
+++ b/src/xs_sidplay1.cc	Sun Jan 11 17:42:00 2004 +0000
@@ -150,7 +150,7 @@
 }
 
 
-gboolean xs_sidplay1_fillbuffer(t_xs_status *myStatus, gchar *audioBuffer, gint audioBufSize)
+guint xs_sidplay1_fillbuffer(t_xs_status *myStatus, gchar *audioBuffer, guint audioBufSize)
 {
  t_xs_sidplay1 *myPlayer = (t_xs_sidplay1 *) myStatus->player;
 
@@ -162,7 +162,7 @@
 	audioBuffer,
 	audioBufSize);
 
- return TRUE;
+ return audioBufSize;
 }