mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 02:38:37 +12:00
Also renames "AudioThread" to "AudioBackend". The new name is more descriptive of what the class really is responsible for, since the backends are not responsible for managing the audio thread. NOTE: Right now only XAudio2 is supported
25 lines
No EOL
542 B
C++
25 lines
No EOL
542 B
C++
#pragma once
|
|
|
|
/*#include "Emu/Audio/AudioBackend.h"
|
|
#include "3rdparty/OpenAL/include/alext.h"
|
|
#include <memory>
|
|
|
|
class OpenALThread : public AudioBackend
|
|
{
|
|
private:
|
|
ALint m_format;
|
|
ALuint m_source;
|
|
std::unique_ptr<ALuint[]> m_buffers;
|
|
ALsizei m_buffer_size;
|
|
|
|
public:
|
|
OpenALThread();
|
|
virtual ~OpenALThread() override;
|
|
|
|
virtual void Play() override;
|
|
virtual void Open(const void* src, int size) override;
|
|
virtual void Close() override;
|
|
virtual void Stop() override;
|
|
virtual void AddData(const void* src, int size) override;
|
|
};
|
|
*/ |