mirror of
https://github.com/RGBCube/serenity
synced 2025-05-21 12:45:08 +00:00

This adds an abstract `Audio::PlaybackStream` class to allow cross- platform audio playback to be done in an opaque manner by applications in both Serenity and Lagom. Currently, the only supported audio API is PulseAudio, but a Serenity implementation should be added shortly as well.
19 lines
278 B
C++
19 lines
278 B
C++
/*
|
|
* Copyright (c) 2023, Tim Flynn <trflynn89@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Audio {
|
|
|
|
class ConnectionToServer;
|
|
class Loader;
|
|
class PlaybackStream;
|
|
struct Sample;
|
|
|
|
template<typename SampleType>
|
|
class ResampleHelper;
|
|
|
|
}
|