Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question how can I change the Sound output device?

Discussion in 'Audio & Video' started by Bauflow, Apr 27, 2023.

  1. Bauflow

    Bauflow

    Joined:
    Jul 15, 2020
    Posts:
    2
    I'm trying to create a dropbox where I can choose whether to use my headset or the speakers, but I have no idea how to start.
     
  2. Adrian

    Adrian

    Joined:
    Apr 5, 2008
    Posts:
    1,051
    Unity always outputs to the default audio device and there's no way change it.

    If you want to play to non-default or multiple audio devices, you'd have to use a plugin (e.g. AudioStream on the asset store) or a third-party audio system like FMOD or Wwise.
     
    Bauflow likes this.
  3. SeventhString

    SeventhString

    Unity Technologies

    Joined:
    Jan 12, 2023
    Posts:
    305
    Sad but true...:confused:
    I'm happy to say that it's something we're currently looking though!
     
    Bauflow likes this.
  4. Bauflow

    Bauflow

    Joined:
    Jul 15, 2020
    Posts:
    2
    Thanks, I'll investigate about it, I love you bro!
     
  5. Akzamutdinov

    Akzamutdinov

    Joined:
    Jan 4, 2021
    Posts:
    6
    Dear SeventhString,
    If there is any solution developed for Unity Android so far?
     
  6. SeventhString

    SeventhString

    Unity Technologies

    Joined:
    Jan 12, 2023
    Posts:
    305
    We're not there yet, but that's definitely on the table.
     
  7. STARvonSTAR

    STARvonSTAR

    Joined:
    Jun 8, 2023
    Posts:
    2
    If it's just the actual feature of playing Unity sounds from a said audio source you can do this via Windows.

    In Win 11:
    1. Right click Windows sound icon on bottom right
    2. Select "Volume Mixer/Control"
    3. In the list of apps presented you can press the expand arrow next to the Unity app and then change "Output device" to whatever you want.

    Peace