Showing the changes to src/example2.c (1 of 49 files). Show all
Unified · Split
| @@ -87,6 +87,7 @@ int main(int argc, char * argv[]) · 86 unmodified lines | |||
| 87 | int l, r; | 87 | int l, r; |
| 88 | 88 | ||
| 89 | for (i = 0; i < block_size; ++i) { | 89 | for (i = 0; i < block_size; ++i) { |
| 90 | SOX_SAMPLE_LOCALS; | ||
| 90 | /* convert the sample from SoX's internal format to a `double' for | 91 | /* convert the sample from SoX's internal format to a `double' for |
| 91 | * processing in this application: */ | 92 | * processing in this application: */ |
| 92 | double sample = SOX_SAMPLE_TO_FLOAT_64BIT(buf[i], clips); | 93 | double sample = SOX_SAMPLE_TO_FLOAT_64BIT(buf[i], clips); |