Search Unity

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.
     
    Tymianek likes this.
  2. Adrian

    Adrian

    Joined:
    Apr 5, 2008
    Posts:
    1,063
    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:
    407
    Sad but true...:confused:
    I'm happy to say that it's something we're currently looking though!
     
    EWimsett, NeuroLab-MOCU and Bauflow like 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:
    7
    Dear SeventhString,
    If there is any solution developed for Unity Android so far?
     
    Tymianek likes this.
  6. SeventhString

    SeventhString

    Unity Technologies

    Joined:
    Jan 12, 2023
    Posts:
    407
    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
     
  8. SGS_Development

    SGS_Development

    Joined:
    Jan 11, 2017
    Posts:
    2
    My brother in Christ.
    You just explained how to change windows sound output on a development forum
    That was funny!
    Cheers!
     
    Tymianek likes this.