ladybird/Libraries/LibMedia/Audio/PlaybackStream.cpp

21 lines
607 B
C++
Raw Normal View History

/*
* Copyright (c) 2023-2025, Gregory Bertilson <gregory@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include "PlaybackStream.h"
namespace Audio {
2025-06-28 02:14:03 -03:00
#if !defined(AK_OS_WINDOWS)
ErrorOr<NonnullRefPtr<PlaybackStream>> __attribute__((weak)) PlaybackStream::create(OutputState, u32, SampleSpecificationCallback&&, AudioDataRequestCallback&&)
2025-06-28 02:14:03 -03:00
#else
ErrorOr<NonnullRefPtr<PlaybackStream>> PlaybackStream::create(OutputState, u32, SampleSpecificationCallback&&, AudioDataRequestCallback&&)
2025-06-28 02:14:03 -03:00
#endif
{
return Error::from_string_literal("Audio output is not available for this platform");
}
}