blender/extern/audaspace
Jonas Holzman 7a9ca824c5 Build: macOS: Fix bitwise operation enum type warning in Audaspace
This fixes the following warning:

```
<...>/blender/extern/audaspace/plugins/coreaudio/CoreAudioDevice.cpp:160:73: warning: bitwise operation between different enumeration types ('(unnamed enum at <...>/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h:573:1)' and '(unnamed enum at <...>/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h:522:1)') is deprecated [-Wdeprecated-anon-enum-enum-conversion]
  160 |         stream_basic_description.mFormatFlags |= kAudioFormatFlagsNativeEndian | kLinearPCMFormatFlagIsPacked;

```

This deprecation (and warning) is new in C++20. The issue came from
macOS CoreAudio using an internal macro (CF_ENUM) to define anonymous
enums with an underlying type, with the warning then being cause by both
of these constants being part of different enums.

Fixed by adding an explict cast to the underlying type
(AudioFormatFlags) before applying the bitwise operation.
2026-02-21 18:07:16 +01:00
..
bindings Cleanup: avoid comparing double to enum 2026-01-16 18:01:46 +01:00
config
include Audaspace: port changes from upstream. 2025-11-22 18:34:57 +01:00
plugins Build: macOS: Fix bitwise operation enum type warning in Audaspace 2026-02-21 18:07:16 +01:00
src Audaspace: porting bugfix from upstream. 2026-01-01 15:54:21 +01:00
AUTHORS Audaspace: porting changes from upstream. 2025-08-23 17:25:38 +02:00
blender_config.cmake Audio: rewrite Audaspace integration to use C++ APIs 2026-01-26 17:45:46 +01:00
CHANGES Audaspace: port changes from upstream. 2025-11-22 18:34:57 +01:00
CMakeLists.txt CMake: resolve uninitialized variable warnings 2026-01-29 02:37:08 +00:00
INSTALL
LICENSE
README.blender Audaspace: update to version 1.6 for blender 4.4. 2025-03-06 21:14:45 +01:00
README.md Audaspace: update to version 1.6 for blender 4.4. 2025-03-06 21:14:45 +01:00

audaspace

Audaspace (pronounced "outer space") is a high level audio library written in C++ with language bindings for Python for example. It started out as the audio engine of the 3D modelling application Blender and is now released as a standalone library.

Documentation and Community

The documentation including guides for building and installing, demos, tutorials as well as the API reference for C++, C and python can be found on https://audaspace.github.io.

Bug reports and feature requests should go to the issue tracker.

For any other discussions about audaspace there is a mailing list and there is also the IRC channel #audaspace on irc.freenode.net.

Features

The following (probably incomplete) features are supported by audaspace:

  • input/output devices
  • input from microphones, line in, etc.
  • output devices including 3D audio support
  • file reading/writing
  • filters like low-/highpass and effects like delay, reverse or fading
  • generators for simple waveforms like silence, sine and triangle
  • respecification - this term is used for changing stream parameters which are
  • channel count - channel remapping
  • sample format - the library internally uses 32 bit floats
  • sample rate - resampling
  • simple (superposition, joining and ping-pong aka forward-reverse) and more complex (non-linear audio editing) sequencing of sounds

License

Copyright © 2009-2025 Jörg Müller. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.