Skip to content

infinite loop #2

@cameni

Description

@cameni

In mixer.c:155:

    /* Some mixers like having a multiple of 4, so try to give that unless
     * this is the last update. */
    if(OutPos+DstBufferSize < SamplesToDo)
        DstBufferSize &= ~3;

In case the previously computed DstBufferSize is <4, this sets it to zero and the outer loop never terminates. Should probably be:

    if(DstBufferSize > 4 && OutPos+DstBufferSize < SamplesToDo)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions