fornest.blogg.se

Records audio through bluetooth headset if available
Records audio through bluetooth headset if available






records audio through bluetooth headset if available records audio through bluetooth headset if available

RecordingThread=new Thread(new void run(), new IntentFilter(AudioManager. RECORDER_SAMPLERATE, RECORDER_CHANNELS, Log.d(labelApp,"Entered and Starting Recording")

records audio through bluetooth headset if available

Log.d(labelApp,"Audio SCO State = "+state) Int state=intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE,-1) I am trying to capture audio from a Bluetooth Headset paired with an Android Device.įollowing is the relevant code: Intent in=null įinal int bufferSize=BufferElements2Rec*BytesPerElement įinal BroadcastReceiver brr=new void onReceive(Context context,Intent intent)








Records audio through bluetooth headset if available