summaryrefslogtreecommitdiff
blob: 18cd2385bbf836ec372bbcd1981787a79bb9f3e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff -urN pd-0.37-0/src/s_audio_jack.c pd-0.37-0-fixed/src/s_audio_jack.c
--- pd-0.37-0/src/s_audio_jack.c	2003-08-19 14:13:03.000000000 -0500
+++ pd-0.37-0-fixed/src/s_audio_jack.c	2004-02-03 08:14:56.000000000 -0600
@@ -67,9 +67,8 @@
 }
 
 static int
-srate (jack_nframes_t srate, void *arg)
+jack_srate (jack_nframes_t srate, void *arg)
 {
-        printf ("jack: sample rate %ld/sec\n", srate);
 	sys_dacsr = srate;
         return 0;
 }
@@ -248,7 +247,7 @@
            the sample rate of the system changes.
         */
  
-        jack_set_sample_rate_callback (jack_client, srate, 0);
+        jack_set_sample_rate_callback (jack_client, jack_srate, 0);
 	
 
 	/* tell the JACK server to call `jack_shutdown()' if