13
0
Commit Graph

22 Commits

Author SHA1 Message Date
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
29ca1f7a67 Fix 32bit compilation 2017-02-18 16:22:34 +01:00
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
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
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
3cda7bcbfb ptformat: Decrypt ptf files exported from ptx sessions 2016-08-02 22:25:20 +10:00
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
963f43a146 libptfformat: use g_fopen() to avoid i18n errors with file paths/names 2016-05-10 18:24:46 -04:00
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
5af4ce47eb alternative approach for 48532baaa, C++98 compat that actually works, too 2016-04-14 12:46:23 +02:00
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
48532baaa7 remove C++11'isms from libptformat. back to C++98 compat. 2016-02-13 23:15:47 +01:00
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
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
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
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
223a6c155e Remove printf 2015-08-10 12:25:03 +10:00
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
84938f31cf Fix more warnings
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-09 01:42:22 +10:00
72041726fb Added pt5 pt7 ptx initial format support
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-09 00:48:16 +10:00
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
d686cb213f Added PT .ptf session audio import functionality
Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-08-06 00:28:35 +02:00