After I installed the 3.8 beta I had to reinstall my modified Audio.xml file. I'm not surprised, but is it possible to include the modification in future versions of b4a?
This is to make it possible to get and set the position in an audio stream in the MediaPlayerStream object, which works when modified according to this thread:
http://www.b4x.com/android/forum/threads/mediaplayerstream-seekto-and-getcurrentposition.39819/
Note that the "modified" Audio.xml file that was attached had NOT actually been modified - you have to follow the instructions to insert the code right after the Duration Property in the MediaPlayerStream wrapper area of the Audio.xml file:
Would be great if it was there for everyone to use.
This is to make it possible to get and set the position in an audio stream in the MediaPlayerStream object, which works when modified according to this thread:
http://www.b4x.com/android/forum/threads/mediaplayerstream-seekto-and-getcurrentposition.39819/
Note that the "modified" Audio.xml file that was attached had NOT actually been modified - you have to follow the instructions to insert the code right after the Duration Property in the MediaPlayerStream wrapper area of the Audio.xml file:
B4X:
<property>
<name>Position</name>
<returntype>int</returntype>
<parameter>
<name>v</name>
<type>int</type>
</parameter>
<comment>Gets or sets the playing position (in milliseconds).</comment>
</property>
Would be great if it was there for everyone to use.