You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
623 B
C++
28 lines
623 B
C++
/*
|
|
SPDX-FileCopyrightText: 2014-2015 Harald Sitter <sitter@kde.org>
|
|
SPDX-FileCopyrightText: 2021 Nicolas Fella
|
|
|
|
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "sink.h"
|
|
|
|
#include <QObject>
|
|
|
|
class SpeakerTest : public QObject
|
|
{
|
|
Q_OBJECT
|
|
Q_PROPERTY(QPulseAudio::Sink *sink READ sink WRITE setSink NOTIFY sinkChanged)
|
|
public:
|
|
QPulseAudio::Sink *sink() const;
|
|
void setSink(QPulseAudio::Sink *sink);
|
|
Q_SIGNAL void sinkChanged();
|
|
|
|
Q_INVOKABLE void testChannel(const QString &name);
|
|
|
|
private:
|
|
QPulseAudio::Sink *m_sink;
|
|
};
|