summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-09-11 15:59:51 +0200
committerRobin Gareus <robin@gareus.org>2018-09-11 16:02:42 +0200
commitd7dc224da5232575a617b29818bbeb229b508fbc (patch)
treee84a35d1e47f73ae1f16977257a1d4eefe477ab3 /libs/ardour/ardour
parenta96aa4e1fdc69da01c30ddd22176b03de39c0016 (diff)
Fix LTC file-reader -- closes #7661
Change reader API to return the position of the decoded LTC frame and store the correct position in the array) This bug was introduced in e5a181c323
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/ltc_file_reader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/ltc_file_reader.h b/libs/ardour/ardour/ltc_file_reader.h
index c555177cf5..a91c7fffdd 100644
--- a/libs/ardour/ardour/ltc_file_reader.h
+++ b/libs/ardour/ardour/ltc_file_reader.h
@@ -38,7 +38,7 @@ public:
void write (float const*, samplecnt_t n_samples, samplepos_t pos = -1);
void raw_write (ltcsnd_sample_t*, size_t, ltc_off_t);
- bool read (uint32_t& hh, uint32_t& mm, uint32_t& ss, uint32_t& ff);
+ samplepos_t read (uint32_t& hh, uint32_t& mm, uint32_t& ss, uint32_t& ff);
private:
LTCDecoder* _decoder;