In any case, by translating a Java code found on the internet I created a class that plays a byte-format audio. Just what I need for audio streaming between Android and Desktop (maybe ios in the future)
I share the class, which can serve as a correspondent (or almostI) of AudioStreamer for Android.
PlayDataAudio
Functions:
Class_Globals As String
Initialize As String
IsInitialized As Boolean
StartAudioPlayer ' Start audio player
SendDataPlayer (data() As Byte) ' plays music captured by the microphone or streamed
StopAudioPlayer ' Stop audio player
PS. It was tiring for me since I'm not good at java.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.