Skip to content

Enable creation of HalOutput even if it is a default device #155

Description

@zhaih

As part of #152, the audio_unit_from_device_id function used to force a audio device of type HalOutput but now will distinguish between HalOutput and DefaultOutput depending on whether the device id requested is a default device.
I think that is a reasonable change from what it looks, but as a side effect, the user cannot create a HalOutput from a default device and cannot enter exclusive mode (hogging mode).
I do wonder what is the benefits of using DefaultOutput vs. HalOutput and I think if we are not going to revert the behavior it is probably better adding a new flag/function to allow creation of an HalOutput regardless whether the requested device is default or not?

Activity

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

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