Browse Source

Change prototype

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1748 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.69
sletz 17 years ago
parent
commit
0804b7a12b
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      example-clients/internal_metro.cpp
  2. +2
    -2
      linux/alsa/JackAlsaDriver.cpp
  3. +1
    -1
      tests/jack_test.cpp

+ 1
- 1
example-clients/internal_metro.cpp View File

@@ -48,7 +48,7 @@ InternalMetro::InternalMetro(int freq, double max_amp, int dur_arg, int bpm, cha
int i, attack_length, decay_length;
double *amp;
int attack_percent = 1, decay_percent = 10;
char *bpm_string = "bpm";
const char *bpm_string = "bpm";

offset = 0;



+ 2
- 2
linux/alsa/JackAlsaDriver.cpp View File

@@ -2494,8 +2494,8 @@ extern "C"
jack_nframes_t srate = 48000;
jack_nframes_t frames_per_interrupt = 1024;
unsigned long user_nperiods = 2;
char *playback_pcm_name = "hw:0";
char *capture_pcm_name = "hw:0";
const char *playback_pcm_name = "hw:0";
const char *capture_pcm_name = "hw:0";
int hw_monitoring = FALSE;
int hw_metering = FALSE;
int capture = FALSE;


+ 1
- 1
tests/jack_test.cpp View File

@@ -469,7 +469,7 @@ int main (int argc, char *argv[])
jack_status_t status;
char portname[128] = "port";
char filename[128] = "framefile.ext";
char *nullportname = "";
const char *nullportname = "";
int option_index;
int opt;
int a = 0; // working number for in/out port (PHY)...


Loading…
Cancel
Save