mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-20 03:35:42 -04:00
Build: Rename duckstation to duckstation-sdl
This commit is contained in:
20
src/duckstation-sdl/sdl_audio_stream.h
Normal file
20
src/duckstation-sdl/sdl_audio_stream.h
Normal file
@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "common/audio_stream.h"
|
||||
#include <cstdint>
|
||||
|
||||
class SDLAudioStream final : public AudioStream
|
||||
{
|
||||
public:
|
||||
SDLAudioStream();
|
||||
~SDLAudioStream();
|
||||
|
||||
protected:
|
||||
bool OpenDevice() override;
|
||||
void PauseDevice(bool paused) override;
|
||||
void CloseDevice() override;
|
||||
void BufferAvailable() override;
|
||||
|
||||
static void AudioCallback(void* userdata, uint8_t* stream, int len);
|
||||
|
||||
bool m_is_open = false;
|
||||
};
|
Reference in New Issue
Block a user