/dports/games/flightgear/flightgear-2020.3.11/3rdparty/iaxclient/lib/portaudio/test/ |
H A D | patest_mono_asio_channel_select.c | 53 #define TABLE_SIZE (200) macro 56 float sine[TABLE_SIZE]; 83 if( data->phase >= TABLE_SIZE ) data->phase -= TABLE_SIZE; in patestCallback() 101 for( i=0; i<TABLE_SIZE; i++ ) in main() 103 data.sine[i] = (float) (AMPLITUDE * sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. )); in main()
|
H A D | patest_stop_playout.c | 56 #define TABLE_SIZE (2048) macro 59 float sine[TABLE_SIZE+1]; 94 for( i=0; i<TABLE_SIZE; i++ ) in InitTestSignalGenerator() 96 data->sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in InitTestSignalGenerator() 98 data->sine[TABLE_SIZE] = data->sine[0]; /* guard point for linear interpolation */ in InitTestSignalGenerator() 102 data->lowIncrement = (330. / SAMPLE_RATE) * TABLE_SIZE; in InitTestSignalGenerator() 103 data->highIncrement = (1760. / SAMPLE_RATE) * TABLE_SIZE; in InitTestSignalGenerator() 154 while( data->phase >= TABLE_SIZE ) in GenerateTestSignal() 155 data->phase -= TABLE_SIZE; in GenerateTestSignal() 203 while( data->phase >= TABLE_SIZE ) in GenerateTestSignal() [all …]
|
H A D | patest_stop.c | 69 #define TABLE_SIZE (400) macro 73 float waveform[TABLE_SIZE + 1]; /* Add one for guard point for interpolation. */ 97 float fIndex = phase*TABLE_SIZE; in LookupWaveform() 183 for( i=0; i<TABLE_SIZE; i++ ) in main() 186 (0.2 * sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. )) + in main() 187 (0.2 * sin( ((double)(3*i)/(double)TABLE_SIZE) * M_PI * 2. )) + in main() 188 (0.1 * sin( ((double)(5*i)/(double)TABLE_SIZE) * M_PI * 2. )) in main() 191 data.waveform[TABLE_SIZE] = data.waveform[0]; /* Set guard point. */ in main()
|
H A D | patest_callbackstop.c | 49 #define TABLE_SIZE (200) macro 52 float sine[TABLE_SIZE]; 89 if( data->phase >= TABLE_SIZE ) in TestCallback() 90 data->phase -= TABLE_SIZE; in TestCallback() 123 for( i=0; i<TABLE_SIZE; i++ ) in main() 125 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
|
/dports/emulators/mame/mame-mame0226/3rdparty/portaudio/examples/ |
H A D | paex_mono_asio_channel_select.c | 64 #define TABLE_SIZE (200) macro 67 float sine[TABLE_SIZE]; 94 if( data->phase >= TABLE_SIZE ) data->phase -= TABLE_SIZE; in patestCallback() 112 for( i=0; i<TABLE_SIZE; i++ ) in main() 114 data.sine[i] = (float) (AMPLITUDE * sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. )); in main()
|
/dports/audio/portaudio/portaudio/examples/ |
H A D | paex_mono_asio_channel_select.c | 64 #define TABLE_SIZE (200) macro 67 float sine[TABLE_SIZE]; 94 if( data->phase >= TABLE_SIZE ) data->phase -= TABLE_SIZE; in patestCallback() 112 for( i=0; i<TABLE_SIZE; i++ ) in main() 114 data.sine[i] = (float) (AMPLITUDE * sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. )); in main()
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/portaudio_sc_org/examples/ |
H A D | paex_mono_asio_channel_select.c | 64 #define TABLE_SIZE (200) macro 67 float sine[TABLE_SIZE]; 94 if( data->phase >= TABLE_SIZE ) data->phase -= TABLE_SIZE; in patestCallback() 112 for( i=0; i<TABLE_SIZE; i++ ) in main() 114 data.sine[i] = (float) (AMPLITUDE * sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. )); in main()
|
/dports/emulators/mess/mame-mame0226/3rdparty/portaudio/test/ |
H A D | patest_dsound_low_level_latency_params.c | 56 #define TABLE_SIZE (2048) macro 63 float sine[TABLE_SIZE]; 90 if( data->phase >= TABLE_SIZE ){ in patestCallback() 91 data->phase -= TABLE_SIZE; in patestCallback() 126 for( i=0; i<TABLE_SIZE; i++ ) in main() 128 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
|
H A D | patest_stop.c | 76 #define TABLE_SIZE (400) macro 80 float waveform[TABLE_SIZE + 1]; /* Add one for guard point for interpolation. */ 104 float fIndex = phase*TABLE_SIZE; in LookupWaveform() 190 for( i=0; i<TABLE_SIZE; i++ ) in main() 193 (0.2 * sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. )) + in main() 194 (0.2 * sin( ((double)(3*i)/(double)TABLE_SIZE) * M_PI * 2. )) + in main() 195 (0.1 * sin( ((double)(5*i)/(double)TABLE_SIZE) * M_PI * 2. )) in main() 198 data.waveform[TABLE_SIZE] = data.waveform[0]; /* Set guard point. */ in main()
|
H A D | patest_wmme_low_level_latency_params.c | 60 #define TABLE_SIZE (2048) macro 67 float sine[TABLE_SIZE]; 94 if( data->phase >= TABLE_SIZE ){ in patestCallback() 95 data->phase -= TABLE_SIZE; in patestCallback() 130 for( i=0; i<TABLE_SIZE; i++ ) in main() 132 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
|
/dports/emulators/mame/mame-mame0226/3rdparty/portaudio/test/ |
H A D | patest_dsound_low_level_latency_params.c | 56 #define TABLE_SIZE (2048) macro 63 float sine[TABLE_SIZE]; 90 if( data->phase >= TABLE_SIZE ){ in patestCallback() 91 data->phase -= TABLE_SIZE; in patestCallback() 126 for( i=0; i<TABLE_SIZE; i++ ) in main() 128 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
|
H A D | patest_stop.c | 76 #define TABLE_SIZE (400) macro 80 float waveform[TABLE_SIZE + 1]; /* Add one for guard point for interpolation. */ 104 float fIndex = phase*TABLE_SIZE; in LookupWaveform() 190 for( i=0; i<TABLE_SIZE; i++ ) in main() 193 (0.2 * sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. )) + in main() 194 (0.2 * sin( ((double)(3*i)/(double)TABLE_SIZE) * M_PI * 2. )) + in main() 195 (0.1 * sin( ((double)(5*i)/(double)TABLE_SIZE) * M_PI * 2. )) in main() 198 data.waveform[TABLE_SIZE] = data.waveform[0]; /* Set guard point. */ in main()
|
H A D | patest_wmme_low_level_latency_params.c | 60 #define TABLE_SIZE (2048) macro 67 float sine[TABLE_SIZE]; 94 if( data->phase >= TABLE_SIZE ){ in patestCallback() 95 data->phase -= TABLE_SIZE; in patestCallback() 130 for( i=0; i<TABLE_SIZE; i++ ) in main() 132 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
|
/dports/audio/portaudio/portaudio/test/ |
H A D | patest_dsound_low_level_latency_params.c | 56 #define TABLE_SIZE (2048) 63 float sine[TABLE_SIZE]; 90 if( data->phase >= TABLE_SIZE ){ 91 data->phase -= TABLE_SIZE; 126 for( i=0; i<TABLE_SIZE; i++ ) 128 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. );
|
H A D | patest_stop.c | 76 #define TABLE_SIZE (400) 80 float waveform[TABLE_SIZE + 1]; /* Add one for guard point for interpolation. */ 104 float fIndex = phase*TABLE_SIZE; 190 for( i=0; i<TABLE_SIZE; i++ ) 193 (0.2 * sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. )) + 194 (0.2 * sin( ((double)(3*i)/(double)TABLE_SIZE) * M_PI * 2. )) + 195 (0.1 * sin( ((double)(5*i)/(double)TABLE_SIZE) * M_PI * 2. )) 198 data.waveform[TABLE_SIZE] = data.waveform[0]; /* Set guard point. */
|
H A D | patest_wmme_low_level_latency_params.c | 60 #define TABLE_SIZE (2048) macro 67 float sine[TABLE_SIZE]; 94 if( data->phase >= TABLE_SIZE ){ in patestCallback() 95 data->phase -= TABLE_SIZE; in patestCallback() 130 for( i=0; i<TABLE_SIZE; i++ ) in main() 132 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
|
/dports/audio/supercollider/SuperCollider-3.11.0-Source/external_libraries/portaudio_sc_org/test/ |
H A D | patest_dsound_low_level_latency_params.c | 56 #define TABLE_SIZE (2048) macro 63 float sine[TABLE_SIZE]; 90 if( data->phase >= TABLE_SIZE ){ in patestCallback() 91 data->phase -= TABLE_SIZE; in patestCallback() 126 for( i=0; i<TABLE_SIZE; i++ ) in main() 128 data.sine[i] = (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main()
|
H A D | patest_stop.c | 76 #define TABLE_SIZE (400) macro 80 float waveform[TABLE_SIZE + 1]; /* Add one for guard point for interpolation. */ 104 float fIndex = phase*TABLE_SIZE; in LookupWaveform() 190 for( i=0; i<TABLE_SIZE; i++ ) in main() 193 (0.2 * sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. )) + in main() 194 (0.2 * sin( ((double)(3*i)/(double)TABLE_SIZE) * M_PI * 2. )) + in main() 195 (0.1 * sin( ((double)(5*i)/(double)TABLE_SIZE) * M_PI * 2. )) in main() 198 data.waveform[TABLE_SIZE] = data.waveform[0]; /* Set guard point. */ in main()
|
/dports/news/tin/tin-2.4.5/src/ |
H A D | list.c | 50 static int group_hash[TABLE_SIZE]; /* group name --> active[] */ 71 for (i = 0; i < TABLE_SIZE; i++) in init_group_hash() 94 hash_value %= TABLE_SIZE; in hash_groupname() 96 hash_value %= TABLE_SIZE; in hash_groupname() 294 for (i = 0; i < TABLE_SIZE; i++) { in debug_print_active_hash() 315 num_active, TABLE_SIZE, TABLE_SIZE - empty, empty); in debug_print_active_hash()
|
/dports/chinese/tin/tin-2.4.5/src/ |
H A D | list.c | 50 static int group_hash[TABLE_SIZE]; /* group name --> active[] */ 71 for (i = 0; i < TABLE_SIZE; i++) in init_group_hash() 94 hash_value %= TABLE_SIZE; in hash_groupname() 96 hash_value %= TABLE_SIZE; in hash_groupname() 294 for (i = 0; i < TABLE_SIZE; i++) { in debug_print_active_hash() 315 num_active, TABLE_SIZE, TABLE_SIZE - empty, empty); in debug_print_active_hash()
|
/dports/math/ogdf/OGDF/include/ogdf/basic/memory/ |
H A D | PoolMemoryAllocator.h | 67 static constexpr size_t TABLE_SIZE = 256; variable 79 return nBytes < TABLE_SIZE; in checkSize() 149 static PoolElement s_pool[TABLE_SIZE]; 162 static MemElemPtr s_tp[TABLE_SIZE]; 166 static thread_local MemElemPtr s_tp[TABLE_SIZE];
|
/dports/games/cultivation/Cultivation_8_UnixSource/minorGems/sound/portaudio/pa_tests/ |
H A D | patest_stop.c | 67 #define TABLE_SIZE (400) macro 70 float waveform[TABLE_SIZE + 1]; // add one for guard point for interpolation 92 float fIndex = phase*TABLE_SIZE; in LookupWaveform() 170 for( i=0; i<TABLE_SIZE; i++ ) in main() 173 (0.2 * sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. )) + in main() 174 (0.2 * sin( ((double)(3*i)/(double)TABLE_SIZE) * M_PI * 2. )) + in main() 175 (0.1 * sin( ((double)(5*i)/(double)TABLE_SIZE) * M_PI * 2. )) in main() 178 DATA.waveform[TABLE_SIZE] = DATA.waveform[0]; // set guard point in main()
|
H A D | patest_latency.c | 56 #define TABLE_SIZE (400) macro 59 float sine[TABLE_SIZE + 1]; // add one for guard point for interpolation 71 float fIndex = phase*TABLE_SIZE; in LookupSine() 116 for( i=0; i<TABLE_SIZE; i++ ) in main() 118 data.sine[i] = 0.90f * (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main() 120 data.sine[TABLE_SIZE] = data.sine[0]; // set guard point in main()
|
/dports/devel/raknet/raknet-3.9.2_10,1/DependentExtensions/portaudio_v18_1/pa_tests/ |
H A D | patest_stop.c | 67 #define TABLE_SIZE (400) macro 70 float waveform[TABLE_SIZE + 1]; // add one for guard point for interpolation 92 float fIndex = phase*TABLE_SIZE; in LookupWaveform() 170 for( i=0; i<TABLE_SIZE; i++ ) in main() 173 (0.2 * sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. )) + in main() 174 (0.2 * sin( ((double)(3*i)/(double)TABLE_SIZE) * M_PI * 2. )) + in main() 175 (0.1 * sin( ((double)(5*i)/(double)TABLE_SIZE) * M_PI * 2. )) in main() 178 DATA.waveform[TABLE_SIZE] = DATA.waveform[0]; // set guard point in main()
|
H A D | patest_latency.c | 56 #define TABLE_SIZE (400) macro 59 float sine[TABLE_SIZE + 1]; // add one for guard point for interpolation 71 float fIndex = phase*TABLE_SIZE; in LookupSine() 116 for( i=0; i<TABLE_SIZE; i++ ) in main() 118 data.sine[i] = 0.90f * (float) sin( ((double)i/(double)TABLE_SIZE) * M_PI * 2. ); in main() 120 data.sine[TABLE_SIZE] = data.sine[0]; // set guard point in main()
|