Added backend support for audio buffers (PipeWire)
This commit is contained in:
17
plugin/AudioImageProvider.h
Normal file
17
plugin/AudioImageProvider.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef AUDIOIMAGEPROVIDER_H
|
||||
#define AUDIOIMAGEPROVIDER_H
|
||||
#include <QObject>
|
||||
#include <QPixmap>
|
||||
#include <QQuickImageProvider>
|
||||
|
||||
#include "AudioModel.h"
|
||||
|
||||
class AudioImageProvider : public QQuickImageProvider
|
||||
{
|
||||
public:
|
||||
explicit AudioImageProvider();
|
||||
|
||||
QPixmap requestPixmap(const QString &id, QSize *size, const QSize &requestedSize) override;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user