changeset 136:8ac24d753304

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 05 Oct 2012 04:11:24 +0300
parents ff0fe1d1ab3d
children f721f9f7838a
files jssmix.h jssplr.c jssplr.h
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/jssmix.h	Fri Oct 05 02:49:13 2012 +0300
+++ b/jssmix.h	Fri Oct 05 04:11:24 2012 +0300
@@ -96,7 +96,7 @@
 
 /* Main routines
  */
-JSSMixer *  jvmInit(const int outFormat, const int nChannels, const int outFreq, const int mixerID);
+JSSMixer *  jvmInit(const int outFormat, const int outChannels, const int outFreq, const int mixerID);
 int         jvmClose(JSSMixer *mixer);
 
 int         jvmSetCallback(JSSMixer *mixer, void (*cbFunction)(void *, void *), void *cbData);
--- a/jssplr.c	Fri Oct 05 02:49:13 2012 +0300
+++ b/jssplr.c	Fri Oct 05 04:11:24 2012 +0300
@@ -36,7 +36,7 @@
 
 /* Helper functions
  */
-int jmpNoteToAmigaPeriod(int note, int finetune)
+static int jmpNoteToAmigaPeriod(int note, int finetune)
 {
     int tmp = (note + finetune + 8);
     if (tmp < 0) tmp = 0; else
@@ -484,7 +484,7 @@
 
 /* Set new tempo-value of the player.
  */
-void jmpSetTempo(JSSPlayer * mp, int tempo)
+static void jmpSetTempo(JSSPlayer * mp, int tempo)
 {
     assert(mp != NULL);
     JSS_LOCK(mp);
@@ -496,7 +496,7 @@
 }
 
 
-void jmpClearChannels(JSSPlayer * mp)
+static void jmpClearChannels(JSSPlayer * mp)
 {
     int i;
     assert(mp != NULL);
--- a/jssplr.h	Fri Oct 05 02:49:13 2012 +0300
+++ b/jssplr.h	Fri Oct 05 04:11:24 2012 +0300
@@ -96,7 +96,7 @@
 
 
 // Struct holding all player related information
-typedef struct
+typedef struct _JSSPlayer
 {
     // General variables
     int     tempo,              // Current values