mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
amend e1f94bbb4a (32/64bit int64 compat)
This commit is contained in:
parent
e1f94bbb4a
commit
baba08c264
1 changed files with 8 additions and 8 deletions
|
|
@ -874,7 +874,7 @@ PTFFormat::parsemidi(void) {
|
||||||
midiregionname,
|
midiregionname,
|
||||||
regionnumber++,
|
regionnumber++,
|
||||||
//(int64_t)mc.zero,
|
//(int64_t)mc.zero,
|
||||||
(int64_t)0xe8d4a51000ull,
|
(int64_t)0xe8d4a51000ULL,
|
||||||
(int64_t)(0),
|
(int64_t)(0),
|
||||||
//(int64_t)(max_pos*sessionrate*60/(960000*120)),
|
//(int64_t)(max_pos*sessionrate*60/(960000*120)),
|
||||||
(int64_t)mc.maxlen,
|
(int64_t)mc.maxlen,
|
||||||
|
|
@ -1076,7 +1076,7 @@ PTFFormat::parsemidi12(void) {
|
||||||
midiregionname,
|
midiregionname,
|
||||||
regionnumber++,
|
regionnumber++,
|
||||||
//(int64_t)mc.zero,
|
//(int64_t)mc.zero,
|
||||||
(int64_t)0xe8d4a51000ull,
|
(int64_t)0xe8d4a51000ULL,
|
||||||
(int64_t)(0),
|
(int64_t)(0),
|
||||||
//(int64_t)(max_pos*sessionrate*60/(960000*120)),
|
//(int64_t)(max_pos*sessionrate*60/(960000*120)),
|
||||||
(int64_t)mc.maxlen,
|
(int64_t)mc.maxlen,
|
||||||
|
|
@ -1760,9 +1760,9 @@ nocustom:
|
||||||
j+=startbytes;
|
j+=startbytes;
|
||||||
|
|
||||||
if (offsetbytes == 5)
|
if (offsetbytes == 5)
|
||||||
sampleoffset -= 1000000000000;
|
sampleoffset -= 1000000000000ULL;
|
||||||
if (startbytes == 5)
|
if (startbytes == 5)
|
||||||
start -= 1000000000000;
|
start -= 1000000000000ULL;
|
||||||
|
|
||||||
std::string filename = string(name);
|
std::string filename = string(name);
|
||||||
wav_t f = {
|
wav_t f = {
|
||||||
|
|
@ -1873,8 +1873,8 @@ nocustom:
|
||||||
}
|
}
|
||||||
m+=8;
|
m+=8;
|
||||||
findex3 = ptfunxored[m] | (ptfunxored[m+1] << 8);
|
findex3 = ptfunxored[m] | (ptfunxored[m+1] << 8);
|
||||||
sampleoffset -= 1000000000000;
|
sampleoffset -= 1000000000000ULL;
|
||||||
start -= 1000000000000;
|
start -= 1000000000000ULL;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// Find wav with correct findex
|
// Find wav with correct findex
|
||||||
|
|
@ -2031,9 +2031,9 @@ nocustom:
|
||||||
j+=startbytes;
|
j+=startbytes;
|
||||||
|
|
||||||
if (offsetbytes == 5)
|
if (offsetbytes == 5)
|
||||||
sampleoffset -= 1000000000000;
|
sampleoffset -= 1000000000000ULL;
|
||||||
if (startbytes == 5)
|
if (startbytes == 5)
|
||||||
start -= 1000000000000;
|
start -= 1000000000000ULL;
|
||||||
|
|
||||||
std::string filename = string(name);
|
std::string filename = string(name);
|
||||||
wav_t f = {
|
wav_t f = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue