diff options
author | Damien Zammit <damien@zamaudio.com> | 2015-07-24 20:19:29 +1000 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2015-07-24 20:19:29 +1000 |
commit | 9cf7d1cff5341a04e6e0e499e8152ee644899e20 (patch) | |
tree | b889eed870a6961d0489a2bace4c2f660b3a5597 /ptftool.cc | |
parent | ef2aac70376b5b19ede006cda6f5deb7c62d049b (diff) |
Added other track basic identification parsing
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Diffstat (limited to 'ptftool.cc')
-rw-r--r-- | ptftool.cc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -35,11 +35,18 @@ int main (int argc, char **argv) { break; case 0: if (ptf.audiofiles.size() > 0) { + printf("Audio file @ offset:\n"); for (vector<PTFFormat::files_t>::iterator a = ptf.audiofiles.begin(); a != ptf.audiofiles.end(); ++a) { printf("%s @ %ld\n", a->filename.c_str(), a->posabsolute); } + printf("\nOther track @ offset:\n"); + for (vector<PTFFormat::files_t>::iterator + a = ptf.othertracks.begin(); + a != ptf.othertracks.end(); ++a) { + printf("%s @ %ld\n", a->filename.c_str(), a->posabsolute); + } } else { printf("No audio files in session, quit\n"); } |