mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 14:40:56 +00:00
Add SLAudio renderer for Steam Link
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "renderer.h"
|
||||
#include <SLAudio.h>
|
||||
|
||||
class SLAudioRenderer : public IAudioRenderer
|
||||
{
|
||||
public:
|
||||
SLAudioRenderer();
|
||||
|
||||
virtual ~SLAudioRenderer();
|
||||
|
||||
virtual bool prepareForPlayback(const OPUS_MULTISTREAM_CONFIGURATION* opusConfig);
|
||||
|
||||
virtual bool submitAudio(short* audioBuffer, int audioSize);
|
||||
|
||||
private:
|
||||
CSLAudioContext* m_AudioContext;
|
||||
CSLAudioStream* m_AudioStream;
|
||||
};
|
||||
Reference in New Issue
Block a user