Re: The Synthizer Thread

@Camlorn
Does Synthizer manually support setting the pan, pitch and volume properties?
This would be useful for example, when I want a sound to play on the far left side of the player and at full volume, like a huge distant explosion.
Also, do you think it's necessary to allow seeking through sounds, getting the current position and length of the sound? Might be nice to have, but most audio games don't need it.
I'm also getting an error when building, I'm using clang-cl as the C and CXX compiler, I downloaded it from LLVM.
cmake -G Ninja ..
...
ninja
...
[12/34] Building CXX object CMakeFiles\synthizer.dir\src\source.cpp.obj
FAILED: CMakeFiles/synthizer.dir/src/source.cpp.obj
C:\LLVM\bin\clang-cl.exe  /nologo -TP -DBUILDING_SYNTHIZER -DWDL_RESAMPLE_TYPE=float -D_ENABLE_EXTENDED_ALIGNED_STORAGE -I..\include -I..\third_party\miniaudio -I..\third_party\dr_libs -I..\third_party\stb -I..\third_party\cpp11-on-multicore\common -I..\third_party\wdl -I..\third_party\plf_colony /DWIN32 /D_WINDOWS /GR /EHsc /Zi /Ob0 /Od /RTC1 -MT   -Xclang -fno-caret-diagnostics -Wno-deprecated-declarations -Wno-logical-op-parentheses -std:c++17 /showIncludes /FoCMakeFiles\synthizer.dir\src\source.cpp.obj /FdCMakeFiles\synthizer.dir\synthizer.pdb -c ..\src\source.cpp
In file included from ..\src\source.cpp:3:
In file included from ..\include\synthizer/sources.hpp:7:
..\include\synthizer/spatialization_math.hpp(63,9): error: no member named 'sqrt' in namespace 'std'; did you mean simply 'sqrt'?
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt\corecrt_math.h(485,54): note: 'sqrt' declared here

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : keithwipf1 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : keithwipf1 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : keithwipf1 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : keithwipf1 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : camlorn via Audiogames-reflector

Reply via email to