mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
add libsndifle 1.0.17 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3761 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
42
libs/libsndfile/tests/pcm_test.def
Normal file
42
libs/libsndfile/tests/pcm_test.def
Normal file
@@ -0,0 +1,42 @@
|
||||
autogen definitions pcm_test.tpl;
|
||||
|
||||
data_type = {
|
||||
name = "bits_8" ;
|
||||
item_count = 127 ;
|
||||
short_func = "((k * ((k % 2) ? 1 : -1)) << 8)" ;
|
||||
int_func = "((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 = "((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 = "((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))" ;
|
||||
} ;
|
||||
|
||||
/*
|
||||
** Do not edit or modify anything in this comment block.
|
||||
** The arch-tag line is a file identity tag for the GNU Arch
|
||||
** revision control system.
|
||||
**
|
||||
** arch-tag: a939b77e-4175-460b-a393-fb38012ded7c
|
||||
*/
|
||||
|
Reference in New Issue
Block a user