Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Audio SetOutputData()???

Discussion in 'Audio & Video' started by mikelowefedex, Nov 7, 2020.

  1. mikelowefedex

    mikelowefedex

    Joined:
    Sep 29, 2020
    Posts:
    139
    Hello,
    I noticed there is a way to capture output data playing from an audio source, into a sample array, but what if I would like that sample array to play from another audio source after changing the values of the sample array? Wouldn't

    AudioSource.SetOutputData(sample);

    be a great idea?