Commit graph

11 commits

Author SHA1 Message Date
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
John Emmas
7d9069032e Add support for building the new 'ptformat' library with MSVC 2015-08-10 17:15:53 +01: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
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
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