Can we enhance the volume in video view of android?
I am using video view for playing video in android but volum开发者_如何转开发e of the video is very low, can I enhance the volume in the code?
Thanks, Rv
To let the user adjust the volume via the volume buttons on their device, call setVolumeControlStream()
on your Activity
, probably supplying a value of AudioManager.STREAM_MUSIC
as the stream to adjust.
If you wish to provide your own on-screen volume control, see the AudioManager
class.
精彩评论