--- a/src/ohsndrcv.hxx
+++ b/src/ohsndrcv.hxx
@@ -48,7 +48,11 @@
SenderReceiver(UpMpd *dev, const std::string& senderstarterpath,
int mpdport);
~SenderReceiver();
- bool start(bool useradio, int seekms);
+
+ // script can be empty when using an internal source (radio or
+ // playlist) or be a path to an external script for an extern
+ // analog source
+ bool start(const std::string& script, int seekms = 0);
bool stop();
class Internal;
@@ -56,5 +60,4 @@
Internal *m;
};
-
#endif /* _OHSNDRCV_H_X_INCLUDED_ */