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.
32 lines
725 B
C++
32 lines
725 B
C++
/*
|
|
SPDX-FileCopyrightText: 2014-2015 Harald Sitter <sitter@kde.org>
|
|
|
|
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
|
|
*/
|
|
|
|
#ifndef SINKINPUT_H
|
|
#define SINKINPUT_H
|
|
|
|
#include "stream.h"
|
|
|
|
namespace QPulseAudio
|
|
{
|
|
class SinkInput : public Stream
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit SinkInput(QObject *parent);
|
|
|
|
void update(const pa_sink_input_info *info);
|
|
|
|
void setVolume(qint64 volume) override;
|
|
void setMuted(bool muted) override;
|
|
void setChannelVolume(int channel, qint64 volume) override;
|
|
void setChannelVolumes(const QVector<qint64> &channelVolumes) override;
|
|
void setDeviceIndex(quint32 deviceIndex) override;
|
|
};
|
|
|
|
} // QPulseAudio
|
|
|
|
#endif // SINKINPUT_H
|