B4A Library Audio library v1.5 - New AudioStreamer object - Erel    Nov 10, 2023   (11 reactions) This version includes a new AudioStreamer type. Note that this is a beta version (for this type only).
The purpose of AudioStreamer is to make it simple to stream audio from the microphone and to the speakers. Internally it is based on AudioTrack and AudioRecord.
Next week I plan to create an example of streaming audio between two devices (walkie-talkie app).
Recording is done by calling... B4A Question Audio Library v1.63 - IsInitialized ? - LucaMs (first post)    Sep 3, 2018 An AudioStreamer object must be inizialized, not the Audio library itself.
I don't know the library; try searching:
https://www.b4x.com/android/forum/pages/results/?query=audiostreamer+audiosource... B4A Question Use of VOICE_COMMUNICATION (7) audioSource in Android 10+ - Gandalf    Jan 5, 2025 Hi All,
In Android 10+ it is required to enable AEC when using VOICE_COMMUNICATION (7) audioSource. I tried to do it:
Sub Process_Globals
Private Microphone As AudioStreamer
Private.../MediaRecorder.AudioSource
Dim r As Reflector
r.Target = Microphone
Dim newBuffer(320) As Byte...
End Sub
But it doesn't output any audio. If I change audioSource to MIC (1) or run on Android 9... B4A Question Error with PhoneState - kalarius    Nov 23, 2023 I have use the example that record the phone call ' I want to record the incomming call Sub Process_Globals Dim streamer As AudioStreamer Dim fileName As String Dim PhoneState As Phone End Sub Sub Globals 'These global variables will be redeclared each time the activity is created. End Sub Sub Activity_Create(FirstRun As Boolean) streamer.Initialize streamer.OutputFormat = AudioStreamer.OutputFormatDefault streamer.AudioSource = AudioStreamer... B4A Question Select Audio In/Out devices for AudioStreamer - yo3ggx    Oct 4, 2022 s;
}
#End If
How can I set the audio in and audio out devices in AudioStreamer, using... B4A Question Bluetooth audio mic - Erel (first post)    Feb 7, 2023 Are you able to capture audio from the headset with one of the other values: https://developer.android.com/reference/android/media/MediaRecorder.AudioSource ?
If so then you can use two AudioStreamer objects.... B4A Question AudioStreamer and buffer size - Addo    Apr 6, 2018 i am using audio streamer to record and audio from microphone thats how i initialize the audio streamer audioStream.Initialize2(1, "AudioStream", 8000, True, 16, audioStream.VOLUME_MUSIC) Sub AudioStream_RecordBuffer (Data() As Byte) Dim Packet As UDPPacket ToastMessageShow(Data.Length, False) End Sub on some phones the data.length is too big gives 2048 and some phones its 640 i wanted to low that big length 2048 like dividing the big number by 4 i have been doing this in... B4A Question Problem audioStream.VOLUME_MUSIC - Midimaster (first post)    Oct 18, 2020
If Utils.GetSDK>=23 Then
audioStream.Initialize2(???,"AudioStream", 22050, False, 16,audioStream.VOLUME_VOICE_CALL)
audioStream2.Initialize2(???,"AudioStream... B4A Question AudioStreamer clarification/java method access - OliverA    Sep 6, 2018 In the library post "Audio library v1.5 - New AudioStreamer object", it statesThe purpose of AudioStreamer is to make it simple to stream audio from the microphone and to the speakers. Internally it is based on AudioTrack and MediaRecorder.I'm not 100% convinced that MediaRecorder is used to record the audio, but that instead AudioRecord is used. The only reason I'm speculating... AudioRecord's constructor? As to AudioStreamer's PlayerBufferSize property, is it equivalent... B4J Question [SOLVED] AudioStreamer - Star-Dust    Jul 29, 2020 In B4A there is the audio library that makes the AudioStramer class available. Thus it is possible to send supine in byte format.
Dim Data() as Byte
AudioStreamer.Write(Data)
Is there anything... Page: 1   2   3   4   |