Skip to content

Buffer creation interface #83

@bramtayl

Description

@bramtayl

Currently, if you want to write from a SampledSignal to PortAudio, you will end up maintaining two buffers. SampledSignals will make a buffer, PortAudio will make a buffer, and all data will be copied back and forth between these buffers. It seems possible for SampledSignals to just use the PortAudioBuffer. One way of doing this would be to have some sort of public interface, maybe a make_buffer function, that defaults to allocating a regular array. Then, PortAudio could overload that function and say "you can share my buffer".

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