[英]why volume property doesn't work on ZUNE objects in WP7?
I'm facing a very odd problem here, it seems like reducing or any action taken on the Volume property of the MediaPlayer static class doesn't make any difference. 我在这里面临一个非常奇怪的问题,似乎是减少操作或对MediaPlayer静态类的Volume属性执行的任何操作都没有任何区别。 I've heard somewhere that microsoft protected it but it doesn't make any sense that in iPhone & Android you can do it, but in windows phone 7 it's impossible.
我曾经听说过某个地方微软对其进行了保护,但是在iPhone和Android中可以做到这一点没有任何意义,但是在Windows Phone 7中是不可能的。
MediaPlayer.Volume = 0.2F;
what am i doing wrong? 我究竟做错了什么?
Thanks! 谢谢!
You can't control the phone's global volume. 您无法控制手机的全局音量。 Actually it makes difference, you just haven't notice it - it behaves as a scale for your music, so this goes like this:
实际上,它会有所不同,您只是没有注意到它-它表现为音乐的音阶,因此如下所示:
System sound * MediaPlayer.Volume * What you are playing. 系统声音* MediaPlayer.Volume *您正在播放什么。
One does not simply look into MSDN: http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.media.mediaplayer.volume.aspx 一个不只是简单地研究MSDN: http : //msdn.microsoft.com/en-us/library/microsoft.xna.framework.media.mediaplayer.volume.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.