memcpy(samples_orig, samples, sizeof(samples));
for (i = 0; i < CHANNELS; i++)
- volumes[i] = PA_CLAMP_VOLUME(rand() >> 1);
+ volumes[i] = PA_CLAMP_VOLUME(rand() >> 15);
for (padding = 0; padding < PADDING; padding++, i++)
volumes[i] = volumes[padding];
memcpy(samples_orig, samples, sizeof(samples));
for (i = 0; i < CHANNELS; i++)
- volumes[i] = PA_CLAMP_VOLUME(rand() >> 1);
+ volumes[i] = PA_CLAMP_VOLUME(rand() >> 15);
/* volumes[i] = 0x0000ffff; */
for (padding = 0; padding < PADDING; padding++, i++)
volumes[i] = volumes[padding];
memcpy(samples_orig, samples, sizeof(samples));
for (i = 0; i < CHANNELS; i++)
- volumes[i] = PA_CLAMP_VOLUME(rand() >> 1);
+ volumes[i] = PA_CLAMP_VOLUME(rand() >> 15);
for (padding = 0; padding < PADDING; padding++, i++)
volumes[i] = volumes[padding];
memcpy(samples_orig, samples, sizeof(samples));
for (i = 0; i < CHANNELS; i++)
- volumes[i] = PA_CLAMP_VOLUME(rand() >> 1);
+ volumes[i] = PA_CLAMP_VOLUME(rand() >> 15);
for (padding = 0; padding < PADDING; padding++, i++)
volumes[i] = volumes[padding];