Skip to content

Instantly share code, notes, and snippets.

@p-i-
Created June 6, 2022 07:04
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 p-i-/3d63dc6ef63f00e0151dd93ea53bb590 to your computer and use it in GitHub Desktop.
Save p-i-/3d63dc6ef63f00e0151dd93ea53bb590 to your computer and use it in GitHub Desktop.
I/JUCE: Preparing Oboe stream with params:
AAudio supported = 1
API = Unspecified
DeviceId = 0
Direction = Output
SharingMode = Exclusive
ChannelCount = 2
Format = Float
SampleRate = 44100
PerformanceMode = LowLatency
I/OboeAudio: openStream() OUTPUT -------- OboeVersion1.6.1 --------
I/AAudio: AAudioStreamBuilder_openStream() called ----------------------------------------
I/AudioStreamBuilder: rate = 44100, channels = 2, format = 5, sharing = EX, dir = OUTPUT
I/AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0
I/AudioStreamBuilder: usage = 1, contentType = 2, inputPreset = 6, allowedCapturePolicy = 0
I/AudioStreamBuilder: privacy sensitive = false
D/AudioStreamBuilder: build() EXCLUSIVE sharing mode not supported. Use SHARED.
D/company.traine: PlayerBase::PlayerBase()
D/AudioStreamTrack: open(), request notificationFrames = -8, frameCount = 0
D/AudioTrack: createTrack_l(73): AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 1956
D/AAudioStream: setState(s#31) from 0 to 2
W/AudioStreamTrack: open() flags changed from 0x00000104 to 0x00000000
W/AudioStreamTrack: open() perfMode changed from 12 to 10
I/AAudio: AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#31 ----------------
D/OboeAudio: AudioStreamAAudio.open() format=2, sampleRate=44100, capacity = 1956
D/OboeAudio: AudioStreamAAudio.open: AAudioStream_Open() returned AAUDIO_OK
I/JUCE: Building Oboe stream with result: OK
Stream state = Open
I/JUCE: Setting the bufferSizeInFrames to 976
I/JUCE: Stream details:
Uses AAudio = 1
DeviceId = 2
Direction = Output
SharingMode = Shared
ChannelCount = 2
Format = Float
SampleRate = 44100
BufferSizeInFrames = 976
BufferCapacityInFrames = 1956
FramesPerBurst = 882
FramesPerCallback = 0
BytesPerFrame = 8
BytesPerSample = 4
PerformanceMode = None
D/AAudio: AAudioStream_requestStop(s#31) called
D/AAudioStream: setState(s#31) from 2 to 10
D/company.traine: PlayerBase::stop() from IPlayer
D/AAudio: AAudioStream_close(s#31) called ---------------
D/AAudioStream: setState(s#31) from 10 to 11
D/AAudioStream: setState(s#31) from 11 to 12
D/AAudio: AAudioStream_close(s#31) returned 0 ---------
I/JUCE: Requested Oboe stream close with result: OK
W/System: A resource failed to call release.
I/chatty: uid=10121(com.yourcompany.trainer) FinalizerDaemon identical 9 lines
W/System: A resource failed to call release.
D/AAudio: AAudioStream_requestStop(s#28) called
D/AAudioStream: setState(s#28) from 4 to 9
D/AudioTrack: stop(71): called with 4295340 frames delivered
D/company.traine: PlayerBase::stop() from IPlayer
D/AAudio: AAudioStream_close(s#28) called ---------------
D/AAudioStream: setState(s#28) from 9 to 11
D/AAudioStream: setState(s#28) from 11 to 12
D/AAudio: AAudioStream_close(s#28) returned 0 ---------
I/JUCE: Requested Oboe stream close with result: OK
I/JUCE: Preparing Oboe stream with params:
AAudio supported = 1
API = Unspecified
DeviceId = 0
Direction = Output
SharingMode = Exclusive
ChannelCount = 2
Format = Float
SampleRate = 44100
PerformanceMode = LowLatency
I/OboeAudio: openStream() OUTPUT -------- OboeVersion1.6.1 --------
I/AAudio: AAudioStreamBuilder_openStream() called ----------------------------------------
I/AudioStreamBuilder: rate = 44100, channels = 2, format = 5, sharing = EX, dir = OUTPUT
I/AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0
I/AudioStreamBuilder: usage = 1, contentType = 2, inputPreset = 6, allowedCapturePolicy = 0
I/AudioStreamBuilder: privacy sensitive = false
D/AudioStreamBuilder: build() EXCLUSIVE sharing mode not supported. Use SHARED.
D/company.traine: PlayerBase::PlayerBase()
D/AudioStreamTrack: open(), request notificationFrames = -8, frameCount = 0
D/AudioTrack: createTrack_l(71): AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 1956
D/AAudioStream: setState(s#32) from 0 to 2
W/AudioStreamTrack: open() flags changed from 0x00000104 to 0x00000000
W/AudioStreamTrack: open() perfMode changed from 12 to 10
I/AAudio: AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#32 ----------------
D/OboeAudio: AudioStreamAAudio.open() format=2, sampleRate=44100, capacity = 1956
D/OboeAudio: AudioStreamAAudio.open: AAudioStream_Open() returned AAUDIO_OK
I/JUCE: Building Oboe stream with result: OK
Stream state = Open
I/JUCE: Setting the bufferSizeInFrames to 976
I/JUCE: Stream details:
Uses AAudio = 1
DeviceId = 2
Direction = Output
SharingMode = Shared
ChannelCount = 2
Format = Float
SampleRate = 44100
BufferSizeInFrames = 976
BufferCapacityInFrames = 1956
FramesPerBurst = 882
FramesPerCallback = 0
BytesPerFrame = 8
BytesPerSample = 4
PerformanceMode = None
D/AAudio: AAudioStream_requestStop(s#32) called
D/AAudioStream: setState(s#32) from 2 to 10
D/company.traine: PlayerBase::stop() from IPlayer
D/AAudio: AAudioStream_close(s#32) called ---------------
D/AAudioStream: setState(s#32) from 10 to 11
D/AAudioStream: setState(s#32) from 11 to 12
D/AAudio: AAudioStream_close(s#32) returned 0 ---------
I/JUCE: Requested Oboe stream close with result: OK
I/JUCE: JUCE Assertion failure in juce_android_Oboe.cpp:224
I/JUCE: Preparing Oboe stream with params:
AAudio supported = 1
API = Unspecified
DeviceId = 0
Direction = Output
SharingMode = Exclusive
ChannelCount = 2
Format = Float
SampleRate = 44100
PerformanceMode = LowLatency
I/OboeAudio: openStream() OUTPUT -------- OboeVersion1.6.1 --------
I/AAudio: AAudioStreamBuilder_openStream() called ----------------------------------------
I/AudioStreamBuilder: rate = 44100, channels = 2, format = 5, sharing = EX, dir = OUTPUT
I/AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0
I/AudioStreamBuilder: usage = 1, contentType = 2, inputPreset = 6, allowedCapturePolicy = 0
I/AudioStreamBuilder: privacy sensitive = false
D/AudioStreamBuilder: build() EXCLUSIVE sharing mode not supported. Use SHARED.
D/company.traine: PlayerBase::PlayerBase()
D/AudioStreamTrack: open(), request notificationFrames = -8, frameCount = 0
D/AudioTrack: createTrack_l(75): AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 1956
D/AAudioStream: setState(s#33) from 0 to 2
W/AudioStreamTrack: open() flags changed from 0x00000104 to 0x00000000
W/AudioStreamTrack: open() perfMode changed from 12 to 10
I/AAudio: AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#33 ----------------
D/OboeAudio: AudioStreamAAudio.open() format=2, sampleRate=44100, capacity = 1956
D/OboeAudio: AudioStreamAAudio.open: AAudioStream_Open() returned AAUDIO_OK
I/JUCE: Building Oboe stream with result: OK
Stream state = Open
I/JUCE: Setting the bufferSizeInFrames to 4410
I/JUCE: Stream details:
Uses AAudio = 1
DeviceId = 2
Direction = Output
SharingMode = Shared
ChannelCount = 2
Format = Float
SampleRate = 44100
BufferSizeInFrames = 1956
BufferCapacityInFrames = 1956
FramesPerBurst = 882
FramesPerCallback = 0
BytesPerFrame = 8
BytesPerSample = 4
PerformanceMode = None
I/JUCE: Preparing Oboe stream with params:
AAudio supported = 1
API = Unspecified
DeviceId = 0
Direction = Input
SharingMode = Exclusive
ChannelCount = 1
Format = Float
SampleRate = 44100
PerformanceMode = LowLatency
I/OboeAudio: openStream() INPUT -------- OboeVersion1.6.1 --------
I/AAudio: AAudioStreamBuilder_openStream() called ----------------------------------------
I/AudioStreamBuilder: rate = 44100, channels = 1, format = 5, sharing = EX, dir = INPUT
I/AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: OFF with frames = 0
I/AudioStreamBuilder: usage = 1, contentType = 2, inputPreset = 6, allowedCapturePolicy = 0
I/AudioStreamBuilder: privacy sensitive = false
D/AudioStreamBuilder: build() EXCLUSIVE sharing mode not supported. Use SHARED.
D/company.traine: PlayerBase::PlayerBase()
E/IAudioFlinger: createRecord returned error -1
E/AudioRecord: createRecord_l(0): AudioFlinger could not create record track, status: -1
W/AudioRecord: removeAudioDeviceCallback(0): removing different callback!
D/AAudioStream: setState(s#34) from 0 to 11
D/AAudioStream: setState(s#34) from 11 to 12
E/AudioStreamRecord: open(), initCheck() returned -1
D/company.traine: PlayerBase::~PlayerBase()
I/AAudio: AAudioStreamBuilder_openStream() returns -896 = AAUDIO_ERROR_INTERNAL for s#0 ----------------
W/OboeAudio: AudioStreamAAudio.open() may have failed due to lack of audio recording permission.
D/OboeAudio: AudioStreamAAudio.open: AAudioStream_Open() returned AAUDIO_ERROR_INTERNAL
I/JUCE: Building Oboe stream with result: ErrorInternal
Stream state = ?
I/JUCE: Stream details:
Uses AAudio = ?
DeviceId = ?
Direction = ?
SharingMode = ?
ChannelCount = ?
Format = ?
SampleRate = ?
BufferSizeInFrames = ?
BufferCapacityInFrames = ?
FramesPerBurst = ?
FramesPerCallback = ?
BytesPerFrame = ?
BytesPerSample = ?
PerformanceMode = ?
I/JUCE: JUCE Assertion failure in juce_android_Oboe.cpp:502
D/AAudio: AAudioStream_requestStop(s#33) called
D/AAudioStream: setState(s#33) from 2 to 10
D/company.traine: PlayerBase::stop() from IPlayer
D/AAudio: AAudioStream_close(s#33) called ---------------
D/AAudioStream: setState(s#33) from 10 to 11
D/AAudioStream: setState(s#33) from 11 to 12
D/AAudio: AAudioStream_close(s#33) returned 0 ---------
I/JUCE: Requested Oboe stream close with result: OK
I/JUCE: Preparing Oboe stream with params:
AAudio supported = 1
API = Unspecified
DeviceId = 0
Direction = Output
SharingMode = Exclusive
ChannelCount = 2
Format = I16
SampleRate = 44100
PerformanceMode = LowLatency
I/OboeAudio: openStream() OUTPUT -------- OboeVersion1.6.1 --------
I/AAudio: AAudioStreamBuilder_openStream() called ----------------------------------------
I/AudioStreamBuilder: rate = 44100, channels = 2, format = 1, sharing = EX, dir = OUTPUT
I/AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0
I/AudioStreamBuilder: usage = 1, contentType = 2, inputPreset = 6, allowedCapturePolicy = 0
I/AudioStreamBuilder: privacy sensitive = false
D/AudioStreamBuilder: build() EXCLUSIVE sharing mode not supported. Use SHARED.
D/company.traine: PlayerBase::PlayerBase()
D/AudioStreamTrack: open(), request notificationFrames = -8, frameCount = 0
D/AudioTrack: createTrack_l(76): AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 1956
D/AAudioStream: setState(s#35) from 0 to 2
W/AudioStreamTrack: open() flags changed from 0x00000104 to 0x00000000
W/AudioStreamTrack: open() perfMode changed from 12 to 10
I/AAudio: AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#35 ----------------
D/OboeAudio: AudioStreamAAudio.open() format=1, sampleRate=44100, capacity = 1956
D/OboeAudio: AudioStreamAAudio.open: AAudioStream_Open() returned AAUDIO_OK
I/JUCE: Building Oboe stream with result: OK
Stream state = Open
I/JUCE: Setting the bufferSizeInFrames to 4410
I/JUCE: Stream details:
Uses AAudio = 1
DeviceId = 2
Direction = Output
SharingMode = Shared
ChannelCount = 2
Format = I16
SampleRate = 44100
BufferSizeInFrames = 1956
BufferCapacityInFrames = 1956
FramesPerBurst = 882
FramesPerCallback = 0
BytesPerFrame = 4
BytesPerSample = 2
PerformanceMode = None
I/JUCE: Preparing Oboe stream with params:
AAudio supported = 1
API = Unspecified
DeviceId = 0
Direction = Input
SharingMode = Exclusive
ChannelCount = 1
Format = I16
SampleRate = 44100
PerformanceMode = LowLatency
I/OboeAudio: openStream() INPUT -------- OboeVersion1.6.1 --------
I/AAudio: AAudioStreamBuilder_openStream() called ----------------------------------------
I/AudioStreamBuilder: rate = 44100, channels = 1, format = 1, sharing = EX, dir = INPUT
I/AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: OFF with frames = 0
I/AudioStreamBuilder: usage = 1, contentType = 2, inputPreset = 6, allowedCapturePolicy = 0
I/AudioStreamBuilder: privacy sensitive = false
D/AudioStreamBuilder: build() EXCLUSIVE sharing mode not supported. Use SHARED.
D/company.traine: PlayerBase::PlayerBase()
E/IAudioFlinger: createRecord returned error -1
E/AudioRecord: createRecord_l(0): AudioFlinger could not create record track, status: -1
W/AudioRecord: removeAudioDeviceCallback(0): removing different callback!
D/AAudioStream: setState(s#36) from 0 to 11
D/AAudioStream: setState(s#36) from 11 to 12
E/AudioStreamRecord: open(), initCheck() returned -1
D/company.traine: PlayerBase::~PlayerBase()
I/AAudio: AAudioStreamBuilder_openStream() returns -896 = AAUDIO_ERROR_INTERNAL for s#0 ----------------
W/OboeAudio: AudioStreamAAudio.open() may have failed due to lack of audio recording permission.
D/OboeAudio: AudioStreamAAudio.open: AAudioStream_Open() returned AAUDIO_ERROR_INTERNAL
I/JUCE: Building Oboe stream with result: ErrorInternal
Stream state = ?
I/JUCE: Stream details:
Uses AAudio = ?
DeviceId = ?
Direction = ?
SharingMode = ?
ChannelCount = ?
Format = ?
SampleRate = ?
BufferSizeInFrames = ?
BufferCapacityInFrames = ?
FramesPerBurst = ?
FramesPerCallback = ?
BytesPerFrame = ?
BytesPerSample = ?
PerformanceMode = ?
I/JUCE: JUCE Assertion failure in juce_android_Oboe.cpp:502
D/AAudio: AAudioStream_requestStop(s#35) called
D/AAudioStream: setState(s#35) from 2 to 10
D/company.traine: PlayerBase::stop() from IPlayer
D/AAudio: AAudioStream_close(s#35) called ---------------
D/AAudioStream: setState(s#35) from 10 to 11
D/AAudioStream: setState(s#35) from 11 to 12
D/AAudio: AAudioStream_close(s#35) returned 0 ---------
I/JUCE: Requested Oboe stream close with result: OK
I/JUCE: 🔹changeListenerCallback()
I/JUCE: --------------------------------------
I/JUCE: Current audio device type: Android Oboe
I/JUCE: No audio device open
W/InputMethodManager: No current root view, ignoring closeCurrentInput()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment