#include "audiodevice.h"#include "condition.h"#include "dcoffset.h"#include "bcprogressbox.h"Go to the source code of this file.
Defines | |
| #define | GET_PEAK_MACRO |
| #define | GET_8BIT_SAMPLE_MACRO1 |
| #define | GET_8BIT_SAMPLE_MACRO2 sample /= 0x7f; |
| #define | GET_16BIT_SAMPLE_MACRO1 |
| #define | GET_16BIT_SAMPLE_MACRO2 sample /= 0x7fff; |
| #define | GET_24BIT_SAMPLE_MACRO1 |
| #define | GET_24BIT_SAMPLE_MACRO2 sample /= 0x7fffff; |
| #define | GET_32BIT_SAMPLE_MACRO1 |
| #define | GET_32BIT_SAMPLE_MACRO2 sample /= 0x7fffffff; |
|
|
Value: sample = input_buffer_16[k]; \ if(dither_scale) { dither_value = rand() % dither_scale; sample -= dither_value; } \ sample -= dc_offset_value; \ k += input_channels; \ if(sample >= max_sample[i]) { sample = max_sample[i]; if(over_count < 3) over_count++; } \ else \ if(sample <= min_sample[i]) { sample = min_sample[i]; if(over_count < 3) over_count++; } \ else \ if(over_count < 3) over_count = 0; \ Definition at line 49 of file audioidevice.C. Referenced by AudioDevice::read_buffer(). |
|
|
Definition at line 60 of file audioidevice.C. Referenced by AudioDevice::read_buffer(). |
|
|
Value: sample = (unsigned char)input_buffer[k] | \ (((unsigned char)input_buffer[k + 1]) << 8) | \ (((int)input_buffer[k + 2]) << 16); \ sample -= dc_offset_value; \ k += input_channels * 3; \ if(sample >= max_sample[i]) { sample = max_sample[i]; if(over_count < 3) over_count++; } \ else \ if(sample <= min_sample[i]) { sample = min_sample[i]; if(over_count < 3) over_count++; } \ else \ if(over_count < 3) over_count = 0; Definition at line 65 of file audioidevice.C. Referenced by AudioDevice::read_buffer(). |
|
|
Definition at line 77 of file audioidevice.C. Referenced by AudioDevice::read_buffer(). |
|
|
Value: sample = (unsigned char)input_buffer[k] | \ (((unsigned char)input_buffer[k + 1]) << 8) | \ (((unsigned char)input_buffer[k + 2]) << 16) | \ (((int)input_buffer[k + 3]) << 24); \ sample -= dc_offset_value; \ k += input_channels * 4; \ if(sample >= max_sample[i]) { sample = max_sample[i]; if(over_count < 3) over_count++; } \ else \ if(sample <= min_sample[i]) { sample = min_sample[i]; if(over_count < 3) over_count++; } \ else \ if(over_count < 3) over_count = 0; Definition at line 82 of file audioidevice.C. Referenced by AudioDevice::read_buffer(). |
|
|
Definition at line 95 of file audioidevice.C. Referenced by AudioDevice::read_buffer(). |
|
|
Value: sample = input_buffer[k]; \ sample -= dc_offset_value; \ k += input_channels; \ if(sample >= max_sample[i]) { sample = max_sample[i]; if(over_count < 3) over_count++; } \ else \ if(sample <= min_sample[i]) { sample = min_sample[i]; if(over_count < 3) over_count++; } \ else \ if(over_count < 3) over_count = 0; Definition at line 34 of file audioidevice.C. Referenced by AudioDevice::read_buffer(). |
|
|
Definition at line 44 of file audioidevice.C. Referenced by AudioDevice::read_buffer(). |
|
|
Value: input_channel[j] = sample; \
if(sample > max[i]) max[i] = sample; \
else if(-sample > max[i]) max[i] = -sample;
Definition at line 26 of file audioidevice.C. Referenced by AudioDevice::read_buffer(). |
1.4.4