- Home /
Why does setting AudioListener.volume to Anything on the iPad Mute It?
I'm attempting to allow the user to adjust the system volume with a horizontal slider as follows:
AudioListener.volume=GUI.HorizontalSlider(new Rect(ScreenW*0.5f-150,ScreenH-66,300,64),AudioListener.volume,0,1);
Works as expected on the desktop, but on the iPad the volume is now totally off all the time, regardless of the state of the slider. Know what's up?
That's very odd, if you use: "Debug.Log(AudioLister.volume);" does it output a value that's always 0-1 ? And just double check that the listener hasn't been muted too.
Answer by blitzen · Aug 21, 2012 at 02:33 AM
Tester had the damn thing muted (Home button twice then swipe right), which is apparently app-specific because he has sound on other apps.
Your answer
![](https://koobas.hobune.stream/wayback/20220613075820im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
What is the exact equation being used for sound volume? 0 Answers
How to check a device volume level? 0 Answers
AudioListener.volume doesn't change the volume 4 Answers
AudioListener.volume doesn't work 2 Answers