Skip to content

AudioStream::AttachProcessor and AudioStream::DetachProcessor calling ::SetAudioStreamCallback. #285

@akiriwas

Description

@akiriwas

It looks like AttachProcessor and DetachProcessor are calling ::SetAudioStreamCallback(*this, processor); rather than ::AttachAudioStreamProcessor(*this, processor). Same for AudioStreamDetachProcessor.

Is this an optimization of some kind I'm not aware of? It does't look to be since Attach and Detach Audio Processor utilize a linked-list data structure, even if they share the same callback type with SetAudioStreamCallback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions