Search Issue Tracker

By Design

Votes

0

Found in

5.2.0f3

Issue ID

726210

Regression

Yes

AudioSource.GetOutputData does not receive audio data in script when AudioSource is muted

Audio

-

How to reproduce:

1. Open attached project
2. Open scene unity5-School.unity
3. Play the scene
4. Hum into the microphone, slowly increasing the pitch
- Note how the speedometer increases properly
5. Select the gameobject Canvas_meters
6. Mute the Audio Source
7. Hum into the microphone again
- Note that the speedometer does not react (unlike the people in the same room)
- A workaround is to route the Audio Source into a specific mixer channel with the channel's volume set to low

By Design:
- The behaviour of this has changed to fix the conceptually broken behaviour of GetOutputData.
- It doesn't make sense to have an AudioSource muted, effectively producing no signal, and have getOutputData return signal. This fix was put in place to bring the behaviour inline with what is conceptually happening with the signal path.
- To achieve the old behaviour, have the AudioSource route into an AudioGroup of an AudioMixer that is fully attenuated. That way the data can be read from the mic audioSource and not be played through the speakers.

Comments (11)

  1. 524b8711ae692fb84466f4568d2f1e79?d=mm

    dombraz

    Oct 02, 2020 05:32

    it is interesting

  2. 87bcffe4d5827dd71f285d9e3061dc11?d=mm

    chinachin

    Aug 17, 2020 02:39

    I agree with your certain opinions. I will follow and wait for your new post!
    https://wordcounter.tools

  3. 5a8ce819d6cbd41794aa2b3d13d065ba?d=mm

    gracejordan1070

    Jul 31, 2020 13:38

    I have used samples found on https://qweetly.com. They have a rich database of numerous assignments. I used them to do my own papers.

  4. A96928c00aa8209dbf34e1389bcf0335?d=mm

    JamesChristopherson

    Jul 17, 2020 10:11

  5. E23b6364967b93438d51c3b315e296c9?d=mm

    jesameteng

    Jun 09, 2020 23:48

  6. 92b5dec5c89852906a844a10f47b1bab?d=mm

    Hirrirov

    May 08, 2020 13:26

  7. 01345ea795be728152959f24dc44e787?d=mm

    Wesley382

    Mar 28, 2020 21:21

    GETOUTPUTDATA does not receive data in script form and this is a side effect of this tracker. This issue can be solved by changing its design and its functions. This https://graduateway.com/importance-of-tuition-2/ can improve its audio quality for the batter sound quality.

  8. A6afba9bb6f63763b361186bb8712134?d=mm

    Malkova

    Jan 21, 2020 18:03

    i think you need to more work on your data source .there is some irragularity in data. i hpe you will take serious action on it. thank you [url=http://seodubai.ae/]seo dubai[/url]

  9. A6afba9bb6f63763b361186bb8712134?d=mm

    Malkova

    Jan 03, 2020 00:16

    there is some problems in your data please arrange it https://www.mybesthoverboard.com/skque-hoverboard-reviews/

  10. 09d03dd4589bc06f8275a7b440beab96?d=mm

    jason492

    Dec 30, 2019 19:54

    This source is not in well managed
    <a href="https://aclashoflightsapk.info/">aclashoflightsapk</a>

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.