summaryrefslogtreecommitdiff
path: root/libs/ptformat/ptfformat.h
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2018-09-28 23:33:12 +1000
committerDamien Zammit <damien@zamaudio.com>2018-09-28 23:33:12 +1000
commit6f96fe19849fcdc62fef4213460ba0b80cbc1f29 (patch)
tree83e7a093fd1d9eaa7b30e091af5b88d206d0b15d /libs/ptformat/ptfformat.h
parentfd23f89b357be720bd1cb4a2aeebb5bc017d5878 (diff)
libptformat: Add ability to reuse object && add path to ptf to api
Diffstat (limited to 'libs/ptformat/ptfformat.h')
-rw-r--r--libs/ptformat/ptfformat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ptformat/ptfformat.h b/libs/ptformat/ptfformat.h
index 189fc0fef2..933d2be56e 100644
--- a/libs/ptformat/ptfformat.h
+++ b/libs/ptformat/ptfformat.h
@@ -147,7 +147,7 @@ public:
int64_t targetrate;
uint8_t version;
uint8_t *product;
-
+ std::string path;
unsigned char c0;
unsigned char c1;
@@ -163,6 +163,7 @@ private:
bool parse_version();
uint8_t gen_xor_delta(uint8_t xor_value, uint8_t mul, bool negative);
void setrates(void);
+ void cleanup(void);
void parse5header(void);
void parse7header(void);
void parse8header(void);