2023-07-04 04:55:53 -05:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2023, Gregory Bertilson <zaggy1024@gmail.com>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "PlaybackStream.h"
|
|
|
|
|
|
|
|
|
|
namespace Audio {
|
|
|
|
|
|
2025-06-27 22:14:03 -07:00
|
|
|
#if !defined(AK_OS_WINDOWS)
|
2024-12-23 13:32:27 -05:00
|
|
|
ErrorOr<NonnullRefPtr<PlaybackStream>> __attribute__((weak)) PlaybackStream::create(OutputState, u32, u8, u32, AudioDataRequestCallback&&)
|
2025-06-27 22:14:03 -07:00
|
|
|
#else
|
|
|
|
|
ErrorOr<NonnullRefPtr<PlaybackStream>> PlaybackStream::create(OutputState, u32, u8, u32, AudioDataRequestCallback&&)
|
|
|
|
|
#endif
|
2023-07-04 04:55:53 -05:00
|
|
|
{
|
|
|
|
|
return Error::from_string_literal("Audio output is not available for this platform");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|