Bump to 1.3.3 and add PCM layout streaming input
- Add JOC_STREAM_IN_PCM_LAYOUT for interleaved 48 kHz float32 PCM with 2.0/5.1/7.1 auto layout detection. - Isolate PCM channel mapping and fixed object positions in the new virtual_speaker module; the stream only schedules it. - Apply the master gain once inside virtual_speaker for the PCM path, while the E-AC-3/JOC path keeps its existing rebuild gain. - Add the multichannel binaural CLI, rational resampler and float32 WAV I/O. - Extend tests for the multichannel/resampling paths.
This commit is contained in:
1 parent
787984afe5
commit
6edcabf777
16 files changed
+1170
-9
No files matched your search
@@ -96,6 +96,9 @@ set(JOC_INTERNAL_SOURCES
|
||||
src/adm/adm_tracks.cpp
|
||||
src/binaural/jochrtf_runtime.cpp
|
||||
src/binaural/jochrtf_renderer.cpp
|
||||
src/binaural/multichannel_layout.cpp
|
||||
src/binaural/pcm_resampler.cpp
|
||||
src/virtual_speaker/virtual_speaker.cpp
|
||||
src/eac3_transport/eac3_reader.cpp
|
||||
src/emdf/emdf_parser.cpp
|
||||
src/foundation/bit_reader.cpp
|
||||
@@ -116,6 +119,7 @@ set(JOC_INTERNAL_SOURCES
|
||||
src/io/inflate.cpp
|
||||
src/io/npy.cpp
|
||||
src/io/npy_writer.cpp
|
||||
src/io/wav_pcm.cpp
|
||||
src/io/process.cpp
|
||||
src/io/wav_writer.cpp
|
||||
src/io/zip_reader.cpp
|
||||
@@ -250,6 +254,17 @@ if(JOC_BUILD_TESTS OR JOC_BUILD_DEVTOOLS)
|
||||
target_compile_definitions(joc_core_impl PUBLIC EJOC_STATIC)
|
||||
endif()
|
||||
|
||||
if(JOC_BUILD_TESTS OR JOC_BUILD_DEVTOOLS)
|
||||
add_executable(joc_multichannel src/cli/joc_multichannel.cpp)
|
||||
target_link_libraries(joc_multichannel PRIVATE joc_core_impl)
|
||||
target_include_directories(joc_multichannel PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
||||
set_target_properties(joc_multichannel PROPERTIES
|
||||
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
if(WIN32)
|
||||
target_link_libraries(joc_multichannel PRIVATE shell32)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_library(joc_core SHARED
|
||||
src/api/joc_api.cpp
|
||||
src/api/joc_stream_api.cpp
|
||||
|
||||
Reference in new issue
Block a user