Commit graph

40 commits

Author SHA1 Message Date
John Emmas
79f01bc889 Initial changes needed for building Mixbus (with MSVC) as version 5
(Mixbus itself will probably need extra changes)
2018-09-10 07:14:59 +01:00
Damien Zammit
ffd8855391 ptformat: Update to upstream c0305a2 2018-04-22 12:53:42 +10:00
Robin Gareus
baba08c264 amend e1f94bbb4a (32/64bit int64 compat) 2018-04-19 18:32:33 +02:00
Robin Gareus
e1f94bbb4a Fix 32bit builds
Unsigned long is 32bit on 32bit systems, besides sampleoffset and start
variables are signed int64_t.

resulting in a compiler error:
integer constant is too large for 'unsigned long' type.
2018-04-19 15:36:30 +02:00
Damien Zammit
d0539f5e8a ptformat: Update to upstream 762f0db 2018-04-08 20:24:53 +10:00
Damien Zammit
572b3940fb ptformat: Update to upstream d5a73a0 2018-04-08 15:31:52 +10:00
Robin Gareus
1e50562d8a Fix call to labs.
..or as clang puts it:
"error: no member named 'labs' in namespace 'std'; did you mean
 simply 'labs'?"
2018-03-20 19:16:37 +01:00
Robin Gareus
1de8bc3617 Remove C++11isms (libptformat) 2018-03-17 19:59:38 +01:00
Damien Zammit
cce575eb72 ptformat: Update to upstream master 4e653041
- Better MIDI support
2018-03-17 22:40:16 +11:00
John Emmas
b9c9777b9a When building with MSVC, allow for the fact that Mixbus and Ardour can be using different versions of the SESSION_FILE format 2018-02-15 09:03:32 +00:00
John Emmas
6f019faaa0 Accommodate the change from libtimecode to libtemporal 2018-02-14 10:02:11 +00:00
Damien Zammit
124092d139 Update ptformat to upstream 72bd66b
- Fix a wrong assumption in the xor code
- Find start of wav list more consistently
- Fix long long constants
2017-10-15 17:14:59 +11:00
Robin Gareus
29ca1f7a67 Fix 32bit compilation 2017-02-18 16:22:34 +01:00
Damien Zammit
c40ccd5aae ptformat: Update lib to upstream 624671c
Temporary measure to prevent bogus data being parsed:

Until .ptx decryption is fully solved, we protect
the MIDI data output against bogus values being parsed.
2017-02-18 13:18:32 +11:00
Damien Zammit
22d676c7b6 ptformat: Update lib to upstream 3b60276
bugfix: Empty out MIDI events per region

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2017-02-18 03:01:16 +11:00
Damien Zammit
cb0189845e ptformat: Update the lib to 9d0b64f (upstream ptformat)
Adds MIDI region import support and simplifies XOR decryption.

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2017-02-17 15:36:02 +01:00
John Emmas
0ff233d234 Update our MSVC project files to generate the most recent Ardour session file format (ver 5) rather than the older v3 format 2016-08-30 07:15:00 +01:00
Damien Zammit
3cda7bcbfb ptformat: Decrypt ptf files exported from ptx sessions 2016-08-02 22:25:20 +10:00
Robin Gareus
86763cba90 Enable build for FreeBSD (part 1/2)
Adopted from Michael Beer -- GH pull-request #232 with minor changes:

*   rebased on master,
*   removed trailing whitespace,
*   don't explicitly change saved configuration defaults (wscript)
*   moved sys/wait (WNOHANG) to header include
*   separate changes in GUI and lib
2016-06-26 16:43:07 +02:00
John Emmas
b0200b23f2 Accommodate the fact that 'msvc_resources.rc.in' got moved to a new path 2016-05-21 10:33:18 +01:00
John Emmas
d10947d488 Modify the MSVC project for ptformat (which now needs to link to libglib) 2016-05-14 11:19:43 +01:00
Paul Davis
963f43a146 libptfformat: use g_fopen() to avoid i18n errors with file paths/names 2016-05-10 18:24:46 -04:00
Damien Zammit
277893b130 ptformat: Make PT import more resilient to bad user choices and display messages
Previously, libptformat would attempt to parse all kinds of files,
now the library stops parsing when the version number and session rate
is outside valid ranges, returning an error code to the caller.

If there is a valid PT file detected, but some audio files are missing,
Ardour now pops up an error message to inform the user that some files
may be missing from the import.  A success message is displayed otherwise.

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-04-16 12:21:12 +02:00
Robin Gareus
5af4ce47eb alternative approach for 48532baaa, C++98 compat that actually works, too 2016-04-14 12:46:23 +02:00
Robin Gareus
eda1508da1 Revert "remove C++11'isms from libptformat. back to C++98 compat."
This reverts commit 48532baaa7.
2016-04-14 12:45:02 +02:00
Robin Gareus
48532baaa7 remove C++11'isms from libptformat. back to C++98 compat. 2016-02-13 23:15:47 +01:00
Damien Zammit
fbbde01f25 Add preliminary PTX support for Protools 10 and 11
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-02-13 09:50:52 +01:00
Damien Zammit
81a9f7a956 Unjumble the PT5 wav ordering in regions/tracks
by sorting alphanumerically and case insensitively

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2016-02-13 09:50:52 +01:00
Robin Gareus
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis
4dc63966f0 globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
John Emmas
f83327fecb Oops - forgot I'd need to add an entry to 'ptformat/wscript' 2015-08-10 18:17:31 +01:00
John Emmas
71ce0f3879 Hmmm... not sure why it didn't add my new files. Trying again. 2015-08-10 17:18:13 +01:00
John Emmas
7d9069032e Add support for building the new 'ptformat' library with MSVC 2015-08-10 17:15:53 +01:00
Damien Zammit
223a6c155e Remove printf 2015-08-10 12:25:03 +10:00
Damien Zammit
d0eac58737 Fix to PT5 format, (stereo tracks still not fully supported)
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-09 21:54:38 +10:00
Damien Zammit
84938f31cf Fix more warnings
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-09 01:42:22 +10:00
Damien Zammit
72041726fb Added pt5 pt7 ptx initial format support
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-09 00:48:16 +10:00
Damien Zammit
1d6e8f6681 Fixed pt import start offsets and samplerate mismatch offsets
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-06 17:35:17 +10:00
Robin Gareus
b75a38089b fix ptf library deplyoment 2015-08-06 01:02:13 +02:00
Damien Zammit
d686cb213f Added PT .ptf session audio import functionality
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-06 00:28:35 +02:00