Skip to content

Commit

Permalink
fixed unit tests and bits size
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrolcl committed Sep 17, 2024
1 parent 7a55576 commit 2aed483
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 28,045 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ list(APPEND SOURCES

if(USE_44KHZ)
list(APPEND SOURCES
arm-wt-22k/lib_src/wt_44khz.c
arm-wt-22k/jetcreator_lib_src/darwin-x86/wt_44khz.c
)
else()
list(APPEND SOURCES
Expand All @@ -129,7 +129,6 @@ target_compile_definitions( sonivox-objects PRIVATE
EAS_WT_SYNTH
NUM_OUTPUT_CHANNELS=2
MAX_SYNTH_VOICES=${MAX_VOICES}
_16_BIT_SAMPLES
_FILTER_ENABLED
DLS_SYNTHESIZER
_REVERB_ENABLED
Expand All @@ -144,10 +143,12 @@ target_compile_definitions( sonivox-objects PRIVATE
if(USE_44KHZ)
target_compile_definitions( sonivox-objects PRIVATE
_SAMPLE_RATE_44100
_8_BIT_SAMPLES
)
else()
target_compile_definitions( sonivox-objects PRIVATE
_SAMPLE_RATE_22050
_16_BIT_SAMPLES
)
endif()

Expand Down
Loading

0 comments on commit 2aed483

Please sign in to comment.