furnace/extern/libsndfile-modified/tests/pcm_test.def
tildearrow 061991fe60 desubmodulize libsndfile - PLEASE READ
it appears a one-character typo in the cmake_minimum_required line prevents it from compiling under CMake 4.0.
in order to fix that, I had to take this thing out of submodules...

it is recommended to do this after you pull;

git submodule deinit extern/libsndfile
2025-04-02 15:09:53 -05:00

35 lines
903 B
Modula-2

autogen definitions pcm_test.tpl;
data_type = {
name = "bits_8" ;
item_count = 127 ;
short_func = "arith_shift_left (k * ((k % 2) ? 1 : -1), 8)" ;
int_func = "arith_shift_left (k * ((k % 2) ? 1 : -1), 24)" ;
float_func = "(k * ((k % 2) ? 1 : -1))" ;
} ;
data_type = {
name = "bits_16" ;
item_count = 1024 ;
short_func = "(k * ((k % 2) ? 3 : -3))" ;
int_func = "arith_shift_left (k * ((k % 2) ? 3 : -3), 16)" ;
float_func = "(k * ((k % 2) ? 3 : -3))" ;
} ;
data_type = {
name = "bits_24" ;
item_count = 1024 ;
short_func = "(k * ((k % 2) ? 3 : -3))" ;
int_func = "arith_shift_left (k * ((k % 2) ? 3333 : -3333), 8)" ;
float_func = "(k * ((k % 2) ? 3333 : -3333))" ;
} ;
data_type = {
name = "bits_32" ;
item_count = 1024 ;
short_func = "(k * ((k % 2) ? 3 : -3))" ;
int_func = "(k * ((k % 2) ? 333333 : -333333))" ;
float_func = "(k * ((k % 2) ? 333333 : -333333))" ;
} ;