: Source (s, node)
, AudioFileSource (s, node)
{
- init ();
+ init_cafile ();
}
-CoreAudioSource::CoreAudioSource (Session& s, const string& path, bool, int chn, Flag flags)
+CoreAudioSource::CoreAudioSource (Session& s, const string& path, int chn, Flag flags)
/* files created this way are never writable or removable */
: Source (s, DataType::AUDIO, path, Source::Flag (flags & ~(Writable|Removable|RemovableIfEmpty|RemoveAtDestroy))),
AudioFileSource (s, path,
Source::Flag (flags & ~(Writable|Removable|RemovableIfEmpty|RemoveAtDestroy)))
{
_channel = chn;
- init ();
+ init_cafile ();
}
void
-CoreAudioSource::init ()
+CoreAudioSource::init_cafile ()
{
/* note that we temporarily truncated _id at the colon */
try {
CoreAudioSource::~CoreAudioSource ()
{
- GoingAway (); /* EMIT SIGNAL */
}
int
return ret;
}
+
+void
+CoreAudioSource::set_path (const string& p)
+{
+ FileSource::set_path (p);
+}