mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-17 08:56:45 -05:00
remove broken *_step initialization (caused by previous Fedora 4 patch)
Thanks to Abramo for notice.
This commit is contained in:
parent
412fb54e0d
commit
f658e3e148
1 changed files with 0 additions and 6 deletions
|
|
@ -53,9 +53,6 @@ static void mix_areas1(unsigned int size,
|
||||||
size_t src_step, size_t sum_step)
|
size_t src_step, size_t sum_step)
|
||||||
{
|
{
|
||||||
register signed int sample, old_sample;
|
register signed int sample, old_sample;
|
||||||
src_step /= sizeof(*src);
|
|
||||||
dst_step /= sizeof(*dst);
|
|
||||||
sum_step /= sizeof(*sum);
|
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
sample = *src;
|
sample = *src;
|
||||||
|
|
@ -87,9 +84,6 @@ static void mix_areas2(unsigned int size,
|
||||||
size_t src_step, size_t sum_step)
|
size_t src_step, size_t sum_step)
|
||||||
{
|
{
|
||||||
register signed int sample, old_sample;
|
register signed int sample, old_sample;
|
||||||
src_step /= sizeof(*src);
|
|
||||||
dst_step /= sizeof(*dst);
|
|
||||||
sum_step /= sizeof(*sum);
|
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
sample = *src / 256;
|
sample = *src / 256;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue