aboutsummaryrefslogtreecommitdiffstats
path: root/src/PadInterface.h
diff options
context:
space:
mode:
authorrmens <r.mens@me.com>2025-08-23 00:58:45 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2025-08-30 12:48:37 +0200
commitc4f0ba1c9c909f7c1ac697068197b681cd567beb (patch)
treed70e88d0592a4d702669f29a18b307d32e8645a6 /src/PadInterface.h
parent12ca282e72c4680be3bf7e92ac984be01b4821b9 (diff)
downloadODR-AudioEnc-c4f0ba1c9c909f7c1ac697068197b681cd567beb.tar.gz
ODR-AudioEnc-c4f0ba1c9c909f7c1ac697068197b681cd567beb.tar.bz2
ODR-AudioEnc-c4f0ba1c9c909f7c1ac697068197b681cd567beb.zip
feat: make pad path more flexible
Diffstat (limited to 'src/PadInterface.h')
-rw-r--r--src/PadInterface.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/PadInterface.h b/src/PadInterface.h
index 9787d06..8b8f68f 100644
--- a/src/PadInterface.h
+++ b/src/PadInterface.h
@@ -30,8 +30,10 @@
class PadInterface {
public:
- /*! Create a new PAD data interface that binds to /tmp/pad_ident.audioenc and
- * communicates with ODR-PadEnc at /tmp/pad_ident.padenc
+ /*! Create a new PAD data interface. If pad_ident contains path separators,
+ * it is treated as a full path (creates pad_ident.audioenc and communicates
+ * with pad_ident.padenc). Otherwise, it is treated as an identifier and
+ * binds to /tmp/pad_ident.audioenc and communicates with /tmp/pad_ident.padenc
*/
void open(const std::string &pad_ident);