diff options
author | Uwe Klotz <uwe_klotz@web.de> | 2014-12-18 17:20:41 +0100 |
---|---|---|
committer | Uwe Klotz <uwe_klotz@web.de> | 2015-01-07 14:55:48 +0100 |
commit | ad5819559b56522c3013127afd329cfdd488303f (patch) | |
tree | ec89420d1013f499435f8d260ff2dd0861de17d7 /src/sources/soundsourcecoreaudio.h | |
parent | 11ad66059bbfe6878cbcd271326e0cfd7effdb73 (diff) |
Move Audio-/SoundSources code into separate directory
Diffstat (limited to 'src/sources/soundsourcecoreaudio.h')
-rw-r--r-- | src/sources/soundsourcecoreaudio.h | 38 |
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 |