/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.7.0
 *
 * Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt6.
 * 
 * This file may be used under the terms of the GNU General Public License
 * version 3.0 as published by the Free Software Foundation and appearing in
 * the file LICENSE included in the packaging of this file.  Please review the
 * following information to ensure the GNU General Public License version 3.0
 * requirements will be met: http://www.gnu.org/copyleft/gpl.html.
 * 
 * If you do not wish to use this file under the terms of the GPL version 3.0
 * then you may purchase a commercial license.  For more information contact
 * info@riverbankcomputing.com.
 * 
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include "sipAPIQtMultimedia.h"

#line 28 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtMultimedia/qmediadevices.sip"
#include <qmediadevices.h>
#line 29 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"

#line 28 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 50 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtMultimedia/qcameradevice.sip"
#include <qcameradevice.h>
#line 36 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtMultimedia/qaudiodevice.sip"
#include <qaudiodevice.h>
#line 39 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 42 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 45 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 151 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 50 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 53 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 245 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 59 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 232 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 24 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 65 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 68 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 71 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 30 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 74 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 135 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 82 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 85 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qanystringview.sip"
#include <qanystringview.h>
#line 88 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 91 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 94 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 97 "/build/pyqt6/src/PyQt6-6.4.0/build/QtMultimedia/sipQtMultimediaQMediaDevices.cpp"


class sipQMediaDevices : public  ::QMediaDevices
{
public:
    sipQMediaDevices( ::QObject*);
    virtual ~sipQMediaDevices();

    int qt_metacall(QMetaObject::Call, int, void **) SIP_OVERRIDE;
    void *qt_metacast(const char *) SIP_OVERRIDE;
    const QMetaObject *metaObject() const SIP_OVERRIDE;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool event( ::QEvent*) SIP_OVERRIDE;
    bool eventFilter( ::QObject*, ::QEvent*) SIP_OVERRIDE;
    void timerEvent( ::QTimerEvent*) SIP_OVERRIDE;
    void childEvent( ::QChildEvent*) SIP_OVERRIDE;
    void customEvent( ::QEvent*) SIP_OVERRIDE;
    void connectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void disconnectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQMediaDevices(const sipQMediaDevices &);
    sipQMediaDevices &operator = (const sipQMediaDevices &);

    char sipPyMethods[7];
};

sipQMediaDevices::sipQMediaDevices( ::QObject*a0):  ::QMediaDevices(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQMediaDevices::~sipQMediaDevices()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQMediaDevices::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtMultimedia_qt_metaobject(sipPySelf,sipType_QMediaDevices);

    return  ::QMediaDevices::metaObject();
}

int sipQMediaDevices::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QMediaDevices::qt_metacall(_c,_id,_a);

    if (_id >= 0)
    {
        SIP_BLOCK_THREADS
        _id = sip_QtMultimedia_qt_metacall(sipPySelf,sipType_QMediaDevices,_c,_id,_a);
        SIP_UNBLOCK_THREADS
    }

    return _id;
}

void *sipQMediaDevices::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtMultimedia_qt_metacast(sipPySelf, sipType_QMediaDevices, _clname, &sipCpp) ? sipCpp :  ::QMediaDevices::qt_metacast(_clname));
}

bool sipQMediaDevices::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[0], &sipPySelf, SIP_NULLPTR, sipName_event);

    if (!sipMeth)
        return  ::QMediaDevices::event(a0);

    extern bool sipVH_QtMultimedia_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtMultimedia_5(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQMediaDevices::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[1], &sipPySelf, SIP_NULLPTR, sipName_eventFilter);

    if (!sipMeth)
        return  ::QMediaDevices::eventFilter(a0,a1);

    extern bool sipVH_QtMultimedia_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtMultimedia_4(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQMediaDevices::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[2], &sipPySelf, SIP_NULLPTR, sipName_timerEvent);

    if (!sipMeth)
    {
         ::QMediaDevices::timerEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtMultimedia_3(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaDevices::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[3], &sipPySelf, SIP_NULLPTR, sipName_childEvent);

    if (!sipMeth)
    {
         ::QMediaDevices::childEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtMultimedia_2(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaDevices::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[4], &sipPySelf, SIP_NULLPTR, sipName_customEvent);

    if (!sipMeth)
    {
         ::QMediaDevices::customEvent(a0);
        return;
    }

    extern void sipVH_QtMultimedia_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtMultimedia_1(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaDevices::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[5], &sipPySelf, SIP_NULLPTR, sipName_connectNotify);

    if (!sipMeth)
    {
         ::QMediaDevices::connectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_0(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQMediaDevices::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[6], &sipPySelf, SIP_NULLPTR, sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QMediaDevices::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtMultimedia_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtMultimedia_0(sipGILState, sipImportedVirtErrorHandlers_QtMultimedia_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QMediaDevices_audioInputs, "audioInputs() -> List[QAudioDevice]");

extern "C" {static PyObject *meth_QMediaDevices_audioInputs(PyObject *, PyObject *);}
static PyObject *meth_QMediaDevices_audioInputs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, "C", &sipSelf))
        {
            QList< ::QAudioDevice>*sipRes;

            sipRes = new QList< ::QAudioDevice>( ::QMediaDevices::audioInputs());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QAudioDevice,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QMediaDevices, sipName_audioInputs, doc_QMediaDevices_audioInputs);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QMediaDevices_audioOutputs, "audioOutputs() -> List[QAudioDevice]");

extern "C" {static PyObject *meth_QMediaDevices_audioOutputs(PyObject *, PyObject *);}
static PyObject *meth_QMediaDevices_audioOutputs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, "C", &sipSelf))
        {
            QList< ::QAudioDevice>*sipRes;

            sipRes = new QList< ::QAudioDevice>( ::QMediaDevices::audioOutputs());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QAudioDevice,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QMediaDevices, sipName_audioOutputs, doc_QMediaDevices_audioOutputs);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QMediaDevices_videoInputs, "videoInputs() -> List[QCameraDevice]");

extern "C" {static PyObject *meth_QMediaDevices_videoInputs(PyObject *, PyObject *);}
static PyObject *meth_QMediaDevices_videoInputs(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, "C", &sipSelf))
        {
            QList< ::QCameraDevice>*sipRes;

            sipRes = new QList< ::QCameraDevice>( ::QMediaDevices::videoInputs());

            return sipConvertFromNewType(sipRes,sipType_QList_0100QCameraDevice,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QMediaDevices, sipName_videoInputs, doc_QMediaDevices_videoInputs);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QMediaDevices_defaultAudioInput, "defaultAudioInput() -> QAudioDevice");

extern "C" {static PyObject *meth_QMediaDevices_defaultAudioInput(PyObject *, PyObject *);}
static PyObject *meth_QMediaDevices_defaultAudioInput(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, "C", &sipSelf))
        {
             ::QAudioDevice*sipRes;

            sipRes = new  ::QAudioDevice( ::QMediaDevices::defaultAudioInput());

            return sipConvertFromNewType(sipRes,sipType_QAudioDevice,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QMediaDevices, sipName_defaultAudioInput, doc_QMediaDevices_defaultAudioInput);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QMediaDevices_defaultAudioOutput, "defaultAudioOutput() -> QAudioDevice");

extern "C" {static PyObject *meth_QMediaDevices_defaultAudioOutput(PyObject *, PyObject *);}
static PyObject *meth_QMediaDevices_defaultAudioOutput(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, "C", &sipSelf))
        {
             ::QAudioDevice*sipRes;

            sipRes = new  ::QAudioDevice( ::QMediaDevices::defaultAudioOutput());

            return sipConvertFromNewType(sipRes,sipType_QAudioDevice,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QMediaDevices, sipName_defaultAudioOutput, doc_QMediaDevices_defaultAudioOutput);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QMediaDevices_defaultVideoInput, "defaultVideoInput() -> QCameraDevice");

extern "C" {static PyObject *meth_QMediaDevices_defaultVideoInput(PyObject *, PyObject *);}
static PyObject *meth_QMediaDevices_defaultVideoInput(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, "C", &sipSelf))
        {
             ::QCameraDevice*sipRes;

            sipRes = new  ::QCameraDevice( ::QMediaDevices::defaultVideoInput());

            return sipConvertFromNewType(sipRes,sipType_QCameraDevice,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QMediaDevices, sipName_defaultVideoInput, doc_QMediaDevices_defaultVideoInput);

    return SIP_NULLPTR;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QMediaDevices(void *, const sipTypeDef *);}
static void *cast_QMediaDevices(void *sipCppV, const sipTypeDef *targetType)
{
     ::QMediaDevices *sipCpp = reinterpret_cast< ::QMediaDevices *>(sipCppV);

    if (targetType == sipType_QMediaDevices)
        return sipCppV;

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_QMediaDevices(void *, int);}
static void release_QMediaDevices(void *sipCppV, int)
{
     ::QMediaDevices *sipCpp = reinterpret_cast< ::QMediaDevices *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void *array_QMediaDevices(Py_ssize_t);}
static void *array_QMediaDevices(Py_ssize_t sipNrElem)
{
    return new  ::QMediaDevices[sipNrElem];
}


extern "C" {static void array_delete_QMediaDevices(void *);}
static void array_delete_QMediaDevices(void *sipCpp)
{
    delete[] reinterpret_cast< ::QMediaDevices *>(sipCpp);
}


extern "C" {static void dealloc_QMediaDevices(sipSimpleWrapper *);}
static void dealloc_QMediaDevices(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQMediaDevices *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QMediaDevices(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QMediaDevices(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QMediaDevices(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQMediaDevices *sipCpp = SIP_NULLPTR;

    {
         ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQMediaDevices(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QMediaDevices[] = {{7, 0, 1}};


static PyMethodDef methods_QMediaDevices[] = {
    {sipName_audioInputs, meth_QMediaDevices_audioInputs, METH_VARARGS, doc_QMediaDevices_audioInputs},
    {sipName_audioOutputs, meth_QMediaDevices_audioOutputs, METH_VARARGS, doc_QMediaDevices_audioOutputs},
    {sipName_defaultAudioInput, meth_QMediaDevices_defaultAudioInput, METH_VARARGS, doc_QMediaDevices_defaultAudioInput},
    {sipName_defaultAudioOutput, meth_QMediaDevices_defaultAudioOutput, METH_VARARGS, doc_QMediaDevices_defaultAudioOutput},
    {sipName_defaultVideoInput, meth_QMediaDevices_defaultVideoInput, METH_VARARGS, doc_QMediaDevices_defaultVideoInput},
    {sipName_videoInputs, meth_QMediaDevices_videoInputs, METH_VARARGS, doc_QMediaDevices_videoInputs}
};

PyDoc_STRVAR(doc_QMediaDevices, "\1QMediaDevices(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QMediaDevices[] = {
    {"videoInputsChanged()", "\1videoInputsChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"audioOutputsChanged()", "\1audioOutputsChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"audioInputsChanged()", "\1audioInputsChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QMediaDevices = {
    & ::QMediaDevices::staticMetaObject,
    signals_QMediaDevices,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtMultimedia_QMediaDevices = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QMediaDevices,
        SIP_NULLPTR,
        &plugin_QMediaDevices
    },
    {
        sipNameNr_QMediaDevices,
        {0, 0, 1},
        6, methods_QMediaDevices,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QMediaDevices,
    -1,
    -1,
    supers_QMediaDevices,
    SIP_NULLPTR,
    init_type_QMediaDevices,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QMediaDevices,
    SIP_NULLPTR,
    array_QMediaDevices,
    SIP_NULLPTR,
    release_QMediaDevices,
    cast_QMediaDevices,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QMediaDevices,
    sizeof ( ::QMediaDevices),
};
