Blender V5.3
BKE_sound_types.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2026 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4#pragma once
5
9
10#include <memory>
11
12#if defined(WITH_AUDASPACE)
13
14namespace aud {
15class IDevice;
16class IHandle;
17class ISound;
18class Sequence;
19class SequenceEntry;
20} // namespace aud
21
22typedef std::shared_ptr<aud::IDevice> AUD_Device;
23typedef std::shared_ptr<aud::IHandle> AUD_Handle;
24typedef std::shared_ptr<aud::Sequence> AUD_Sequence;
25typedef std::shared_ptr<aud::ISound> AUD_Sound;
26typedef std::shared_ptr<aud::SequenceEntry> AUD_SequenceEntry;
27
28namespace aud {
29struct DeviceSpecs;
30}
31#else
32typedef std::shared_ptr<void> AUD_Device;
33typedef std::shared_ptr<void> AUD_Handle;
34typedef std::shared_ptr<void> AUD_Sequence;
35typedef std::shared_ptr<void> AUD_Sound;
36typedef std::shared_ptr<void> AUD_SequenceEntry;
37#endif
38
39namespace blender::bke {
40
44
45} // namespace blender::bke
std::shared_ptr< void > AUD_Sequence
std::shared_ptr< void > AUD_SequenceEntry
std::shared_ptr< void > AUD_Sound
std::shared_ptr< void > AUD_Handle
std::shared_ptr< void > AUD_Device