summaryrefslogtreecommitdiff
path: root/muse2/muse
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2013-02-17 21:25:55 +0000
committerRobert Jonsson <spamatica@gmail.com>2013-02-17 21:25:55 +0000
commit760c21462a1fe1bd460cc98ea5209e8a270c411e (patch)
tree05519dc6a2b5a6048eec069fd21b36b1ed3bd7ff /muse2/muse
parente41ebf708802518e7211cc98d0cd03ca4b9a2d63 (diff)
patch from Willy Foobar
Diffstat (limited to 'muse2/muse')
-rw-r--r--muse2/muse/driver/jack.cpp4
-rw-r--r--muse2/muse/remote/pyapi.cpp2
-rw-r--r--muse2/muse/song.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/muse2/muse/driver/jack.cpp b/muse2/muse/driver/jack.cpp
index f3e6be20..3deaf160 100644
--- a/muse2/muse/driver/jack.cpp
+++ b/muse2/muse/driver/jack.cpp
@@ -229,7 +229,7 @@ static int processSync(jack_transport_state_t state, jack_position_t* pos, void*
audioState = Audio::START_PLAY;
break;
- //case JackTransportNetStarting:
+ //case JackTransportNetStarting: -- only available in Jack-2!
// FIXME: Quick and dirty hack to support both Jack-1 and Jack-2
// Really need a config check of version...
case 4:
@@ -1603,7 +1603,7 @@ int JackAudioDevice::getState()
//printf("JackAudioDevice::getState JackTransportStarting\n");
return Audio::START_PLAY;
- //case JackTransportNetStarting:
+ //case JackTransportNetStarting: -- only available in Jack-2!
// FIXME: Quick and dirty hack to support both Jack-1 and Jack-2
// Really need a config check of version...
case 4:
diff --git a/muse2/muse/remote/pyapi.cpp b/muse2/muse/remote/pyapi.cpp
index 2a10afa4..7e03fa0e 100644
--- a/muse2/muse/remote/pyapi.cpp
+++ b/muse2/muse/remote/pyapi.cpp
@@ -980,7 +980,7 @@ PyMethodDef g_methodDefinitions[] =
{ "getDivision", getDivision, METH_VARARGS, "Number of ticks per 1/4 (?)" },
- {NULL, NULL, NULL, NULL}
+ {NULL, NULL, 0, NULL}
};
/**
diff --git a/muse2/muse/song.cpp b/muse2/muse/song.cpp
index 1ef45cd1..412b52f1 100644
--- a/muse2/muse/song.cpp
+++ b/muse2/muse/song.cpp
@@ -1385,7 +1385,7 @@ void Song::update(MusECore::SongChangedFlags_t flags, bool allowRecursion)
if (level && !allowRecursion) {
printf("THIS SHOULD NEVER HAPPEN: unallowed recursion in Song::update(%08lx), level %d!\n"
" the songChanged() signal is NOT emitted. this will\n"
- " probably cause windows being not up-to-date.\n", flags, level);
+ " probably cause windows being not up-to-date.\n", (unsigned long)flags, level);
return;
}
++level;