Android Question The problem with AudioStreamer

darabon

Active Member
I use the Recording and Playing method together in my app.
The audio receives and transferred with a TCP socket.
I initialize the library with the below values:
stream.Initialize("AudioStream", 44100, True, 16, stream.VOLUME_VOICE_CALL)
I don't use Stream.VOLUME_MUSIC: When I use Recording and Playing together, I make a noise and repeat a sound.
So I was forced to use VOLUME_VOICE_CALL.
That is good and has a high quality
But volume is low
Can I increase the volume level?
 

darabon

Active Member
You can change the volume with Phone.SetVolume (make sure to wrap it with Try / Catch block as it can throw exceptions in some cases).
If I set the volume to VOLUME_MUSIC and can enable the noise clear feature on Android, my problem will solve
And that is important users can speak together
 
Upvote 0
Top