Merge branch 'ardour'
This commit is contained in:
commit
80d4950536
@ -60,7 +60,7 @@ def build(bld):
|
||||
#obj.uselib = 'GLIB'
|
||||
obj.vnum = LIBAAF_LIB_VERSION
|
||||
obj.install_path = bld.env['LIBDIR']
|
||||
obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"', '_POSIX_C_SOURCE=200809L' ]
|
||||
obj.defines += [ 'PACKAGE="' + I18N_PACKAGE + '"', '_POSIX_C_SOURCE=200809L', '_XOPEN_SOURCE=500' ]
|
||||
|
||||
def shutdown():
|
||||
autowaf.shutdown()
|
||||
|
@ -272,8 +272,8 @@ Channel::process_controller (Parser & parser, EventTwoBytes *tb)
|
||||
if (tb->controller_number < 32) { /* unsigned: no test for >= 0 */
|
||||
|
||||
/* if this controller is already known to use 14 bits,
|
||||
then treat this value as the MSB, and combine it
|
||||
with the existing LSB.
|
||||
then treat this value as the MSB, and as per MIDI spec, set
|
||||
LSB to zero.
|
||||
|
||||
otherwise, just treat it as a 7 bit value, and set
|
||||
it directly.
|
||||
@ -282,7 +282,7 @@ Channel::process_controller (Parser & parser, EventTwoBytes *tb)
|
||||
cv = (unsigned short) _controller_val[tb->controller_number];
|
||||
|
||||
if (_controller_14bit[tb->controller_number]) {
|
||||
cv = ((tb->value & 0x7f) << 7) | (cv & 0x7f);
|
||||
cv = (tb->value & 0x7f) << 7;
|
||||
} else {
|
||||
cv = tb->value;
|
||||
}
|
||||
|
1690
share/patchfiles/Kurzweil_K2700.midnam
Normal file
1690
share/patchfiles/Kurzweil_K2700.midnam
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user