Skip to content

Pa_SelectHostApis to specify which host APIs will be initialized at startup #10

Description

@PortAudio-admin

Issue created by @RossBencina

Change host API Ids to a bit mask and provide a function

Pa_SelectHostApis( hostApis, capacity, count)

which can be called prior to Pa_Initialize() to determine which APIs will be initialized.

This could avoid initializing unwanted APIs (and all sorts of problems on Windows with buggy drivers when trying to init DirectSound and ASIO and MME all for the same app.

Earlier versions of this proposal proposed Pa_SetHostApiInitializationMask() with a bitmask to specify which host apis to initialize.

A prototype implementation is now available on the git "ticket-10-select-host-apis" branch. See the documentation in portaudio.h for details. See comments below for notes on the evolution of the prototype.

https://app.assembla.com/spaces/portaudio/git/compare/portaudio:ticket-10-select-host-apis...portaudio:master

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4Priority: Lowpublic-apiThe public API defined in include/PortAudio.h

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions