summaryrefslogtreecommitdiffstats
path: root/src/sources/soundsourcecoreaudio.h
diff options
context:
space:
mode:
authorUwe Klotz <uwe_klotz@web.de>2014-12-18 17:20:41 +0100
committerUwe Klotz <uwe_klotz@web.de>2015-01-07 14:55:48 +0100
commitad5819559b56522c3013127afd329cfdd488303f (patch)
treeec89420d1013f499435f8d260ff2dd0861de17d7 /src/sources/soundsourcecoreaudio.h
parent11ad66059bbfe6878cbcd271326e0cfd7effdb73 (diff)
Move Audio-/SoundSources code into separate directory
Diffstat (limited to 'src/sources/soundsourcecoreaudio.h')
-rw-r--r--src/sources/soundsourcecoreaudio.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/sources/soundsourcecoreaudio.h b/src/sources/soundsourcecoreaudio.h
new file mode 100644
index 0000000000..abe5cf95cc
--- /dev/null
+++ b/src/sources/soundsourcecoreaudio.h
@@ -0,0 +1,38 @@
+/**
+ * \file soundsourcecoreaudio.h
+ * \class SoundSourceCoreAudio
+ * \brief Decodes M4As (etc) using the AudioToolbox framework included as
+ * part of Core Audio on OS X (and iOS).
+ * \author Albert Santoni <alberts at mixxx dot org>
+ * \date Dec 12, 2010
+ */
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef SOUNDSOURCECOREAUDIO_H
+#define SOUNDSOURCECOREAUDIO_H
+
+#include "sources/soundsource.h"
+
+class SoundSourceCoreAudio : public Mixxx::SoundSource {
+ typedef SoundSource Super;
+
+public:
+ static QList<QString> supportedFileExtensions();
+
+ explicit SoundSourceCoreAudio(QString fileName);
+
+ Result parseMetadata(Mixxx::TrackMetadata* pMetadata) const /*override*/;
+ QImage parseCoverArt() const /*override*/;
+
+ Mixxx::AudioSourcePointer open() const /*override*/;
+};
+
+#endif // ifndef SOUNDSOURCECOREAUDIO_H