Skip to content

Support Exclusive Mode #106

Open

Description

@fb39ca4
No description provided.

Activity

  1. mitchmindtree commented on Feb 12, 2018

    @mitchmindtree
    Member

    I'm guessing this is referring to the windows backend as I remember briefly seeing some documentation on this when working on the wasapi backend. Could you elaborate on how exclusive mode behaves differently from shared mode? Do you see a path towards supporting this for all backends?

  2. tomaka commented on Feb 12, 2018

    @tomaka
    Collaborator

    When in exclusive mode you can write (or read, I guess) directly to (from) the hardware. It is therefore faster than shared mode, but no other application can access the device in the meanwhile, and we cannot access it if another application already uses it in shared mode.

  3. mitchmindtree commented on Feb 12, 2018

    @mitchmindtree
    Member

    Ah, thanks for the explanation. I guess this might be useful for some pro-audio software like DAWs and live performance applications. That said, I don't remember seeing anything like this in the coreaudio or alsa backends.

    I guess if this were to be implemented, it would be an addition of a whole new wasapi_exclusive backend, perhaps enabled by a feature?

    Alternatively, we could introduce something similar to PortAudio's Host API? I've opened up #204 for discussion.

  4. blueneogeo commented on May 10, 2020

    @blueneogeo

    CoreAudio also has a hog mode property: kAudioDevicePropertyHogMode

    Hog mode is important if you go for the best audio quality. For example, streaming software clients such as Spotify and Tidal have hog mode support. Spotify turns this on by default.

  5. blueneogeo commented on Mar 29, 2021

    @blueneogeo

    Any update on this? Or is it already implemented in one of the other closed tickets?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions