Hello, I'm having the same issue, someone has found a fix or workaround? Thanks A lot, -- Omar
On 10 Dic, 03:11, Yasser <[email protected]> wrote: > Hi, > > I am using the following code to play an audio file. > MediaPlayer mp = new MediaPlayer(); > mp.setDataSource("sdcard/Music/test.amr"); > mp.prepare(); > mp.setVolume(1.0f, 1.0f); > mp.start(); > > This plays the file but at the same media volume that's set on the > device. mp.setVolume(1.0f, 1.0f) doesn't seem to work. > Since I am testing speech simulation in my app, I need the file to > play at the maximum volume always. Or Is there another way I can set > the media volume to max programatically? > > Thanks > Yasser -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

