Merging from trunk
[ardour.git] / libs / ardour / coreaudio_source.cc
index 67aaabfb88c81548f264f17acb187f323369406a..1b0ee565e757a617c91d4e55a55e05345b86c869 100644 (file)
 #include <AudioToolbox/AudioFormat.h>
 
 using namespace ARDOUR;
+using namespace PBD;
 
 CoreAudioSource::CoreAudioSource (const XMLNode& node)
-       : ExternalSource (node)
+       : AudioFileSource (node)
 {
        init (_name, true);
-       SourceCreated (this); /* EMIT SIGNAL */
+       AudioSourceCreated (this); /* EMIT SIGNAL */
 }
 
 CoreAudioSource::CoreAudioSource (const string& idstr, bool build_peak)
-       : ExternalSource(idstr, build_peak)
+       : AudioFileSource(idstr, build_peak)
 {
        init (idstr, build_peak);
 
        if (build_peak) {
-                SourceCreated (this); /* EMIT SIGNAL */
+                AudioSourceCreated (this); /* EMIT SIGNAL */
        }
 }