/****************************************************************************
** Meta object code from reading C++ file 'AudioCallbackPlaySource.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.5)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../sonic-visualiser-4.5/svapp/audio/AudioCallbackPlaySource.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'AudioCallbackPlaySource.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.5. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_AudioCallbackPlaySource_t {
    QByteArrayData data[25];
    char stringdata0[402];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AudioCallbackPlaySource_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AudioCallbackPlaySource_t qt_meta_stringdata_AudioCallbackPlaySource = {
    {
QT_MOC_LITERAL(0, 0, 23), // "AudioCallbackPlaySource"
QT_MOC_LITERAL(1, 24, 17), // "playStatusChanged"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 9), // "isPlaying"
QT_MOC_LITERAL(4, 53, 18), // "sampleRateMismatch"
QT_MOC_LITERAL(5, 72, 15), // "sv_samplerate_t"
QT_MOC_LITERAL(6, 88, 9), // "requested"
QT_MOC_LITERAL(7, 98, 9), // "available"
QT_MOC_LITERAL(8, 108, 12), // "willResample"
QT_MOC_LITERAL(9, 121, 21), // "channelCountIncreased"
QT_MOC_LITERAL(10, 143, 5), // "count"
QT_MOC_LITERAL(11, 149, 27), // "audioOverloadPluginDisabled"
QT_MOC_LITERAL(12, 177, 8), // "activity"
QT_MOC_LITERAL(13, 186, 23), // "audioProcessingOverload"
QT_MOC_LITERAL(14, 210, 16), // "selectionChanged"
QT_MOC_LITERAL(15, 227, 19), // "playLoopModeChanged"
QT_MOC_LITERAL(16, 247, 24), // "playSelectionModeChanged"
QT_MOC_LITERAL(17, 272, 21), // "playParametersChanged"
QT_MOC_LITERAL(18, 294, 17), // "preferenceChanged"
QT_MOC_LITERAL(19, 312, 31), // "PropertyContainer::PropertyName"
QT_MOC_LITERAL(20, 344, 18), // "modelChangedWithin"
QT_MOC_LITERAL(21, 363, 7), // "ModelId"
QT_MOC_LITERAL(22, 371, 10), // "sv_frame_t"
QT_MOC_LITERAL(23, 382, 10), // "startFrame"
QT_MOC_LITERAL(24, 393, 8) // "endFrame"

    },
    "AudioCallbackPlaySource\0playStatusChanged\0"
    "\0isPlaying\0sampleRateMismatch\0"
    "sv_samplerate_t\0requested\0available\0"
    "willResample\0channelCountIncreased\0"
    "count\0audioOverloadPluginDisabled\0"
    "activity\0audioProcessingOverload\0"
    "selectionChanged\0playLoopModeChanged\0"
    "playSelectionModeChanged\0playParametersChanged\0"
    "preferenceChanged\0PropertyContainer::PropertyName\0"
    "modelChangedWithin\0ModelId\0sv_frame_t\0"
    "startFrame\0endFrame"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AudioCallbackPlaySource[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      12,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       4,    3,   77,    2, 0x06 /* Public */,
       9,    1,   84,    2, 0x06 /* Public */,
      11,    0,   87,    2, 0x06 /* Public */,
      12,    1,   88,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    0,   91,    2, 0x0a /* Public */,
      14,    0,   92,    2, 0x09 /* Protected */,
      15,    0,   93,    2, 0x09 /* Protected */,
      16,    0,   94,    2, 0x09 /* Protected */,
      17,    1,   95,    2, 0x09 /* Protected */,
      18,    1,   98,    2, 0x09 /* Protected */,
      20,    3,  101,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 5, QMetaType::Bool,    6,    7,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 19,    2,
    QMetaType::Void, 0x80000000 | 21, 0x80000000 | 22, 0x80000000 | 22,    2,   23,   24,

       0        // eod
};

void AudioCallbackPlaySource::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AudioCallbackPlaySource *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->playStatusChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->sampleRateMismatch((*reinterpret_cast< sv_samplerate_t(*)>(_a[1])),(*reinterpret_cast< sv_samplerate_t(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 2: _t->channelCountIncreased((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->audioOverloadPluginDisabled(); break;
        case 4: _t->activity((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 5: _t->audioProcessingOverload(); break;
        case 6: _t->selectionChanged(); break;
        case 7: _t->playLoopModeChanged(); break;
        case 8: _t->playSelectionModeChanged(); break;
        case 9: _t->playParametersChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->preferenceChanged((*reinterpret_cast< PropertyContainer::PropertyName(*)>(_a[1]))); break;
        case 11: _t->modelChangedWithin((*reinterpret_cast< ModelId(*)>(_a[1])),(*reinterpret_cast< sv_frame_t(*)>(_a[2])),(*reinterpret_cast< sv_frame_t(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (AudioCallbackPlaySource::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioCallbackPlaySource::playStatusChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (AudioCallbackPlaySource::*)(sv_samplerate_t , sv_samplerate_t , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioCallbackPlaySource::sampleRateMismatch)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (AudioCallbackPlaySource::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioCallbackPlaySource::channelCountIncreased)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (AudioCallbackPlaySource::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioCallbackPlaySource::audioOverloadPluginDisabled)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (AudioCallbackPlaySource::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioCallbackPlaySource::activity)) {
                *result = 4;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject AudioCallbackPlaySource::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_AudioCallbackPlaySource.data,
    qt_meta_data_AudioCallbackPlaySource,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *AudioCallbackPlaySource::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *AudioCallbackPlaySource::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_AudioCallbackPlaySource.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "AudioPlaySource"))
        return static_cast< AudioPlaySource*>(this);
    if (!strcmp(_clname, "breakfastquay::ApplicationPlaybackSource"))
        return static_cast< breakfastquay::ApplicationPlaybackSource*>(this);
    return QObject::qt_metacast(_clname);
}

int AudioCallbackPlaySource::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void AudioCallbackPlaySource::playStatusChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void AudioCallbackPlaySource::sampleRateMismatch(sv_samplerate_t _t1, sv_samplerate_t _t2, bool _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void AudioCallbackPlaySource::channelCountIncreased(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void AudioCallbackPlaySource::audioOverloadPluginDisabled()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void AudioCallbackPlaySource::activity(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
