Hello
I have one specific device that gives the following error :java.lang.IllegalStateException: stop() called on uninitialized AudioTrack.
I found this code on the forum to release the AudioRecord:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
How to release AudioTrack,?
I tried r.getField audioTrack but get this error :java.lang.NoSuchFieldException: No field audioTrack in class Lanywheresoftware/b4a/audio/AudioStreamer; (declaration of 'anywheresoftware.b4a.audio.AudioStreamer' appears in /data/app/comm.check.wf-2/base.apk)
			
			I have one specific device that gives the following error :java.lang.IllegalStateException: stop() called on uninitialized AudioTrack.
I found this code on the forum to release the AudioRecord:
			
				B4X:
			
		
		
		Dim r As Reflector
    r.Target = audioStreamTx
    r.Target = r.GetField("audioRecord")
    r.RunMethod("release")
	How to release AudioTrack,?
I tried r.getField audioTrack but get this error :java.lang.NoSuchFieldException: No field audioTrack in class Lanywheresoftware/b4a/audio/AudioStreamer; (declaration of 'anywheresoftware.b4a.audio.AudioStreamer' appears in /data/app/comm.check.wf-2/base.apk)