Skip to content

Instantly share code, notes, and snippets.

@gavv
Created August 14, 2020 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gavv/b0f21f0137271534e072603a1630ce02 to your computer and use it in GitHub Desktop.
Save gavv/b0f21f0137271534e072603a1630ce02 to your computer and use it in GitHub Desktop.
08-14 20:21:31.483 698 826 BTAudioProviderStub I endSession - SessionType=A2DP_HARDWARE_OFFLOAD_DATAPATH
08-14 20:21:31.483 698 826 BTAudioProviderSession I ReportSessionStatus - SessionType=A2DP_HARDWARE_OFFLOAD_DATAPATH notify to bluetooth_audio=0x0200
08-14 20:21:31.528 11339 11358 AudioStreamLegacy D onAudioDeviceUpdate() devId 3405 => 3415
08-14 20:21:31.528 11339 11358 AudioStreamLegacy D onAudioDeviceUpdate() request DISCONNECT in data callback due to device change
08-14 20:21:31.534 1938 2092 AS.AudioDeviceInventory W handleDeviceConnection() failed, deviceKey=0x20:00:00:00:00:00:00, deviceSpec=null, connect=false
08-14 20:21:31.534 1938 2092 AS.AudioDeviceInventory W handleDeviceConnection() failed, deviceKey=0x40:00:00:00:00:00:00, deviceSpec=null, connect=false
08-14 20:21:31.534 751 2005 AudioPolicyService D updateUidStates_l: appName tech.boring.boringaudio, appState 2
08-14 20:21:31.602 11339 11381 AudioStreamLegacy D checkForDisconnectRequest() mRequestDisconnect acknowledged
08-14 20:21:31.602 11339 11381 AudioStreamLegacy W processCallbackCommon() data, stream disconnected
08-14 20:21:31.602 11339 11381 AudioTrack E processAudioBuffer(3443): EVENT_MORE_DATA requested 768 bytes but callback returned -1 bytes
08-14 20:21:31.603 751 2094 APM::AudioInputDescriptor W close client with port ID 3445 still active on input 3444
08-14 20:21:31.610 11339 11424 OboeAudio D oboe_aaudio_error_thread_proc() - entering >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
08-14 20:21:31.610 11339 11424 AAudio D AAudioStream_requestStop(s#1) called
08-14 20:21:31.610 11339 11424 AAudioStream E setState(1) tried to set to 9 but already DISCONNECTED
08-14 20:21:31.610 11339 11424 AudioTrack V stop(3443): prior state:STATE_ACTIVE
08-14 20:21:31.610 11339 11424 AudioTrack D stop(3443): called with 486912 frames delivered
08-14 20:21:31.614 11339 11424 MyApp:Core E async failure on playback stream for device 3405 with error ErrorDisconnected
08-14 20:21:31.614 11339 11424 MyApp:Core I stopping stream for device 3405
08-14 20:21:31.614 11339 11424 AAudio D AAudioStream_requestStop(s#1) called
08-14 20:21:31.614 11339 11424 AAudioStream E setState(1) tried to set to 9 but already DISCONNECTED
08-14 20:21:31.614 11339 11424 AudioTrack V stop(3443): prior state:STATE_STOPPED
08-14 20:21:31.615 11339 11424 MyApp:Core I no need to stop stream: ErrorDisconnected
08-14 20:21:31.615 11339 11424 MyApp:Core I closing stream for device 3405
08-14 20:21:31.615 11339 11424 AAudio D AAudioStream_close(s#1) called ---------------
08-14 20:21:31.656 1938 2092 AS.AudioDeviceBroker I setBluetoothScoOn: false resetBluetoothSco
08-14 20:21:31.656 1938 2092 AS.AudioDeviceBroker I In setbluetoothScoOn(), mForcedUseForCommExt: 0
08-14 20:21:31.658 751 2005 AudioPolicyService D updateUidStates_l: appName tech.boring.boringaudio, appState 2
08-14 20:21:31.706 1938 2092 AS.AudioDeviceBroker I broadcast ACTION_AUDIO_BECOMING_NOISY
08-14 20:21:31.707 1938 1938 AS.AudioDeviceBroker I setBluetoothScoOn: false BtHelper.receiveBtEvent
08-14 20:21:31.707 1938 1938 AS.AudioDeviceBroker I In setbluetoothScoOn(), mForcedUseForCommExt: 0
08-14 20:21:31.707 1938 2092 AS.AudioDeviceBroker I handleBluetoothA2dpActiveDeviceChangeExt state=0 addr=BC:B8:63:46:6E:85 prof=2 supprNoisy=false vol=-1
08-14 20:21:31.713 751 2005 AudioPolicyService D updateUidStates_l: appName tech.boring.boringaudio, appState 2
08-14 20:21:31.763 11339 11339 BoringAudio:BluetoothController D received onIntentResult callback
08-14 20:21:31.763 11339 11339 BoringAudio:BluetoothController D not actually waiting for anything
08-14 20:21:31.764 11339 11383 AudioRecord I createRecord_l(3445): AUDIO_INPUT_FLAG_FAST successful; frameCount 4096 -> 4096
08-14 20:21:31.766 11339 11424 AudioTrack V stop(3443): prior state:STATE_STOPPED
08-14 20:21:31.766 11339 11424 AudioTrack V ~AudioTrack(3443), releasing session id 20385 from 11339 on behalf of 11339
08-14 20:21:31.768 751 2005 AudioPolicyService D updateUidStates_l: appName tech.boring.boringaudio, appState 2
08-14 20:21:31.817 11339 11424 AAudio D AAudioStream_close(s#1) returned 0 ---------
08-14 20:21:31.817 11339 11424 MyApp:Core I marking stream for device 3405 as failed
08-14 20:21:31.817 11339 11424 MyApp:Core D received onDriverFailure() callback
08-14 20:21:31.817 11339 11424 MyApp:Core D invoking handler on separate thread
08-14 20:21:31.817 11339 11424 OboeAudio D oboe_aaudio_error_thread_proc() - exiting <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
08-14 20:21:31.817 11339 11430 MyApp:Core D invoking java callback
08-14 20:21:31.818 11339 11339 BoringAudio:StateManager D received onStuckEvent() callback with event: PIPELINE_FAILURE
08-14 20:21:31.818 11339 11339 BoringAudio:StateManager D stopping pipeline since it's stuck
08-14 20:21:31.819 11339 11339 BoringAudio:StateManager I switching pipeline state from RUNNING to STOPPED
08-14 20:21:31.819 11339 11339 BoringAudio:Main D state callback invoked
08-14 20:21:31.820 11339 11339 MyApp:Core D detaching hearing test from pipeline
08-14 20:21:31.820 11339 11339 MyApp:Core I finishing hearing test
08-14 20:21:31.820 11339 11339 MyApp:Core D no need to commit hearing test results
08-14 20:21:31.820 11339 11339 MyApp:Core D releasing hearing test object
08-14 20:21:31.820 11339 11339 MyApp:Core D updating pipeline processor
08-14 20:21:31.820 11339 11339 MyApp:Core I creating default processor
08-14 20:21:31.820 11339 11339 MyApp:Core I setting new processor
08-14 20:21:31.820 11339 11339 MyApp:Core I resetting pipeline components
08-14 20:21:31.820 11339 11339 MyApp:Core D stopping driver
08-14 20:21:31.820 11339 11339 MyApp:Core I stopping stream for device 3413
08-14 20:21:31.820 11339 11339 AAudio D AAudioStream_requestStop(s#2) called
08-14 20:21:32.367 751 28481 AudioPolicyService D updateUidStates_l: appName tech.boring.boringaudio, appState 2
08-14 20:21:32.422 751 963 AudioPolicyService D updateUidStates_l: appName tech.boring.boringaudio, appState 2
08-14 20:21:32.585 1938 2092 AS.AudioDeviceBroker I setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent state=0 addr=BC:B8:63:46:6E:85 prof=2 supprNoisy=false vol=-1
08-14 20:21:32.637 11339 11339 MyApp:Core I closing stream for device 3413
08-14 20:21:32.637 11339 11339 AAudio D AAudioStream_close(s#2) called ---------------
08-14 20:21:32.637 11339 11356 AudioStreamLegacy D onAudioDeviceUpdate() devId 3413 => 17
08-14 20:21:32.637 11339 11356 AudioStreamLegacy D onAudioDeviceUpdate() DISCONNECT the stream now
08-14 20:21:32.637 11339 11339 AAudio D AAudioStream_close(s#2) returned 0 ---------
08-14 20:21:32.637 11339 11339 MyApp:Core D adding stream to collector
08-14 20:21:32.637 11339 11339 MyApp:Core D adding stream to collector
08-14 20:21:32.637 11339 11339 MyApp:Core D driver is stopped
08-14 20:21:32.637 11339 11339 MyApp:Core D pipeline is stopped
08-14 20:21:32.637 11339 11339 MyApp:Core I resetting pipeline components
08-14 20:21:32.637 11339 11339 MyApp:Core D pipeline is stopped
08-14 20:21:32.637 11339 11339 MyApp:Core I starting pipeline
08-14 20:21:32.637 11339 11339 MyApp:Core D creating driver
--------- beginning of crash08-14 20:21:32.638 11339 11339 MyApp:Core D oboe stream constructor
08-14 20:21:32.639 11339 11339 MyApp:Core D oboe stream constructor
08-14 20:21:32.639 11339 11339 MyApp:Core D opening driver
08-14 20:21:32.639 11339 11339 MyApp:Core I opening playback stream for device 3405
08-14 20:21:32.639 11339 11339 MyApp:Core D invoking setup hook for playback stream
08-14 20:21:32.639 11339 11339 MyApp:Core D opening oboe playback stream
08-14 20:21:32.639 11339 11339 OboeAudio I openStream() OUTPUT -------- OboeVersion1.4.2 --------
08-14 20:21:32.639 11339 11339 AAudio I AAudioStreamBuilder_openStream() called ----------------------------------------
08-14 20:21:32.639 11339 11339 AudioStreamBuilder I rate = 0, channels = 0, format = 1, sharing = EX, dir = OUTPUT
08-14 20:21:32.639 11339 11339 AudioStreamBuilder I device = 3405, sessionId = -1, perfMode = 12, callback: ON with frames = 0
08-14 20:21:32.639 11339 11339 AudioStreamBuilder I usage = 2, contentType = 1, inputPreset = 6, allowedCapturePolicy = 0
08-14 20:21:32.639 11339 11339 AudioStreamBuilder D build() EXCLUSIVE sharing mode not supported. Use SHARED.
08-14 20:21:32.639 11339 11339 AudioStreamTrack D open(), request notificationFrames = -8, frameCount = 0
08-14 20:21:32.639 11339 11339 AudioTrack V set(): streamType -1, sampleRate 0, format 0x1, channelMask 0x3, frameCount 0, flags #104, notificationFrames -8, sessionId 0, transferType 1, uid -1, pid -1
08-14 20:21:32.639 11339 11339 AudioTrack V set(): streamType -1 frameCount 0 flags 0104
08-14 20:21:32.639 11339 11339 AudioTrack V set(): Building AudioTrack with attributes: usage=2 content=1 flags=0x0 tags=[]
08-14 20:21:32.714 11440 11440 DEBUG F *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-14 20:21:32.714 11440 11440 DEBUG F Build fingerprint: 'xiaomi/lavender/lavender:10/QKQ1.190910.002/V11.0.1.0.QFGMIXM:user/release-keys'
08-14 20:21:32.714 11440 11440 DEBUG F Revision: '0'
08-14 20:21:32.714 11440 11440 DEBUG F ABI: 'arm64'
08-14 20:21:32.714 11440 11440 DEBUG F Timestamp: 2020-08-14 20:21:32+0300
08-14 20:21:32.714 11440 11440 DEBUG F pid: 11339, tid: 11356, name: Binder:11339_1 >>> tech.boring.boringaudio <<<
08-14 20:21:32.714 11440 11440 DEBUG F uid: 10359
08-14 20:21:32.714 11440 11440 DEBUG F signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
08-14 20:21:32.714 11440 11440 DEBUG F x0 0000000000000000 x1 0000000000002c5c x2 0000000000000006 x3 00000078fb38c710
08-14 20:21:32.714 11440 11440 DEBUG F x4 010012100b130000 x5 010012100b130000 x6 010012100b130000 x7 0080130b10120001
08-14 20:21:32.714 11440 11440 DEBUG F x8 00000000000000f0 x9 e45ea9e6d7e63b33 x10 0000000000000001 x11 0000000000000000
08-14 20:21:32.714 11440 11440 DEBUG F x12 fffffff0fffffbdf x13 0000000000000001 x14 0000000000000008 x15 000095b495bf0ab9
08-14 20:21:32.714 11440 11440 DEBUG F x16 000000798a0988c0 x17 000000798a074900 x18 00000078a2c1a000 x19 0000000000002c4b
08-14 20:21:32.714 11440 11440 DEBUG F x20 0000000000002c5c x21 00000000ffffffff x22 00000078fe776520 x23 00000078fb38d020
08-14 20:21:32.714 11440 11440 DEBUG F x24 000000798c9588e0 x25 000000798c9588e8 x26 000000798b351470 x27 0000000000000001
08-14 20:21:32.714 11440 11440 DEBUG F x28 0000000000000009 x29 00000078fb38c7b0
08-14 20:21:32.714 11440 11440 DEBUG F sp 00000078fb38c6f0 lr 000000798a0260c4 pc 000000798a0260f0
08-14 20:21:32.748 11440 11440 DEBUG F backtrace:
08-14 20:21:32.748 11440 11440 DEBUG F #00 pc 00000000000830f0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 328a3518945f3e056fc055f1eea1cc35)
08-14 20:21:32.749 11440 11440 DEBUG F #01 pc 000000000001b030 /system/lib64/libaaudio.so (__cfi_check_fail+24) (BuildId: 5ffdb37250a51332a8beae6322d6057f)
08-14 20:21:32.749 11440 11440 DEBUG F #02 pc 000000000001f5d4 /system/lib64/libaaudio.so (__cfi_check+5588) (BuildId: 5ffdb37250a51332a8beae6322d6057f)
08-14 20:21:32.749 11440 11440 DEBUG F #03 pc 0000000000024074 /system/lib64/libaaudio.so (aaudio::AudioStreamLegacy::onAudioDeviceUpdate(int)+952) (BuildId: 5ffdb37250a51332a8beae6322d6057f)
08-14 20:21:32.749 11440 11440 DEBUG F #04 pc 0000000000057114 /system/lib64/libaudioclient.so (android::AudioRecord::onAudioDeviceUpdate(int, int)+324) (BuildId: c3b0ec2bcd0ddbf48230709c04b2ab96)
08-14 20:21:32.749 11440 11440 DEBUG F #05 pc 0000000000061680 /system/lib64/libaudioclient.so (android::AudioSystem::AudioFlingerClient::ioConfigChanged(android::audio_io_config_event, android::sp<android::AudioIoDescriptor> const&)+3552) (BuildId: c3b0ec2bcd0ddbf48230709c04b2ab96)
08-14 20:21:32.749 11440 11440 DEBUG F #06 pc 0000000000092ca0 /system/lib64/libaudioclient.so (android::BnAudioFlingerClient::onTransact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+372) (BuildId: c3b0ec2bcd0ddbf48230709c04b2ab96)
08-14 20:21:32.749 11440 11440 DEBUG F #07 pc 000000000004c678 /system/lib64/libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+136) (BuildId: 844282eea1cb6745c7960dc9f8948f46)
08-14 20:21:32.749 11440 11440 DEBUG F #08 pc 00000000000594f0 /system/lib64/libbinder.so (android::IPCThreadState::executeCommand(int)+992) (BuildId: 844282eea1cb6745c7960dc9f8948f46)
08-14 20:21:32.749 11440 11440 DEBUG F #09 pc 000000000005905c /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+156) (BuildId: 844282eea1cb6745c7960dc9f8948f46)
08-14 20:21:32.749 11440 11440 DEBUG F #10 pc 00000000000597b0 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+64) (BuildId: 844282eea1cb6745c7960dc9f8948f46)
08-14 20:21:32.749 11440 11440 DEBUG F #11 pc 000000000007f8dc /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24) (BuildId: 844282eea1cb6745c7960dc9f8948f46)
08-14 20:21:32.749 11440 11440 DEBUG F #12 pc 00000000000135f0 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+328) (BuildId: 8dcc6a23d7b5c85e8562aa5394a3a42f)
08-14 20:21:32.749 11440 11440 DEBUG F #13 pc 00000000000c3cb8 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140) (BuildId: 3ce0ec4d40ceb867ec88d942d5af45bd)
08-14 20:21:32.749 11440 11440 DEBUG F #14 pc 00000000000e6890 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 328a3518945f3e056fc055f1eea1cc35)
08-14 20:21:32.749 11440 11440 DEBUG F #15 pc 0000000000084b6c /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 328a3518945f3e056fc055f1eea1cc35)
08-14 20:21:33.090 11339 11339 AudioTrack I createTrack_l(0): AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 1536
08-14 20:21:33.095 11339 11339 AudioStreamTrack W open() sampleRate changed from 0 to 48000
08-14 20:21:33.096 11339 11339 AudioStreamTrack W open() flags changed from 0x00000104 to 0x00000004
08-14 20:21:33.098 11339 11339 AAudio I AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#3 ----------------
08-14 20:21:33.098 11339 11339 OboeAudio D AudioStreamAAudio.open() format=1, sampleRate=48000, capacity = 1536
08-14 20:21:33.098 11339 11339 OboeAudio D AudioStreamAAudio.open: AAudioStream_Open() returned AAUDIO_OK
08-14 20:21:33.098 11339 11339 MyApp:Core D creating latency tuner for playback stream
08-14 20:21:33.098 11339 11339 MyApp:Core D invoking open hook for playback stream
08-14 20:21:33.098 11339 11339 MyApp:Core I initialized playback stream: device=2 api=AAudio dir=Output format=I16 channelCount=2 sampleRate=48000 sharingMode=Shared perfMode=LowLatency usage=VoiceCommunication contentType=Speech inputPreset=VoiceRecognition samplesPerCallback=0 (0.000ms) samplesP
08-14 20:21:33.098 11339 11339 MyApp:Core I opening recording stream for device 3413
08-14 20:21:33.098 11339 11339 MyApp:Core D invoking setup hook for recording stream
08-14 20:21:33.098 11339 11339 MyApp:Core D opening oboe recording stream
08-14 20:21:33.098 11339 11339 OboeAudio I openStream() INPUT -------- OboeVersion1.4.2 --------
08-14 20:21:33.098 11339 11339 OboeAudio I openStream() INPUT -------- OboeVersion1.4.2 --------
08-14 20:21:33.098 11339 11339 AAudio I AAudioStreamBuilder_openStream() called ----------------------------------------
08-14 20:21:33.098 11339 11339 AudioStreamBuilder I rate = 0, channels = 2, format = 1, sharing = EX, dir = INPUT
08-14 20:21:33.098 11339 11339 AudioStreamBuilder I device = 3413, sessionId = -1, perfMode = 12, callback: ON with frames = 0
08-14 20:21:33.098 11339 11339 AudioStreamBuilder I usage = 2, contentType = 1, inputPreset = 9, allowedCapturePolicy = 0
08-14 20:21:33.098 11339 11339 AudioStreamBuilder D build() EXCLUSIVE sharing mode not supported. Use SHARED.
08-14 20:21:33.116 751 969 AudioMixer D previous float ramp hasn't finished, prev:1.000000 set_to:0.000000
08-14 20:21:33.116 751 969 AudioMixer D previous float ramp hasn't finished, prev:1.000000 set_to:0.000000
08-14 20:21:33.120 11339 11339 AudioRecord I createRecord_l(0): AUDIO_INPUT_FLAG_FAST successful; frameCount 0 -> 4096
08-14 20:21:33.121 11339 11339 AudioStreamRecord W open() sampleRate changed from 0 to 48000
08-14 20:21:33.121 11339 11339 AudioStreamRecord W open() flags changed from 0x00000005 to 0x00000001
08-14 20:21:33.121 11339 11339 AAudio I AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#4 ----------------
08-14 20:21:33.122 11339 11339 OboeAudio D AudioStreamAAudio.open() format=1, sampleRate=48000, capacity = 4096
08-14 20:21:33.122 11339 11339 OboeAudio D AudioStreamAAudio.open: AAudioStream_Open() returned AAUDIO_OK
08-14 20:21:33.122 11339 11339 MyApp:Core D creating latency tuner for recording stream
08-14 20:21:33.122 11339 11339 MyApp:Core D invoking open hook for recording stream
08-14 20:21:33.122 11339 11339 MyApp:Core I initialized recording stream: device=17 api=AAudio dir=Input format=I16 channelCount=2 sampleRate=48000 sharingMode=Shared perfMode=LowLatency usage=VoiceCommunication contentType=Speech inputPreset=Unprocessed samplesPerCallback=0 (0.000ms) samplesPerBu
08-14 20:21:33.122 11339 11339 MyApp:Core D creating buffers and processors
08-14 20:21:33.122 11339 11339 MyApp:Core I initialized output ring buffer: preloadSize=768 (8.000ms) bufSize=1536 (16.000ms)
08-14 20:21:33.122 11339 11339 MyApp:Core D configuring driver
08-14 20:21:33.122 11339 11339 MyApp:Core D starting threads
08-14 20:21:33.122 11339 11339 MyApp:Core I starting playback stream for device 3405
08-14 20:21:33.122 11339 11339 AAudio D AAudioStream_requestStart(s#3) called --------------
08-14 20:21:33.122 11339 11339 AudioTrack V start(3450): prior state:STATE_STOPPED
08-14 20:21:33.127 11339 11339 AAudio D AAudioStream_requestStart(s#3) returned 0 ---------
08-14 20:21:33.127 11339 11439 AudioTrack V hasStarted(3450): hasStarted wait:1 ets:0 start position:0
08-14 20:21:33.127 11339 11339 MyApp:Core I starting recording stream for device 3413
08-14 20:21:33.127 11339 11439 AudioTrack V hasStarted(3450): hasStarted wait:1 ets:0 start position:0
08-14 20:21:33.127 11339 11339 AAudio D AAudioStream_requestStart(s#4) called --------------
08-14 20:21:33.130 751 5481 AudioPolicyService D updateUidStates_l: appName tech.boring.boringaudio, appState 2
08-14 20:21:33.136 11339 11339 AAudio D AAudioStream_requestStart(s#4) returned 0 ---------
08-14 20:21:33.136 11339 11339 MyApp:Core I successfully started pipeline
08-14 20:21:33.136 11339 11339 MyApp:Core D updating running state to 0
08-14 20:21:33.136 11339 11339 MyApp:Core I resetting pipeline components
08-14 20:21:33.136 11339 11339 MyApp:Core D stopping driver
08-14 20:21:33.136 11339 11339 MyApp:Core I stopping stream for device 3413
08-14 20:21:33.136 11339 11339 AAudio D AAudioStream_requestStop(s#4) called
08-14 20:21:33.152 11339 11439 AudioTrack V hasStarted(3450): hasStarted wait:0 ets:384 start position:0
08-14 20:21:33.243 11339 11339 MyApp:Core I closing stream for device 3413
08-14 20:21:33.243 11339 11339 AAudio D AAudioStream_close(s#4) called ---------------
08-14 20:21:33.249 11339 11339 AAudio D AAudioStream_close(s#4) returned 0 ---------
08-14 20:21:33.250 11339 11339 MyApp:Core I stopping stream for device 3405
08-14 20:21:33.250 11339 11339 AAudio D AAudioStream_requestStop(s#3) called
08-14 20:21:33.250 11339 11339 AudioTrack V stop(3450): prior state:STATE_ACTIVE
08-14 20:21:33.250 11339 11339 AudioTrack D stop(3450): called with 5184 frames delivered
08-14 20:21:33.250 11339 11339 MyApp:Core I closing stream for device 3405
08-14 20:21:33.250 11339 11339 AAudio D AAudioStream_close(s#3) called ---------------
08-14 20:21:33.251 11339 11339 AudioTrack V stop(3450): prior state:STATE_STOPPED
08-14 20:21:33.252 11339 11339 AudioTrack V ~AudioTrack(3450), releasing session id 20401 from 11339 on behalf of 11339
08-14 20:21:33.254 11339 11339 AAudio D AAudioStream_close(s#3) returned 0 ---------
08-14 20:21:33.254 11339 11339 MyApp:Core D adding stream to collector
08-14 20:21:33.254 11339 11339 MyApp:Core D adding stream to collector
08-14 20:21:33.254 11339 11339 MyApp:Core D driver is stopped
08-14 20:21:33.254 11339 11339 MyApp:Core D pipeline is stopped
08-14 20:21:33.254 11339 11339 MyApp:Core D hearing test is finished
08-14 20:21:33.254 11339 11339 MyApp:Core D updating running state to 0
08-14 20:21:33.255 11339 11339 BoringAudio:BluetoothController D stopping bluetooth sco
08-14 20:21:33.255 11339 11339 AudioManager I In stopBluetoothSco(), calling application: tech.boring.boringaudio
08-14 20:21:33.255 1938 12059 AS.AudioService I In stopBluetoothSco()
08-14 20:21:33.256 1938 12059 AS.AudioService I stopBluetoothSco(), BT is not turned ON or adapter is null
08-14 20:21:33.257 11339 11339 BoringAudio:FocusController D releasing focus
08-14 20:21:33.257 11339 11339 BoringAudio:FocusController I switching focus state from Gained to NotRequested
08-14 20:21:33.258 11339 11339 BoringAudio:StateManager D initiating asynchronous restart
08-14 20:21:33.258 11339 11339 BoringAudio:StateManager D trying to proceed asynchronous start
08-14 20:21:33.258 11339 11339 BoringAudio:StateManager I switching pipeline state from STOPPED to WAITING_PERM
08-14 20:21:33.259 11339 11339 BoringAudio:Main D state callback invoked
08-14 20:21:33.260 11339 11339 BoringAudio:PermissionController D recording permission already granted
08-14 20:21:33.260 11339 11339 BoringAudio:StateManager D permissions granted, proceesing asyncrhonous start
08-14 20:21:33.260 11339 11339 BoringAudio:StateManager D trying to proceed asynchronous start
08-14 20:21:33.260 11339 11339 BoringAudio:StateManager I switching pipeline state from WAITING_PERM to WAITING_FOCUS
08-14 20:21:33.260 11339 11339 BoringAudio:Main D state callback invoked
08-14 20:21:33.261 11339 11339 BoringAudio:FocusController D requesting focus
08-14 20:21:33.262 11339 11339 BoringAudio:FocusController D immediately gained focus
08-14 20:21:33.262 11339 11339 BoringAudio:FocusController I switching focus state from NotRequested to Gained
08-14 20:21:33.263 11339 11339 BoringAudio:StateManager D focus gained, proceesing asyncrhonous start
08-14 20:21:33.263 11339 11339 BoringAudio:StateManager D trying to proceed asynchronous start
08-14 20:21:33.263 11339 11339 BoringAudio:StateManager I switching pipeline state from WAITING_FOCUS to WAITING_SCO
08-14 20:21:33.263 11339 11339 BoringAudio:Main D state callback invoked
08-14 20:21:33.263 11339 11339 BoringAudio:StateManager D bluetooth sco is not needed
08-14 20:21:33.264 11339 11339 BoringAudio:BluetoothController D bluetooth sco already stopped
08-14 20:21:33.264 11339 11339 BoringAudio:StateManager D trying to proceed asynchronous start
08-14 20:21:33.264 11339 11339 BoringAudio:StateManager I switching pipeline state from WAITING_SCO to WAITING_INPUT
08-14 20:21:33.264 11339 11339 BoringAudio:Main D state callback invoked
08-14 20:21:33.264 11339 11339 BoringAudio:StateManager D trying to proceed asynchronous start
08-14 20:21:33.264 11339 11339 BoringAudio:StateManager I switching pipeline state from WAITING_INPUT to RUNNING
08-14 20:21:33.265 11339 11339 BoringAudio:ManualHearingtest D initializing 8 freqs
08-14 20:21:33.379 11339 11339 BoringAudio:Main D state callback invoked
08-14 20:21:33.379 11339 11339 BoringAudio:StateManager D resetting retry counter
08-14 20:21:33.379 11339 11339 BoringAudio:StateManager D trying to proceed asynchronous start
08-14 20:21:33.379 11339 11339 BoringAudio:StateManager D pipeline is in RUNNING state
08-14 20:21:33.379 11339 11339 MyApp:Core I setting input device to 3413
08-14 20:21:33.379 11339 11339 MyApp:Core I setting output device to 3405
08-14 20:21:33.433 11339 11339 BoringAudio:DeviceSelector D resetting retries
08-14 20:21:33.433 11339 11339 BoringAudio:DeviceSelector D auto selecting input and output devices
08-14 20:21:33.434 11339 11339 BoringAudio:DeviceSelector D failed to get auto-selected device pair
08-14 20:21:33.434 11339 11339 BoringAudio:DeviceSelector D no device selected
08-14 20:21:33.434 11339 11339 BoringAudio:DeviceSelector D reporting device removal
08-14 20:21:33.434 11339 11339 BoringAudio:StateManager D no devices available, waiting for pipeline stop
08-14 20:21:33.434 11339 11339 BoringAudio:StateManager D resetting retry counter
08-14 20:21:33.434 11339 11339 BoringAudio:StateManager I switching pipeline state from RUNNING to WAITING_STOP_NODEV
08-14 20:21:33.434 11339 11339 BoringAudio:Main D state callback invoked
08-14 20:21:33.435 11339 11339 BoringAudio:DeviceSelector D scheduling retry
08-14 20:21:33.867 9823 9823 AndroidRuntime I VM exiting with result code 0, cleanup skipped.
08-14 20:21:33.893 1938 12059 AudioService.PlaybackActivityM.. W client died
08-14 20:21:33.936 11339 11339 BoringAudio:DeviceSelector D auto selecting input and output devices
08-14 20:21:33.936 11339 11339 BoringAudio:DeviceSelector D failed to get auto-selected device pair
08-14 20:21:33.936 11339 11339 BoringAudio:DeviceSelector D no device selected
08-14 20:21:33.936 11339 11339 BoringAudio:DeviceSelector D scheduling retry
08-14 20:21:34.492 1938 5699 AudioService.RecordingActivity.. E Unexpected event 3 for riid 21583
08-14 20:21:36.361 11533 11636 GEL_DELAYED_EVENT_DEBUG E Failed delayed event dispatch, no dispatchers.
08-14 20:21:39.523 698 5162 BTAudioProvidersFactory I getProviderCapabilities - SessionType=A2DP_HARDWARE_OFFLOAD_DATAPATH supports 6 codecs
08-14 20:21:39.523 698 698 BTAudioProvidersFactory I openProvider - SessionType=A2DP_HARDWARE_OFFLOAD_DATAPATH
08-14 20:21:39.524 698 5162 BTAudioProviderStub I startSession - SessionType=A2DP_HARDWARE_OFFLOAD_DATAPATH, AudioConfiguration=[{.pcmConfig = {.sampleRate = RATE_44100, .channelMode = 0xa8, .bitsPerSample = 0x43}, .codecConfig = {.codecType = SBC, .encodedAudioBitrate = 345000, .peerMtu = 995, .isScmstEnabled = 0, .isScramblingEnabled = 0, .config = {.sbcConfig = {.sampleRate = RATE_48000, .channelMode = JOINT_STEREO, .blockLength = BLOCKS_16, .numSubbands = SUBBAND_8, .allocMethod = ALLOC_MD_L, .bitsPerSample = BITS_16, .minBitpool = 2, .maxBitpool = 53}, .aacConfig = {.objectType = 0x2, .sampleRate = 0x1041001, .channelMode = MONO, .variableBitRateEnabled = 0x2, .bitsPerSample = 0x35, .frameControlEnabled = 0}, .ldacConfig = {.sampleRate = RATE_48000, .channelMode = STEREO, .qualityIndex = 0x10, .bitsPerSample = BITS_32}, .aptxConfig = {.sampleRate = RATE_48000, .channelMode = MONO, .bitsPerSample = 0x10}, .aptxAdaptiveConfig = {.sampleRate = RATE_48000, .channelMode = 0x1041001, .bitsPerSample = BITS_16, .aptxMode = UNKNOWN, .sinkBuffering = {.minSinkBu
08-14 20:21:39.524 698 5162 BTAudioProviderSession I OnSessionStarted - SessionType=A2DP_HARDWARE_OFFLOAD_DATAPATH, AudioConfiguration={.pcmConfig = {.sampleRate = RATE_44100, .channelMode = 0xa8, .bitsPerSample = 0x43}, .codecConfig = {.codecType = SBC, .encodedAudioBitrate = 345000, .peerMtu = 995, .isScmstEnabled = 0, .isScramblingEnabled = 0, .config = {.sbcConfig = {.sampleRate = RATE_48000, .channelMode = JOINT_STEREO, .blockLength = BLOCKS_16, .numSubbands = SUBBAND_8, .allocMethod = ALLOC_MD_L, .bitsPerSample = BITS_16, .minBitpool = 2, .maxBitpool = 53}, .aacConfig = {.objectType = 0x2, .sampleRate = 0x1041001, .channelMode = MONO, .variableBitRateEnabled = 0x2, .bitsPerSample = 0x35, .frameControlEnabled = 0}, .ldacConfig = {.sampleRate = RATE_48000, .channelMode = STEREO, .qualityIndex = 0x10, .bitsPerSample = BITS_32}, .aptxConfig = {.sampleRate = RATE_48000, .channelMode = MONO, .bitsPerSample = 0x10}, .aptxAdaptiveConfig = {.sampleRate = RATE_48000, .channelMode = 0x1041001, .bitsPerSample = BITS_16, .aptxMode = UNKNOWN, .sinkBuffering = {.minSin
08-14 20:21:39.524 698 5162 BTAudioProviderSession I ReportSessionStatus - SessionType=A2DP_HARDWARE_OFFLOAD_DATAPATH has NO port state observer
08-14 20:21:39.525 698 5162 BTAudioProviderSession I OnSessionParamUpdate Update Sink Latency: 1500
08-14 20:21:39.533 1938 2092 AS.AudioDeviceBroker I handleBluetoothA2dpActiveDeviceChangeExt state=2 addr=BC:B8:63:46:6E:85 prof=2 supprNoisy=true vol=15
08-14 20:21:39.536 1938 2092 AS.AudioDeviceBroker I setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent state=2 addr=BC:B8:63:46:6E:85 prof=2 supprNoisy=true vol=15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment