mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-18 04:42:45 +01:00
99ceb03a1c
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
28 lines
635 B
C++
28 lines
635 B
C++
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "audio_core/sink.h"
|
|
|
|
namespace AudioCore {
|
|
|
|
class SDLSink final : public Sink {
|
|
public:
|
|
explicit SDLSink(std::string_view device_id);
|
|
~SDLSink() override;
|
|
|
|
SinkStream& AcquireSinkStream(u32 sample_rate, u32 num_channels,
|
|
const std::string& name) override;
|
|
|
|
private:
|
|
std::string output_device;
|
|
std::vector<SinkStreamPtr> sink_streams;
|
|
};
|
|
|
|
std::vector<std::string> ListSDLSinkDevices();
|
|
|
|
} // namespace AudioCore
|