<commit_before>#ifndef PULSEAUDIOSERVICEPROVIDERPLUGIN_H
#define PULSEAUDIOSERVICEPROVIDERPLUGIN_H

#include <qmediaserviceproviderplugin.h>

QTM_USE_NAMESPACE

class PulseaudioServiceProviderPlugin :
        public QMediaServiceProviderPlugin,
        public QMediaServiceFeaturesInterface,
        public QMediaServiceSupportedFormatsInterface
{
Q_OBJECT
public:
    QStringList keys() const;
    QMediaService* create(QString const& key);
    void release(QMediaService *service);

    QMediaServiceProviderHint::Features supportedFeatures(const QByteArray &service) const;

    QtMedia::SupportEstimate hasSupport(const QString &mimeType, const QStringList& codecs) const;
    QStringList supportedMimeTypes() const;
};

#endif // PULSEAUDIOSERVICEPROVIDERPLUGIN_H<commit_msg>PulseAudio plugin; make sure to register supported interfaces.<commit_after>#ifndef PULSEAUDIOSERVICEPROVIDERPLUGIN_H
#define PULSEAUDIOSERVICEPROVIDERPLUGIN_H

#include <qmediaserviceproviderplugin.h>

QTM_USE_NAMESPACE

class PulseaudioServiceProviderPlugin :
        public QMediaServiceProviderPlugin,
        public QMediaServiceFeaturesInterface,
        public QMediaServiceSupportedFormatsInterface
{
    Q_OBJECT
    Q_INTERFACES(QtMobility::QMediaServiceFeaturesInterface QtMobility::QMediaServiceSupportedFormatsInterface)

public:
    QStringList keys() const;
    QMediaService* create(QString const& key);
    void release(QMediaService *service);

    QMediaServiceProviderHint::Features supportedFeatures(const QByteArray &service) const;

    QtMedia::SupportEstimate hasSupport(const QString &mimeType, const QStringList& codecs) const;
    QStringList supportedMimeTypes() const;
};

#endif // PULSEAUDIOSERVICEPROVIDERPLUGIN_H
{'fraction_non_alphanumeric': 0.06025492468134415, 'fraction_numerical': 0.0, 'mean_word_length': 6.508695652173913, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7058756', 'n_tokens_mistral': 510, 'n_tokens_neox': 508, 'n_words': 98}