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
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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
williamwalters
Aug 01, 2024 04:48
Thanks for your sharing
suleman100999
Aug 09, 2023 05:55
hi,
Thanks for sharing this informative post.
Cheers!
rankranchers.com
kedford6
Jul 12, 2023 08:48
I have accessed the documents you provided here. They are very helpful to me
villibi
Sep 22, 2022 14:36
So write there and learn all the details about any game through vivid writing. Just try to play here at <a href =casinowis.com/king-johnnie-casino>casinowis.com/king-johnnie-casino</a>
Pokies contribute 100 percent to the playthrough conditions. In the mean time, video poker, blackjack, roulette, and baccarat permit players to recover their store reward.
villibi
Sep 22, 2022 14:34
So write there and learn all the details about any game through vivid writing. Just try to play here at casinowis.com/king-johnnie-casino
webdesign_unity48
Jul 30, 2022 05:56
Thanks for the awesome post I feel happy to read this post thanks for sharing this post. I constantly read the smaller articles and clarify their motives, which also happens with this article!
webdesign_unity48
Jul 30, 2022 05:51
I just found this blog and have high hopes for it to continue. Keep up the great work, its hard to find good ones. I have added to my favorites.
thewordcount
Oct 21, 2021 10:13
Thanks for sharing this great and informative content good work keep it up
thewordcount.net/
dombraz
Oct 02, 2020 05:32
it is interesting
chinachin
Aug 17, 2020 02:39
I agree with your certain opinions. I will follow and wait for your new post!
https://wordcounter.tools