Hello Erel,
I don't know what did happen but it don't work anymore. I got this error message on the filtered log:
On the unfiltered log I have this:
Do you have an idea ? I'm not 100% sure but I believe I was not on version 2.50 when I first try the library.
Thank you.
I don't know what did happen but it don't work anymore. I got this error message on the filtered log:
B4X:
Connected successfully!
Error: (IOException) java.io.IOException: Expected at least 2 bytes
B4X:
open called for devices 00000002 in mode 0...
getAlsaDeviceName::devices 0x2 IsVoiceCallDevice 0 devName music
Reset buffer size to 4096 and latency to 92879
Set PLAYBACK PCM format to S16_LE (Signed 16 bit Little Endian)
Using 2 channels for PLAYBACK.
Set PLAYBACK sample rate to 44100 HZ
Buffer size: 4096
Period size: 1024
Latency: 92879
Period Time: 23219
Periods: 4
Initialized ALSA PLAYBACK device music
Closing ALSA device!, curDev 0x2, curMode 0
open called for devices 00000002 in mode 0...
getAlsaDeviceName::devices 0x2 IsVoiceCallDevice 0 devName music
claimInterface 0 SUCCESS
Reset buffer size to 4096 and latency to 92879
Requested baudrate=115200, actual=115385
Set PLAYBACK PCM format to S16_LE (Signed 16 bit Little Endian)
Requested baudrate=9600, actual=9600
Using 2 channels for PLAYBACK.
Set PLAYBACK sample rate to 44100 HZ
Buffer size: 4096
Period size: 1024
Latency: 92879
Period Time: 23219
Periods: 4
Connected successfully!
Error: (IOException) java.io.IOException: Expected at least 2 bytes
close
Initialized ALSA PLAYBACK device music
Closing ALSA device!, curDev 0x2, curMode 0
Thank you.