# When the media volume of some mobile devices is set to 0, it reports failure when FMOD is initialized

**URL:** <https://qa.fmod.com/t/when-the-media-volume-of-some-mobile-devices-is-set-to-0-it-reports-failure-when-fmod-is-initialized/17210>\
**Category:** Unity\
**Tags:** android, unity, csharp\
**Created:** [May 17, 2021, 12:17pm UTC](https://qa.fmod.com/t/when-the-media-volume-of-some-mobile-devices-is-set-to-0-it-reports-failure-when-fmod-is-initialized/17210 "2021-05-17T12:17:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![17794582014](https://avatars.discourse-cdn.com/v4/letter/1/b5a626/32.png) [@17794582014](https://qa.fmod.com/u/17794582014)\
**Post date:** [May 17, 2021, 12:17pm UTC](https://qa.fmod.com/t/when-the-media-volume-of-some-mobile-devices-is-set-to-0-it-reports-failure-when-fmod-is-initialized/17210/1 "2021-05-17T12:17:36Z")

</div>

The Fmod version is 2.01.07, and the Unity version is 2019.4.8f1

We found that if the media volume of some mobile devices is set to 0, and then start the app, it will report FMOD initialization failure, the related error is as follows:

[FMOD] Studio::System::initialize returned ERR\_INTERNAL, defaulting to no-sound mode.  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

SystemNotInitializedException: [FMOD] Initialization failed : Studio::System::initialize : ERR\_INTERNAL : An error occurred that wasn’t supposed to. Contact support.  
at FMODUnity.RuntimeManager.CheckInitResult (FMOD.RESULT result, System.String cause) [0x00000] in \<00000000000000000000000000000000\>:0  
(Filename: currently not available on il2cpp Line: -1)

If the media volume of the mobile phone is greater than 0, it can be initialized successfully, and only some models have this problem. We do not know how to solve this problem and hope we can get some help, thank you very much.

The model list is as follows:  
OPPO PDVM00  
realme RMX2202  
Xiaomi Redmi K20 Pro  
Xiaomi Mi9 Pro 5G  
Xiaomi MI 9  
blackshark SKW-A0  
HUAWEI HLK-AL00  
HUAWEI ELE-AL00  
HUAWEI SEA-AL10  
HUAWEI WLZ-AN00  
HUAWEI JEF-AN00  
HUAWEI YAL-AL10  
HUAWEI ANA-AN00  
HUAWEI ELS-AN00  
HUAWEI CDY-AN90  
HUAWEI HLK-AL10  
HUAWEI HMA-AL00  
HUAWEI PCT-AL10  
HUAWEI PPA-AL20  
HUAWEI SEA-AL00  
HUAWEI JEF-TN00  
HUAWEI OXF-AN10  
HUAWEI TAS-AN00  
Xiaomi MI 9 Transparent Edition  
HUAWEI HRY-AL00Ta  
HUAWEI SCM-W09  
HUAWEI YAL-L21  
samsung SM-N9600  
HUAWEI ANG-AN00  
HUAWEI AQM-AL00  
HUAWEI JNY-AL10  
HUAWEI KRJ-W09  
HUAWEI TEL-AN00a  
HUAWEI TNY-AL00  
HUAWEI VRD-AL10  
HUAWEI WLZ-AL10  
HUAWEI YAL-AL00  
nubia NX629J  
vivo V1936A  
HUAWEI BMH-AN10  
HUAWEI CDL-AN50  
HUAWEI CDY-AN20  
HUAWEI EBG-AN00  
HUAWEI EVR-AL00  
HUAWEI JEF-AN20  
HUAWEI JSN-AL00  
HUAWEI LIO-AN00  
HUAWEI LIO-AN00m  
HUAWEI LRA-AL00  
HUAWEI OCE-AN10  
HUAWEI TAS-AL00  
HUAWEI TEL-AN00  
HUAWEI TEL-TN00  
HUAWEI VOG-AL10  
HUAWEI YAL-AL50  
iPhone10,1  
iPhone13,2  
Meizu M1 E  
OnePlus IN2020  
realme RMX2121  
vivo V1824A  
vivo vivo V3  
Xiaomi M2004J7AC  
Xiaomi Mi 10  
Xiaomi MI 8 SE

---

<div class="post-metadata">

**Author:** ![tristanjl](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tristanjl/32/261_2.png) [@tristanjl](https://qa.fmod.com/u/tristanjl)\
**Post date:** [May 18, 2021, 1:39am UTC](https://qa.fmod.com/t/when-the-media-volume-of-some-mobile-devices-is-set-to-0-it-reports-failure-when-fmod-is-initialized/17210/2 "2021-05-18T01:39:48Z")

</div>

Hi, we are having some trouble reproducing the issue - can you send us the FMOD logging information, particularly for when you encounter this issue on iPhone? If you are getting an ERR\_INTERNAL, there should be an extra log indicating the cause of the ERR\_INTERNAL.

---

<div class="post-metadata">

**Author:** ![17794582014](https://avatars.discourse-cdn.com/v4/letter/1/b5a626/32.png) [@17794582014](https://qa.fmod.com/u/17794582014)\
**Post date:** [May 18, 2021, 2:00am UTC](https://qa.fmod.com/t/when-the-media-volume-of-some-mobile-devices-is-set-to-0-it-reports-failure-when-fmod-is-initialized/17210/5 "2021-05-18T02:00:00Z")

</div>

```auto
05-17 09:55:04.918 12657 12776 D AAudio : AAudioStream_close(s#1) returned 0 ---------
05-17 09:55:04.920 12657 12776 I AudioManager: In isBluetoothScoOn(), calling application: com.pandadastudio.ninjamustdie3.nearme.gamecenter
05-17 09:55:04.920 5434 7048 I AS.AudioDeviceBroker: In isBluetoothScoOnForApp(), mForcedUseForCommExt: 1
05-17 09:55:04.920 12657 12776 I fmod : FMOD::supportsLowLatency : Low latency = true, Pro Audio = true, Bluetooth On = false, Acceptable Block Size = true (192)
05-17 09:55:04.920 12657 12776 I AAudio : AAudioStreamBuilder_openStream() called ----------------------------------------
05-17 09:55:04.920 12657 12776 I AudioStreamBuilder: rate = 0, channels = 0, format = 0, sharing = SH, dir = OUTPUT
05-17 09:55:04.920 12657 12776 I AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0
05-17 09:55:04.920 12657 12776 I AudioStreamBuilder: usage = 14, contentType = 0, inputPreset = 0, allowedCapturePolicy = 0
05-17 09:55:04.921 12657 12776 D : PlayerBase::PlayerBase()
05-17 09:55:04.922 5093 15740 D : PlayerBase::PlayerBase()
05-17 09:55:04.926 5093 15740 D APM_AudioPolicyManager: getOutputForAttrInt() attributes={ Content type: AUDIO_CONTENT_TYPE_MUSIC Usage: AUDIO_USAGE_GAME Source: AUDIO_SOURCE_DEFAULT Flags: 0x500 Tags: } stream=AUDIO_STREAM_MUSIC session 1145 selectedDeviceId 0
05-17 09:55:04.926 5093 15740 D APM_AudioPolicyManager: getOutputForAttrInt() device {type:0x2,@:}, sampling rate 48000, format 0x1, channel mask 0x3, flags 0x4001 stream AUDIO_STREAM_MUSIC
05-17 09:55:04.926 5090 5121 D audio_hw_primary: adev_get_parameters:vr_audio_mode_on=
05-17 09:55:04.926 5090 5121 I audio_hw_primary: getting vr mode to 0
05-17 09:55:04.926 5090 5121 D audio_hw_primary: adev_get_parameters: exit: returns - vr_audio_mode_on=false
05-17 09:55:04.927 5093 15740 I hash_map_utils: key: 'vr_audio_mode_on' value: ''
05-17 09:55:04.927 5093 15740 I AudioPolicyManagerCustom: VR mode is 0, switch to primary output if request is for fast|raw
05-17 09:55:04.927 5093 15740 E MMListParser: getProcessNameByPid bad param
05-17 09:55:04.927 5093 15740 D AudioPolicyManagerCustom: force db for effect, value (null) sample_rate=48000
05-17 09:55:04.927 5093 15740 V OppoAudioPolicyManager: getForcedDeepForOppoPolicy: session 1145, dev 2, stream 3, flags 4001, type 0
05-17 09:55:04.927 5093 15740 D OppoAudioPolicyManager: getForcedDeepForOppoPolicy: flags 4001, forced_deep 0
05-17 09:55:04.928 5093 15740 D OppoAudioVoiceScence: addOutputAudioScence sample_rate=48000,is_voice_scence_enable(1)
05-17 09:55:04.928 5093 15740 D voice_scence_discern: add name:sample_rate, value:48000
05-17 09:55:04.928 5093 15740 V voice_scence_discern: add name:sample_rate value:48000 list:0x70ca06c340
05-17 09:55:04.928 5093 15740 D voice_scence_discern: add name:channels, value:2
05-17 09:55:04.928 5093 15740 V voice_scence_discern: add name:channels value:2 list:0x70ca06c340
05-17 09:55:04.928 5093 15740 E MMListParser: getProcessNameByPid bad param
05-17 09:55:04.928 5093 15740 D voice_scence_discern: can not get the process name pid:-1.
05-17 09:55:04.928 5093 15740 D OppoAudioVoiceScence: scenceState=0, flags=0x4001, callingPid=-1
05-17 09:55:04.928 5093 15740 I AudioFlinger: openOutput() this 0x715345b700, module 10 Device 0x2, SamplingRate 48000, Format 0x000001, Channels 0x3, flags 0x4001
05-17 09:55:04.928 5090 5121 D audio_hw_primary: adev_open_output_stream: enter: format(0x1) sample_rate(48000) channel_mask(0x3) devices(0x2) flags(0x4001) stream_handle(0xe4565000) address()
05-17 09:55:04.928 5090 5121 I audio_hw_utils: audio_extn_utils_update_stream_output_app_type_cfg Allowing 24 and above bits playback on speaker ONLY at default sampling rate
05-17 09:55:04.928 5090 5121 D audio_hw_primary: adev_open_output_stream: Stream (0xe4565000) picks up usecase (mmap-playback)
05-17 09:55:04.930 5093 15740 D AudioFlinger: ThreadBase() multimedia.audio.effect.type = dirac
05-17 09:55:04.933 5093 13228 I AudioFlinger: AudioFlinger's thread 0x70ca090800 tid=13228 ready to run
05-17 09:55:04.938 5090 5121 D audio_hw_primary: out_set_volume: called with left_vol=0.000000, right_vol=0.000000
05-17 09:55:04.944 5093 15740 D AudioPolicyManagerCustom: getOutputForDevice() returns new direct output 349
05-17 09:55:04.945 5093 15740 D APM_AudioPolicyManager: getOutputForAttrInt returns output 349 selectedDeviceId 3
05-17 09:55:04.945 5093 15740 E MMListParser: getProcessNameByPid bad param
05-17 09:55:04.945 5093 15740 D AAudioServiceEndpointMMAP: open() mMapClient.uid = 1041, pid = 5093 => portHandle = 226
05-17 09:55:04.945 5093 15740 D AAudioServiceEndpointMMAP: open() deviceId = 3, sessionId = -1
05-17 09:55:04.946 5090 5121 D audio_hw_primary: out_create_mmap_buffer
05-17 09:55:04.946 5090 5121 D audio_hw_primary: out_create_mmap_buffer: Opening PCM device card_id(0) device_id(29), channels 2
05-17 09:55:04.949 5090 5121 I audio_hw_primary: mmap_time_offset_micros = 0 for output
05-17 09:55:04.949 5090 5121 D audio_hw_primary: out_create_mmap_buffer: got mmap buffer address 0xe867f000 info->buffer_size_frames -1536
05-17 09:55:04.950 5093 15740 D AAudioServiceEndpointMMAP: open() createMmapBuffer() buffer_size = 1536 fr, burst_size 48 fr, Sharable FD: Yes
05-17 09:55:04.950 5093 15740 D AAudioServiceEndpointMMAP: open() actual rate = 48000, channels = 2, deviceId = 3, capacity = 1536
05-17 09:55:04.950 5093 15740 D AAudioServiceEndpointMMAP: open() format = 0x00000001, frame size = 4, burst size = 48
05-17 09:55:04.950 5093 15740 D AudioStreamInternal_Service: open() original HW burst = 48, minMicros = 2000 => SW burst = 96
05-17 09:55:04.951 12657 12776 D AudioStreamInternal_Client: open() original HW burst = 96, minMicros = 2000 => SW burst = 96
05-17 09:55:04.952 12657 12776 I AAudio : AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#2 ----------------
05-17 09:55:04.952 12657 12776 D AAudio : AAudioStream_close(s#2) called ---------------
05-17 09:55:04.953 5093 5287 D APM_AudioPolicyManager: releaseOutput removeAudioScences session(1145)
05-17 09:55:04.954 5090 5121 D audio_hw_primary: out_set_parameters: enter: usecase(13: mmap-playback) kvpairs: closing=true
05-17 09:55:04.955 5093 5287 D AudioFlinger: closing mmapThread 0x70ca090800
05-17 09:55:04.955 5093 5287 D AudioFlinger: mmapThread exit()
05-17 09:55:04.957 5090 5121 D audio_hw_primary: adev_close_output_stream: enter:stream_handle(mmap-playback)
05-17 09:55:04.957 5090 5121 D OPPO_AUDIO_SCENCE: output_reset_scence:reset output scence
05-17 09:55:04.957 5090 5121 D audio_hw_primary: out_standby: enter: stream (0xe4565000) usecase(13: mmap-playback)
05-17 09:55:04.963 5090 5121 D audio_hw_primary: out_standby: exit
05-17 09:55:05.021 5434 5434 D TorchManagerService: temperature: 325, bTorchMode: false, switchOn: true, threshold: 450, showing: false, mbIsSafetyTemperatureScene: false
05-17 09:55:05.053 5093 15740 D : PlayerBase::~PlayerBase()
05-17 09:55:05.054 12657 12776 D AAudio : AAudioStream_close(s#2) returned 0 ---------
05-17 09:55:05.054 12657 12776 I AAudio : AAudioStreamBuilder_openStream() called ----------------------------------------
05-17 09:55:05.054 12657 12776 I AudioStreamBuilder: rate = 0, channels = 0, format = 0, sharing = SH, dir = OUTPUT
05-17 09:55:05.054 12657 12776 I AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0
05-17 09:55:05.054 12657 12776 I AudioStreamBuilder: usage = 14, contentType = 0, inputPreset = 0, allowedCapturePolicy = 0
05-17 09:55:05.054 12657 12776 D : PlayerBase::PlayerBase()
05-17 09:55:05.056 5093 15740 D : PlayerBase::PlayerBase()
05-17 09:55:05.060 5093 15740 D APM_AudioPolicyManager: getOutputForAttrInt() attributes={ Content type: AUDIO_CONTENT_TYPE_MUSIC Usage: AUDIO_USAGE_GAME Source: AUDIO_SOURCE_DEFAULT Flags: 0x500 Tags: } stream=AUDIO_STREAM_MUSIC session 1153 selectedDeviceId 0
05-17 09:55:05.061 5093 15740 D APM_AudioPolicyManager: getOutputForAttrInt() device {type:0x2,@:}, sampling rate 48000, format 0x1, channel mask 0x3, flags 0x4001 stream AUDIO_STREAM_MUSIC
05-17 09:55:05.062 5090 5121 D audio_hw_primary: adev_get_parameters:vr_audio_mode_on=
05-17 09:55:05.062 5090 5121 I audio_hw_primary: getting vr mode to 0
05-17 09:55:05.062 5090 5121 D audio_hw_primary: adev_get_parameters: exit: returns - vr_audio_mode_on=false
05-17 09:55:05.063 5093 15740 I hash_map_utils: key: 'vr_audio_mode_on' value: ''
05-17 09:55:05.064 5093 15740 I AudioPolicyManagerCustom: VR mode is 0, switch to primary output if request is for fast|raw
05-17 09:55:05.065 5093 15740 E MMListParser: getProcessNameByPid bad param
05-17 09:55:05.065 5093 15740 D AudioPolicyManagerCustom: force db for effect, value (null) sample_rate=48000
05-17 09:55:05.065 5093 15740 V OppoAudioPolicyManager: getForcedDeepForOppoPolicy: session 1153, dev 2, stream 3, flags 4001, type 0
05-17 09:55:05.065 5093 15740 D OppoAudioPolicyManager: getForcedDeepForOppoPolicy: flags 4001, forced_deep 0
05-17 09:55:05.065 5093 15740 D OppoAudioVoiceScence: addOutputAudioScence sample_rate=48000,is_voice_scence_enable(1)
05-17 09:55:05.065 5093 15740 D voice_scence_discern: add name:sample_rate, value:48000
05-17 09:55:05.066 5093 15740 V voice_scence_discern: add name:sample_rate value:48000 list:0x70ca06c340
05-17 09:55:05.066 5093 15740 D voice_scence_discern: add name:channels, value:2
05-17 09:55:05.066 5093 15740 V voice_scence_discern: add name:channels value:2 list:0x70ca06c340
05-17 09:55:05.066 5093 15740 E MMListParser: getProcessNameByPid bad param
05-17 09:55:05.066 5093 15740 D voice_scence_discern: can not get the process name pid:-1.
05-17 09:55:05.066 5093 15740 D OppoAudioVoiceScence: scenceState=0, flags=0x4001, callingPid=-1
05-17 09:55:05.066 5093 15740 I AudioFlinger: openOutput() this 0x715345b700, module 10 Device 0x2, SamplingRate 48000, Format 0x000001, Channels 0x3, flags 0x4001
05-17 09:55:05.066 5090 5121 D audio_hw_primary: adev_open_output_stream: enter: format(0x1) sample_rate(48000) channel_mask(0x3) devices(0x2) flags(0x4001) stream_handle(0xe4565000) address()
05-17 09:55:05.066 5090 5121 I audio_hw_utils: audio_extn_utils_update_stream_output_app_type_cfg Allowing 24 and above bits playback on speaker ONLY at default sampling rate
05-17 09:55:05.066 5090 5121 D audio_hw_primary: adev_open_output_stream: Stream (0xe4565000) picks up usecase (mmap-playback)
05-17 09:55:05.067 5093 15740 D AudioFlinger: ThreadBase() multimedia.audio.effect.type = dirac
05-17 09:55:05.076 5093 13230 I AudioFlinger: AudioFlinger's thread 0x70ca0d5000 tid=13230 ready to run
05-17 09:55:05.079 5090 5121 D audio_hw_primary: out_set_volume: called with left_vol=0.000000, right_vol=0.000000
05-17 09:55:05.092 5093 15740 D AudioPolicyManagerCustom: getOutputForDevice() returns new direct output 357
05-17 09:55:05.095 5093 15740 D APM_AudioPolicyManager: getOutputForAttrInt returns output 357 selectedDeviceId 3
05-17 09:55:05.095 5093 15740 E MMListParser: getProcessNameByPid bad param
05-17 09:55:05.095 5093 15740 D AAudioServiceEndpointMMAP: open() mMapClient.uid = 1041, pid = 5093 => portHandle = 228
05-17 09:55:05.095 5093 15740 D AAudioServiceEndpointMMAP: open() deviceId = 3, sessionId = -1
05-17 09:55:05.096 5090 5121 D audio_hw_primary: out_create_mmap_buffer
05-17 09:55:05.096 5090 5121 D audio_hw_primary: out_create_mmap_buffer: Opening PCM device card_id(0) device_id(29), channels 2
05-17 09:55:05.098 5090 5121 I audio_hw_primary: mmap_time_offset_micros = 0 for output
05-17 09:55:05.099 5090 5121 D audio_hw_primary: out_create_mmap_buffer: got mmap buffer address 0xe867f000 info->buffer_size_frames -1536
05-17 09:55:05.099 5093 15740 D AAudioServiceEndpointMMAP: open() createMmapBuffer() buffer_size = 1536 fr, burst_size 48 fr, Sharable FD: Yes
05-17 09:55:05.099 5093 15740 D AAudioServiceEndpointMMAP: open() actual rate = 48000, channels = 2, deviceId = 3, capacity = 1536
05-17 09:55:05.099 5093 15740 D AAudioServiceEndpointMMAP: open() format = 0x00000001, frame size = 4, burst size = 48
05-17 09:55:05.099 5093 15740 D AudioStreamInternal_Service: open() original HW burst = 48, minMicros = 2000 => SW burst = 96
05-17 09:55:05.101 12657 12776 D AudioStreamInternal_Client: open() original HW burst = 96, minMicros = 2000 => SW burst = 96
05-17 09:55:05.102 12657 12776 I AAudio : AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#3 ----------------
05-17 09:55:05.113 12657 12776 D AAudio : AAudioStream_requestStart(s#3) called --------------
05-17 09:55:05.113 5090 5121 D audio_hw_primary: start_output_stream: enter: stream(0xe4565000)usecase(13: mmap-playback) devices(0x2) is_haptic_usecase(0)
05-17 09:55:05.114 5090 5121 D audio_hw_primary: select_devices for use case (mmap-playback)
05-17 09:55:05.114 5090 5121 D OPPO_AUDIO_SCENCE: oppo_output_snd_device_common: mode=0, source=0
05-17 09:55:05.114 5090 5121 D OPPO_AUDIO_SCENCE: oppo_output_snd_device_common: out->scence 0
05-17 09:55:05.114 5090 5121 D msm8974_platform: platform_get_output_snd_device: using dummy device
05-17 09:55:05.114 5090 5121 D audio_hw_primary: select_devices: changing use case mmap-playback output device from(2: speaker, acdb 15) to (124: dummy, acdb 15)
05-17 09:55:05.114 5090 5121 E msm8974_platform: platform_get_snd_device_backend_index: no interface matching name AFE_PCM_RX
05-17 09:55:05.114 5090 5121 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 13 device (dummy)
05-17 09:55:05.114 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(1) new_snd_devices(0)
05-17 09:55:05.114 5090 5121 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 124
05-17 09:55:05.114 5090 5121 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 13 device (dummy)
05-17 09:55:05.114 5090 5121 D msm8974_platform: platform_check_codec_backend_cfg:napb: (0) - (low-latency-playback)id (1) sr 48000 bw (16) ch (2) device speaker
05-17 09:55:05.114 5090 5121 D audio_hw_extn: audio_extn_enable_hifi_filter: mixer_value set 0
05-17 09:55:05.114 5090 5121 D msm8974_platform: platform_check_codec_backend_cfg:becf: updated afe: bitwidth 16, samplerate 48000 channels 2,backend_idx 0 usecase = 13 device (dummy)
05-17 09:55:05.114 5090 5121 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
05-17 09:55:05.115 5090 5121 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
05-17 09:55:05.115 5090 5121 D audio_hw_primary: check_usecases_codec_backend:becf: (77) check_usecases curr device: dummy, usecase device:speaker backends match 0
05-17 09:55:05.115 5090 5121 E msm8974_platform: platform_check_backends_match: Invalid snd_device = 
05-17 09:55:05.115 5090 5121 D audio_hw_primary: check_usecases_codec_backend:becf: (77) check_usecases curr device: dummy, usecase device: backends match 0
05-17 09:55:05.115 5090 5121 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
05-17 09:55:05.115 5090 5121 D hardware_info: hw_info_append_hw_type : device_name = dummy
05-17 09:55:05.115 5090 5121 D dummy_snd_dev: oppo_start_dummy_dev: enter
05-17 09:55:05.115 5090 5121 V dummy_snd_dev: oppo_start_dummy_dev: using snd card 0, device 6
05-17 09:55:05.118 5090 5121 D dummy_snd_dev: oppo_start_dummy_dev: exit
05-17 09:55:05.118 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(0) new_snd_devices(0)
05-17 09:55:05.118 5090 5121 D audio_hw_primary: enable_snd_device: snd_device(124: dummy)
05-17 09:55:05.118 5090 5121 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x7c of type 0 for Event 1, with Raise=0
05-17 09:55:05.118 5090 5121 D audio_route: Apply path: dummy
05-17 09:55:05.118 5090 5121 I audio_hw_utils: audio_extn_utils_update_stream_output_app_type_cfg Allowing 24 and above bits playback on speaker ONLY at default sampling rate
05-17 09:55:05.118 5090 5121 E soundtrigger: audio_extn_sound_trigger_update_stream_status: invalid input device 0x0, for event 3
05-17 09:55:05.118 5090 5121 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 13 of type 0 for Event 3, with Raise=0
05-17 09:55:05.118 5090 5121 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->out_snd_device dummy
05-17 09:55:05.118 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(1) new_snd_devices(0)
05-17 09:55:05.118 5090 5121 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
05-17 09:55:05.118 5090 5121 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 15, path = 0, app id = 0x11131, sample rate = 48000, afe_sample_rate = 48000
05-17 09:55:05.118 5090 5121 D ACDB-LOADER: ACDB -> send_asm_topology
05-17 09:55:05.118 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
05-17 09:55:05.118 5090 5121 D ACDB-LOADER: ACDB -> send_adm_topology
05-17 09:55:05.118 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
05-17 09:55:05.118 5090 5121 D ACDB-LOADER: ACDB -> send_audtable
05-17 09:55:05.118 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
05-17 09:55:05.118 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE
05-17 09:55:05.118 5090 5121 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL cal_type[11] acdb_id[15] app_type[69937]
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_PERSISTENT_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
05-17 09:55:05.119 5090 5121 D : ACDBFILE_MGR: Property for the pid 000133B7 not found
05-17 09:55:05.119 5090 5121 D : [Data Manager] -> Failed to fetch the property info for pid 000133B7 
05-17 09:55:05.119 5090 5121 D : [Data Manager]-> No data found
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: Error: ACDB_CMD_GET_PERSISTENT_AUDPROC_INSTANCE_COMMON_TABLE_SIZE returned -18
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> send_audproc_persist_table -18 
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: Error: Invalid Audproc persist size = -18
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> send_audvoltable
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE_SIZE
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE, vol index 0
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE_SIZE
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> send_audstrmtable
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 20
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> send_afe_topology
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 15, Topology Id 1000e800
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> send_afe_cal
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE_SIZE
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL cal_type[16] acdb_id[15]
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 15 path = 0
05-17 09:55:05.119 5090 5121 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
05-17 09:55:05.119 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(0) new_snd_devices(0)
05-17 09:55:05.119 5090 5121 I msm8974_platform: platform_get_custom_mtmx_params: no matching param with id 0 ip_ch 2 op_ch 2 uc_id 13 snd_dev 124
05-17 09:55:05.119 5090 5121 D audio_hw_primary: enable_audio_route: apply mixer and update path: mmap-playback dummy
05-17 09:55:05.119 5090 5121 E audio_route: unable to find path 'mmap-playback dummy'
05-17 09:55:05.119 5090 5121 D audio_hw_primary: select_devices: done
05-17 09:55:05.119 5090 5121 D audio_hw_primary: start_output_stream: Starting MMAP stream
05-17 09:55:05.119 5090 5121 E audio_hw_primary: start_output_stream: MMAP pcm_start failed ret -1
05-17 09:55:05.120 5090 5121 D audio_hw_primary: disable_audio_route: reset and update mixer path: mmap-playback dummy
05-17 09:55:05.120 5090 5121 E audio_route: unable to find path 'mmap-playback dummy'
05-17 09:55:05.120 5090 5121 E soundtrigger: audio_extn_sound_trigger_update_stream_status: invalid input device 0x0, for event 2
05-17 09:55:05.120 5090 5121 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 13 of type 0 for Event 2, with Raise=0
05-17 09:55:05.120 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(0) new_snd_devices(0)
05-17 09:55:05.120 5090 5121 I msm8974_platform: platform_get_custom_mtmx_params: no matching param with id 0 ip_ch 2 op_ch 2 uc_id 13 snd_dev 124
05-17 09:55:05.120 5090 5121 D hardware_info: hw_info_append_hw_type : device_name = dummy
05-17 09:55:05.120 5090 5121 D dummy_snd_dev: oppo_stop_dummy_dev: enter
05-17 09:55:05.122 5090 5121 D dummy_snd_dev: oppo_stop_dummy_dev: exit
05-17 09:55:05.122 5090 5121 D audio_hw_primary: disable_snd_device: snd_device(124: dummy)
05-17 09:55:05.122 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(0) new_snd_devices(0)
05-17 09:55:05.123 5090 5121 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x7c of type 0 for Event 0, with Raise=0
05-17 09:55:05.123 5090 5121 D audio_hw_primary: stop_output_stream, 3838, adev->stream_out_count = 0
05-17 09:55:05.123 5090 5121 D audio_hw_primary: check_need_set_pa_voltage_default, 3640, usecase->devices = 0x2, usecase->out_snd_device = 2
05-17 09:55:05.123 5090 5121 D audio_hw_primary: set_pa_voltage, 3657, voltage = 0
05-17 09:55:05.126 5090 5121 D audio_hw_primary: set_pa_voltage, 3689, voltage = 0, adev->pa_voltage_changed = 0
05-17 09:55:05.176 5090 5121 W StreamHAL: Error from HAL stream in function start: Operation not permitted
05-17 09:55:05.177 5093 15740 E AudioFlinger: exitStandby: error mHalStream->start() = -61 for first track
05-17 09:55:05.177 12657 12776 D AAudio : AAudioStream_requestStart(s#3) returned -889 ---------
05-17 09:55:05.183 12657 12776 D AAudio : AAudioStream_requestStop(s#3) called
05-17 09:55:05.183 12657 12776 D : PlayerBase::stop() from IPlayer
05-17 09:55:05.184 12657 12776 D AAudio : AAudioStream_close(s#3) called ---------------
05-17 09:55:05.186 5093 5287 D APM_AudioPolicyManager: releaseOutput removeAudioScences session(1153)
05-17 09:55:05.187 5090 5121 D audio_hw_primary: out_set_parameters: enter: usecase(13: mmap-playback) kvpairs: closing=true
05-17 09:55:05.189 5093 5287 D AudioFlinger: closing mmapThread 0x70ca0d5000
05-17 09:55:05.190 5093 5287 D AudioFlinger: mmapThread exit()
05-17 09:55:05.192 5090 5121 D audio_hw_primary: adev_close_output_stream: enter:stream_handle(mmap-playback)
05-17 09:55:05.193 5090 5121 D OPPO_AUDIO_SCENCE: output_reset_scence:reset output scence
05-17 09:55:05.193 5090 5121 D audio_hw_primary: out_standby: enter: stream (0xe4565000) usecase(13: mmap-playback)
05-17 09:55:05.199 5090 5121 D audio_hw_primary: out_standby: exit
05-17 09:55:05.286 5093 15740 D : PlayerBase::~PlayerBase()
05-17 09:55:05.287 12657 12776 D AAudio : AAudioStream_close(s#3) returned 0 ---------
05-17 09:55:05.297 12657 12776 E Unity : [FMOD] Studio::System::initialize returned ERR_INTERNAL, defaulting to no-sound mode. 
05-17 09:55:05.297 12657 12776 E Unity : (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
05-17 09:55:05.297 12657 12776 E Unity : 
05-17 09:55:05.310 12657 12776 I AAudio : AAudioStreamBuilder_openStream() called ----------------------------------------
05-17 09:55:05.310 12657 12776 I AudioStreamBuilder: rate = 0, channels = 0, format = 0, sharing = SH, dir = OUTPUT
05-17 09:55:05.310 12657 12776 I AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: OFF with frames = 0
05-17 09:55:05.310 12657 12776 I AudioStreamBuilder: usage = 14, contentType = 0, inputPreset = 0, allowedCapturePolicy = 0
05-17 09:55:05.310 12657 12776 D : PlayerBase::PlayerBase()
05-17 09:55:05.312 5093 15740 D : PlayerBase::PlayerBase()
05-17 09:55:05.314 5093 15740 D APM_AudioPolicyManager: getOutputForAttrInt() attributes={ Content type: AUDIO_CONTENT_TYPE_MUSIC Usage: AUDIO_USAGE_GAME Source: AUDIO_SOURCE_DEFAULT Flags: 0x500 Tags: } stream=AUDIO_STREAM_MUSIC session 1161 selectedDeviceId 0
05-17 09:55:05.314 5093 15740 D APM_AudioPolicyManager: getOutputForAttrInt() device {type:0x2,@:}, sampling rate 48000, format 0x1, channel mask 0x3, flags 0x4001 stream AUDIO_STREAM_MUSIC
05-17 09:55:05.314 5090 5121 D audio_hw_primary: adev_get_parameters:vr_audio_mode_on=
05-17 09:55:05.314 5090 5121 I audio_hw_primary: getting vr mode to 0
05-17 09:55:05.314 5090 5121 D audio_hw_primary: adev_get_parameters: exit: returns - vr_audio_mode_on=false
05-17 09:55:05.314 5093 15740 I hash_map_utils: key: 'vr_audio_mode_on' value: ''
05-17 09:55:05.315 5093 15740 I AudioPolicyManagerCustom: VR mode is 0, switch to primary output if request is for fast|raw
05-17 09:55:05.315 5093 15740 E MMListParser: getProcessNameByPid bad param
05-17 09:55:05.315 5093 15740 D AudioPolicyManagerCustom: force db for effect, value (null) sample_rate=48000
05-17 09:55:05.315 5093 15740 V OppoAudioPolicyManager: getForcedDeepForOppoPolicy: session 1161, dev 2, stream 3, flags 4001, type 0
05-17 09:55:05.315 5093 15740 D OppoAudioPolicyManager: getForcedDeepForOppoPolicy: flags 4001, forced_deep 0
05-17 09:55:05.315 5093 15740 D OppoAudioVoiceScence: addOutputAudioScence sample_rate=48000,is_voice_scence_enable(1)
05-17 09:55:05.315 5093 15740 D voice_scence_discern: add name:sample_rate, value:48000
05-17 09:55:05.315 5093 15740 V voice_scence_discern: add name:sample_rate value:48000 list:0x70ca06c340
05-17 09:55:05.315 5093 15740 D voice_scence_discern: add name:channels, value:2
05-17 09:55:05.315 5093 15740 V voice_scence_discern: add name:channels value:2 list:0x70ca06c340
05-17 09:55:05.315 5093 15740 D voice_scence_discern: can not get the process name pid:-1.
05-17 09:55:05.315 5093 15740 D OppoAudioVoiceScence: scenceState=0, flags=0x4001, callingPid=-1
05-17 09:55:05.316 5093 15740 I AudioFlinger: openOutput() this 0x715345b700, module 10 Device 0x2, SamplingRate 48000, Format 0x000001, Channels 0x3, flags 0x4001
05-17 09:55:05.316 5090 5121 D audio_hw_primary: adev_open_output_stream: enter: format(0x1) sample_rate(48000) channel_mask(0x3) devices(0x2) flags(0x4001) stream_handle(0xe4565000) address()
05-17 09:55:05.316 5090 5121 I audio_hw_utils: audio_extn_utils_update_stream_output_app_type_cfg Allowing 24 and above bits playback on speaker ONLY at default sampling rate
05-17 09:55:05.316 5090 5121 D audio_hw_primary: adev_open_output_stream: Stream (0xe4565000) picks up usecase (mmap-playback)
05-17 09:55:05.316 5093 15740 D AudioFlinger: ThreadBase() multimedia.audio.effect.type = dirac
05-17 09:55:05.322 5093 13235 I AudioFlinger: AudioFlinger's thread 0x70ca0d7800 tid=13235 ready to run
05-17 09:55:05.322 5090 5121 D audio_hw_primary: out_set_volume: called with left_vol=0.000000, right_vol=0.000000
05-17 09:55:05.325 5093 15740 D AudioPolicyManagerCustom: getOutputForDevice() returns new direct output 365
05-17 09:55:05.325 5093 15740 D APM_AudioPolicyManager: getOutputForAttrInt returns output 365 selectedDeviceId 3
05-17 09:55:05.325 5093 15740 E MMListParser: getProcessNameByPid bad param
05-17 09:55:05.325 5093 15740 D AAudioServiceEndpointMMAP: open() mMapClient.uid = 1041, pid = 5093 => portHandle = 230
05-17 09:55:05.325 5093 15740 D AAudioServiceEndpointMMAP: open() deviceId = 3, sessionId = -1
05-17 09:55:05.326 5090 5121 D audio_hw_primary: out_create_mmap_buffer
05-17 09:55:05.326 5090 5121 D audio_hw_primary: out_create_mmap_buffer: Opening PCM device card_id(0) device_id(29), channels 2
05-17 09:55:05.329 5090 5121 I audio_hw_primary: mmap_time_offset_micros = 0 for output
05-17 09:55:05.329 5090 5121 D audio_hw_primary: out_create_mmap_buffer: got mmap buffer address 0xe867f000 info->buffer_size_frames -1536
05-17 09:55:05.329 5093 15740 D AAudioServiceEndpointMMAP: open() createMmapBuffer() buffer_size = 1536 fr, burst_size 48 fr, Sharable FD: Yes
05-17 09:55:05.329 5093 15740 D AAudioServiceEndpointMMAP: open() actual rate = 48000, channels = 2, deviceId = 3, capacity = 1536
05-17 09:55:05.329 5093 15740 D AAudioServiceEndpointMMAP: open() format = 0x00000001, frame size = 4, burst size = 48
05-17 09:55:05.330 5093 15740 D AudioStreamInternal_Service: open() original HW burst = 48, minMicros = 2000 => SW burst = 96
05-17 09:55:05.331 12657 12776 D AudioStreamInternal_Client: open() original HW burst = 96, minMicros = 2000 => SW burst = 96
05-17 09:55:05.332 12657 12776 I AAudio : AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#4 ----------------
05-17 09:55:05.332 12657 12776 D AAudio : AAudioStream_close(s#4) called ---------------
05-17 09:55:05.334 5093 5287 D APM_AudioPolicyManager: releaseOutput removeAudioScences session(1161)
05-17 09:55:05.335 5090 5121 D audio_hw_primary: out_set_parameters: enter: usecase(13: mmap-playback) kvpairs: closing=true
05-17 09:55:05.337 5093 5287 D AudioFlinger: closing mmapThread 0x70ca0d7800
05-17 09:55:05.338 5093 5287 D AudioFlinger: mmapThread exit()
05-17 09:55:05.340 5090 5121 D audio_hw_primary: adev_close_output_stream: enter:stream_handle(mmap-playback)
05-17 09:55:05.340 5090 5121 D OPPO_AUDIO_SCENCE: output_reset_scence:reset output scence
05-17 09:55:05.340 5090 5121 D audio_hw_primary: out_standby: enter: stream (0xe4565000) usecase(13: mmap-playback)
05-17 09:55:05.347 5090 5121 D audio_hw_primary: out_standby: exit
05-17 09:55:05.435 5093 15740 D : PlayerBase::~PlayerBase()
05-17 09:55:05.436 12657 12776 D AAudio : AAudioStream_close(s#4) returned 0 ---------
05-17 09:55:05.437 12657 12776 I AudioManager: In isBluetoothScoOn(), calling application: com.pandadastudio.ninjamustdie3.nearme.gamecenter
05-17 09:55:05.437 5434 27949 I AS.AudioDeviceBroker: In isBluetoothScoOnForApp(), mForcedUseForCommExt: 1
05-17 09:55:05.438 12657 12776 I fmod : FMOD::supportsLowLatency : Low latency = true, Pro Audio = true, Bluetooth On = false, Acceptable Block Size = true (192)
05-17 09:55:05.438 12657 12776 I AAudio : AAudioStreamBuilder_openStream() called ----------------------------------------
05-17 09:55:05.438 12657 12776 I AudioStreamBuilder: rate = 0, channels = 0, format = 0, sharing = SH, dir = OUTPUT
05-17 09:55:05.438 12657 12776 I AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0
05-17 09:55:05.438 12657 12776 I AudioStreamBuilder: usage = 14, contentType = 0, inputPreset = 0, allowedCapturePolicy = 0
05-17 09:55:05.438 12657 12776 D : PlayerBase::PlayerBase()
05-17 09:55:05.467 5093 15740 D : PlayerBase::PlayerBase()

```

---

<div class="post-metadata">

**Author:** ![17794582014](https://avatars.discourse-cdn.com/v4/letter/1/b5a626/32.png) [@17794582014](https://qa.fmod.com/u/17794582014)\
**Post date:** [May 18, 2021, 2:00am UTC](https://qa.fmod.com/t/when-the-media-volume-of-some-mobile-devices-is-set-to-0-it-reports-failure-when-fmod-is-initialized/17210/6 "2021-05-18T02:00:38Z")

</div>

```auto
05-17 09:55:05.470 5093 15740 D APM_AudioPolicyManager: getOutputForAttrInt() attributes={ Content type: AUDIO_CONTENT_TYPE_MUSIC Usage: AUDIO_USAGE_GAME Source: AUDIO_SOURCE_DEFAULT Flags: 0x500 Tags: } stream=AUDIO_STREAM_MUSIC session 1169 selectedDeviceId 0
05-17 09:55:05.470 5093 15740 D APM_AudioPolicyManager: getOutputForAttrInt() device {type:0x2,@:}, sampling rate 48000, format 0x1, channel mask 0x3, flags 0x4001 stream AUDIO_STREAM_MUSIC
05-17 09:55:05.471 5090 5121 D audio_hw_primary: adev_get_parameters:vr_audio_mode_on=
05-17 09:55:05.471 5090 5121 I audio_hw_primary: getting vr mode to 0
05-17 09:55:05.471 5090 5121 D audio_hw_primary: adev_get_parameters: exit: returns - vr_audio_mode_on=false
05-17 09:55:05.472 5093 15740 I hash_map_utils: key: 'vr_audio_mode_on' value: ''
05-17 09:55:05.473 5093 15740 I AudioPolicyManagerCustom: VR mode is 0, switch to primary output if request is for fast|raw
05-17 09:55:05.473 5093 15740 E MMListParser: getProcessNameByPid bad param
05-17 09:55:05.473 5093 15740 D AudioPolicyManagerCustom: force db for effect, value (null) sample_rate=48000
05-17 09:55:05.474 5093 15740 E MMListParser: getProcessNameByPid bad param
05-17 09:55:05.474 5093 15740 E MMListParser: getProcessNameByPid bad param
05-17 09:55:05.474 5093 15740 V OppoAudioPolicyManager: getForcedDeepForOppoPolicy: session 1169, dev 2, stream 3, flags 4001, type 0
05-17 09:55:05.474 5093 15740 D OppoAudioPolicyManager: getForcedDeepForOppoPolicy: flags 4001, forced_deep 0
05-17 09:55:05.474 5093 15740 D OppoAudioVoiceScence: addOutputAudioScence sample_rate=48000,is_voice_scence_enable(1)
05-17 09:55:05.474 5093 15740 D voice_scence_discern: add name:sample_rate, value:48000
05-17 09:55:05.474 5093 15740 V voice_scence_discern: add name:sample_rate value:48000 list:0x70ca06c340
05-17 09:55:05.474 5093 15740 D voice_scence_discern: add name:channels, value:2
05-17 09:55:05.474 5093 15740 V voice_scence_discern: add name:channels value:2 list:0x70ca06c340
05-17 09:55:05.474 5093 15740 D voice_scence_discern: can not get the process name pid:-1.
05-17 09:55:05.474 5093 15740 D OppoAudioVoiceScence: scenceState=0, flags=0x4001, callingPid=-1
05-17 09:55:05.474 5093 15740 I AudioFlinger: openOutput() this 0x715345b700, module 10 Device 0x2, SamplingRate 48000, Format 0x000001, Channels 0x3, flags 0x4001
05-17 09:55:05.474 5090 5121 D audio_hw_primary: adev_open_output_stream: enter: format(0x1) sample_rate(48000) channel_mask(0x3) devices(0x2) flags(0x4001) stream_handle(0xe4565000) address()
05-17 09:55:05.474 5090 5121 I audio_hw_utils: audio_extn_utils_update_stream_output_app_type_cfg Allowing 24 and above bits playback on speaker ONLY at default sampling rate
05-17 09:55:05.474 5090 5121 D audio_hw_primary: adev_open_output_stream: Stream (0xe4565000) picks up usecase (mmap-playback)
05-17 09:55:05.475 5093 15740 D AudioFlinger: ThreadBase() multimedia.audio.effect.type = dirac
05-17 09:55:05.482 5093 13238 I AudioFlinger: AudioFlinger's thread 0x70ca0e6000 tid=13238 ready to run
05-17 09:55:05.483 5090 5121 D audio_hw_primary: out_set_volume: called with left_vol=0.000000, right_vol=0.000000
05-17 09:55:05.487 5093 15740 D AudioPolicyManagerCustom: getOutputForDevice() returns new direct output 373
05-17 09:55:05.487 5093 15740 D APM_AudioPolicyManager: getOutputForAttrInt returns output 373 selectedDeviceId 3
05-17 09:55:05.487 5093 15740 E MMListParser: getProcessNameByPid bad param
05-17 09:55:05.487 5093 15740 D AAudioServiceEndpointMMAP: open() mMapClient.uid = 1041, pid = 5093 => portHandle = 232
05-17 09:55:05.487 5093 15740 D AAudioServiceEndpointMMAP: open() deviceId = 3, sessionId = -1
05-17 09:55:05.488 5090 5121 D audio_hw_primary: out_create_mmap_buffer
05-17 09:55:05.488 5090 5121 D audio_hw_primary: out_create_mmap_buffer: Opening PCM device card_id(0) device_id(29), channels 2
05-17 09:55:05.490 5090 5121 I audio_hw_primary: mmap_time_offset_micros = 0 for output
05-17 09:55:05.490 5090 5121 D audio_hw_primary: out_create_mmap_buffer: got mmap buffer address 0xe867f000 info->buffer_size_frames -1536
05-17 09:55:05.491 5093 15740 D AAudioServiceEndpointMMAP: open() createMmapBuffer() buffer_size = 1536 fr, burst_size 48 fr, Sharable FD: Yes
05-17 09:55:05.491 5093 15740 D AAudioServiceEndpointMMAP: open() actual rate = 48000, channels = 2, deviceId = 3, capacity = 1536
05-17 09:55:05.491 5093 15740 D AAudioServiceEndpointMMAP: open() format = 0x00000001, frame size = 4, burst size = 48
05-17 09:55:05.491 5093 15740 D AudioStreamInternal_Service: open() original HW burst = 48, minMicros = 2000 => SW burst = 96
05-17 09:55:05.492 12657 12776 D AudioStreamInternal_Client: open() original HW burst = 96, minMicros = 2000 => SW burst = 96
05-17 09:55:05.493 12657 12776 I AAudio : AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#5 ----------------
05-17 09:55:05.493 12657 12776 D AAudio : AAudioStream_close(s#5) called ---------------
05-17 09:55:05.494 5093 5287 D APM_AudioPolicyManager: releaseOutput removeAudioScences session(1169)
05-17 09:55:05.494 5090 5121 D audio_hw_primary: out_set_parameters: enter: usecase(13: mmap-playback) kvpairs: closing=true
05-17 09:55:05.496 5093 5287 D AudioFlinger: closing mmapThread 0x70ca0e6000
05-17 09:55:05.496 5093 5287 D AudioFlinger: mmapThread exit()
05-17 09:55:05.497 5090 5121 D audio_hw_primary: adev_close_output_stream: enter:stream_handle(mmap-playback)
05-17 09:55:05.497 5090 5121 D OPPO_AUDIO_SCENCE: output_reset_scence:reset output scence
05-17 09:55:05.497 5090 5121 D audio_hw_primary: out_standby: enter: stream (0xe4565000) usecase(13: mmap-playback)
05-17 09:55:05.505 5090 5121 D audio_hw_primary: out_standby: exit
05-17 09:55:05.565 5434 5505 W ActivityManager: Scheduling restart of crashed service com.coloros.gallery3d/com.coloros.cloud.agent.gallery.GallerySyncAgent in 1000ms
05-17 09:55:05.594 5093 7018 D : PlayerBase::~PlayerBase()
05-17 09:55:05.595 12657 12776 D AAudio : AAudioStream_close(s#5) returned 0 ---------
05-17 09:55:05.595 12657 12776 I AAudio : AAudioStreamBuilder_openStream() called ----------------------------------------
05-17 09:55:05.595 12657 12776 I AudioStreamBuilder: rate = 0, channels = 0, format = 0, sharing = SH, dir = OUTPUT
05-17 09:55:05.595 12657 12776 I AudioStreamBuilder: device = 0, sessionId = -1, perfMode = 12, callback: ON with frames = 0
05-17 09:55:05.595 12657 12776 I AudioStreamBuilder: usage = 14, contentType = 0, inputPreset = 0, allowedCapturePolicy = 0
05-17 09:55:05.595 12657 12776 D : PlayerBase::PlayerBase()
05-17 09:55:05.596 5093 7018 D : PlayerBase::PlayerBase()
05-17 09:55:05.604 5093 7018 D APM_AudioPolicyManager: getOutputForAttrInt() attributes={ Content type: AUDIO_CONTENT_TYPE_MUSIC Usage: AUDIO_USAGE_GAME Source: AUDIO_SOURCE_DEFAULT Flags: 0x500 Tags: } stream=AUDIO_STREAM_MUSIC session 1177 selectedDeviceId 0
05-17 09:55:05.605 5093 7018 D APM_AudioPolicyManager: getOutputForAttrInt() device {type:0x2,@:}, sampling rate 48000, format 0x1, channel mask 0x3, flags 0x4001 stream AUDIO_STREAM_MUSIC
05-17 09:55:05.606 5090 5121 D audio_hw_primary: adev_get_parameters:vr_audio_mode_on=
05-17 09:55:05.606 5090 5121 I audio_hw_primary: getting vr mode to 0
05-17 09:55:05.606 5090 5121 D audio_hw_primary: adev_get_parameters: exit: returns - vr_audio_mode_on=false
05-17 09:55:05.607 5093 7018 I hash_map_utils: key: 'vr_audio_mode_on' value: ''
05-17 09:55:05.609 5093 7018 I AudioPolicyManagerCustom: VR mode is 0, switch to primary output if request is for fast|raw
05-17 09:55:05.609 5093 7018 E MMListParser: getProcessNameByPid bad param
05-17 09:55:05.609 5093 7018 D AudioPolicyManagerCustom: force db for effect, value (null) sample_rate=48000
05-17 09:55:05.610 5093 7018 V OppoAudioPolicyManager: getForcedDeepForOppoPolicy: session 1177, dev 2, stream 3, flags 4001, type 0
05-17 09:55:05.610 5093 7018 D OppoAudioPolicyManager: getForcedDeepForOppoPolicy: flags 4001, forced_deep 0
05-17 09:55:05.610 5093 7018 D OppoAudioVoiceScence: addOutputAudioScence sample_rate=48000,is_voice_scence_enable(1)
05-17 09:55:05.610 5093 7018 D voice_scence_discern: add name:sample_rate, value:48000
05-17 09:55:05.610 5093 7018 V voice_scence_discern: add name:sample_rate value:48000 list:0x70ca06c2c0
05-17 09:55:05.610 5093 7018 D voice_scence_discern: add name:channels, value:2
05-17 09:55:05.610 5093 7018 V voice_scence_discern: add name:channels value:2 list:0x70ca06c2c0
05-17 09:55:05.610 5093 7018 E MMListParser: getProcessNameByPid bad param
05-17 09:55:05.610 5093 7018 D voice_scence_discern: can not get the process name pid:-1.
05-17 09:55:05.610 5093 7018 D OppoAudioVoiceScence: scenceState=0, flags=0x4001, callingPid=-1
05-17 09:55:05.611 5093 7018 I AudioFlinger: openOutput() this 0x715345b700, module 10 Device 0x2, SamplingRate 48000, Format 0x000001, Channels 0x3, flags 0x4001
05-17 09:55:05.611 5090 5121 D audio_hw_primary: adev_open_output_stream: enter: format(0x1) sample_rate(48000) channel_mask(0x3) devices(0x2) flags(0x4001) stream_handle(0xe4565000) address()
05-17 09:55:05.611 5090 5121 I audio_hw_utils: audio_extn_utils_update_stream_output_app_type_cfg Allowing 24 and above bits playback on speaker ONLY at default sampling rate
05-17 09:55:05.611 5090 5121 D audio_hw_primary: adev_open_output_stream: Stream (0xe4565000) picks up usecase (mmap-playback)
05-17 09:55:05.618 5093 7018 D AudioFlinger: ThreadBase() multimedia.audio.effect.type = dirac
05-17 09:55:05.621 5093 13240 I AudioFlinger: AudioFlinger's thread 0x70ca0fc000 tid=13240 ready to run
05-17 09:55:05.631 5090 5121 D audio_hw_primary: out_set_volume: called with left_vol=0.000000, right_vol=0.000000
05-17 09:55:05.636 5093 7018 D AudioPolicyManagerCustom: getOutputForDevice() returns new direct output 381
05-17 09:55:05.637 5093 7018 D APM_AudioPolicyManager: getOutputForAttrInt returns output 381 selectedDeviceId 3
05-17 09:55:05.637 5093 7018 E MMListParser: getProcessNameByPid bad param
05-17 09:55:05.637 5093 7018 D AAudioServiceEndpointMMAP: open() mMapClient.uid = 1041, pid = 5093 => portHandle = 234
05-17 09:55:05.637 5093 7018 D AAudioServiceEndpointMMAP: open() deviceId = 3, sessionId = -1
05-17 09:55:05.639 5090 5121 D audio_hw_primary: out_create_mmap_buffer
05-17 09:55:05.639 5090 5121 D audio_hw_primary: out_create_mmap_buffer: Opening PCM device card_id(0) device_id(29), channels 2
05-17 09:55:05.641 5090 5121 I audio_hw_primary: mmap_time_offset_micros = 0 for output
05-17 09:55:05.641 5090 5121 D audio_hw_primary: out_create_mmap_buffer: got mmap buffer address 0xe867f000 info->buffer_size_frames -1536
05-17 09:55:05.642 5093 7018 D AAudioServiceEndpointMMAP: open() createMmapBuffer() buffer_size = 1536 fr, burst_size 48 fr, Sharable FD: Yes
05-17 09:55:05.642 5093 7018 D AAudioServiceEndpointMMAP: open() actual rate = 48000, channels = 2, deviceId = 3, capacity = 1536
05-17 09:55:05.642 5093 7018 D AAudioServiceEndpointMMAP: open() format = 0x00000001, frame size = 4, burst size = 48
05-17 09:55:05.642 5093 7018 D AudioStreamInternal_Service: open() original HW burst = 48, minMicros = 2000 => SW burst = 96
05-17 09:55:05.643 12657 12776 D AudioStreamInternal_Client: open() original HW burst = 96, minMicros = 2000 => SW burst = 96
05-17 09:55:05.644 12657 12776 I AAudio : AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#6 ----------------
05-17 09:55:05.647 12657 12776 D AAudio : AAudioStream_requestStart(s#6) called --------------
05-17 09:55:05.648 5090 5121 D audio_hw_primary: start_output_stream: enter: stream(0xe4565000)usecase(13: mmap-playback) devices(0x2) is_haptic_usecase(0)
05-17 09:55:05.649 5090 5121 D audio_hw_primary: select_devices for use case (mmap-playback)
05-17 09:55:05.649 5090 5121 D OPPO_AUDIO_SCENCE: oppo_output_snd_device_common: mode=0, source=0
05-17 09:55:05.649 5090 5121 D OPPO_AUDIO_SCENCE: oppo_output_snd_device_common: out->scence 0
05-17 09:55:05.649 5090 5121 D msm8974_platform: platform_get_output_snd_device: using dummy device
05-17 09:55:05.649 5090 5121 E msm8974_platform: platform_get_snd_device_backend_index: no interface matching name AFE_PCM_RX
05-17 09:55:05.649 5090 5121 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 13 device (dummy)
05-17 09:55:05.649 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(1) new_snd_devices(0)
05-17 09:55:05.649 5090 5121 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 124
05-17 09:55:05.649 5090 5121 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 13 device (dummy)
05-17 09:55:05.649 5090 5121 D msm8974_platform: platform_check_codec_backend_cfg:napb: (0) - (low-latency-playback)id (1) sr 48000 bw (16) ch (2) device speaker
05-17 09:55:05.651 5090 5121 D audio_hw_extn: audio_extn_enable_hifi_filter: mixer_value set 0
05-17 09:55:05.651 5090 5121 D msm8974_platform: platform_check_codec_backend_cfg:becf: updated afe: bitwidth 16, samplerate 48000 channels 2,backend_idx 0 usecase = 13 device (dummy)
05-17 09:55:05.651 5090 5121 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
05-17 09:55:05.651 5090 5121 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
05-17 09:55:05.651 5090 5121 D audio_hw_primary: check_usecases_codec_backend:becf: (77) check_usecases curr device: dummy, usecase device:speaker backends match 0
05-17 09:55:05.651 5090 5121 E msm8974_platform: platform_check_backends_match: Invalid snd_device = 
05-17 09:55:05.651 5090 5121 D audio_hw_primary: check_usecases_codec_backend:becf: (77) check_usecases curr device: dummy, usecase device: backends match 0
05-17 09:55:05.651 5090 5121 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
05-17 09:55:05.651 5090 5121 D hardware_info: hw_info_append_hw_type : device_name = dummy
05-17 09:55:05.651 5090 5121 D dummy_snd_dev: oppo_start_dummy_dev: enter
05-17 09:55:05.651 5090 5121 V dummy_snd_dev: oppo_start_dummy_dev: using snd card 0, device 6
05-17 09:55:05.654 5090 5121 D dummy_snd_dev: oppo_start_dummy_dev: exit
05-17 09:55:05.654 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(0) new_snd_devices(0)
05-17 09:55:05.654 5090 5121 D audio_hw_primary: enable_snd_device: snd_device(124: dummy)
05-17 09:55:05.654 5090 5121 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x7c of type 0 for Event 1, with Raise=0
05-17 09:55:05.654 5090 5121 D audio_route: Apply path: dummy
05-17 09:55:05.654 5090 5121 I audio_hw_utils: audio_extn_utils_update_stream_output_app_type_cfg Allowing 24 and above bits playback on speaker ONLY at default sampling rate
05-17 09:55:05.655 5090 5121 E soundtrigger: audio_extn_sound_trigger_update_stream_status: invalid input device 0x0, for event 3
05-17 09:55:05.655 5090 5121 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 13 of type 0 for Event 3, with Raise=0
05-17 09:55:05.655 5090 5121 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->out_snd_device dummy
05-17 09:55:05.655 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(0) new_snd_devices(0)
05-17 09:55:05.655 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(1) new_snd_devices(0)
05-17 09:55:05.655 5090 5121 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 15, path = 0, app id = 0x11131, sample rate = 48000, afe_sample_rate = 48000
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> send_asm_topology
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> send_adm_topology
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> send_audtable
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL cal_type[11] acdb_id[15] app_type[69937]
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_PERSISTENT_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
05-17 09:55:05.655 5090 5121 D : ACDBFILE_MGR: Property for the pid 000133B7 not found
05-17 09:55:05.655 5090 5121 D : [Data Manager] -> Failed to fetch the property info for pid 000133B7 
05-17 09:55:05.655 5090 5121 D : [Data Manager]-> No data found
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: Error: ACDB_CMD_GET_PERSISTENT_AUDPROC_INSTANCE_COMMON_TABLE_SIZE returned -18
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> send_audproc_persist_table -18 
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: Error: Invalid Audproc persist size = -18
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> send_audvoltable
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE_SIZE
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_GAIN_DEP_STEP_TABLE, vol index 0
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> AUDIO_SET_VOL_CAL cal type = 12
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE_SIZE
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> send_audstrmtable
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 20
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> send_afe_topology
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 15, Topology Id 1000e800
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> send_afe_cal
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE_SIZE
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE
05-17 09:55:05.655 5090 5121 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL cal_type[16] acdb_id[15]
05-17 09:55:05.656 5090 5121 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 15 path = 0
05-17 09:55:05.656 5090 5121 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
05-17 09:55:05.656 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(0) new_snd_devices(0)
05-17 09:55:05.656 5090 5121 I msm8974_platform: platform_get_custom_mtmx_params: no matching param with id 0 ip_ch 2 op_ch 2 uc_id 13 snd_dev 124
05-17 09:55:05.656 5090 5121 D audio_hw_primary: enable_audio_route: apply mixer and update path: mmap-playback dummy
05-17 09:55:05.656 5090 5121 E audio_route: unable to find path 'mmap-playback dummy'
05-17 09:55:05.656 5090 5121 D audio_hw_primary: select_devices: done
05-17 09:55:05.656 5090 5121 D audio_hw_primary: start_output_stream: Starting MMAP stream
05-17 09:55:05.656 5090 5121 E audio_hw_primary: start_output_stream: MMAP pcm_start failed ret -1
05-17 09:55:05.657 5090 5121 D audio_hw_primary: disable_audio_route: reset and update mixer path: mmap-playback dummy
05-17 09:55:05.657 5090 5121 E audio_route: unable to find path 'mmap-playback dummy'
05-17 09:55:05.657 5090 5121 E soundtrigger: audio_extn_sound_trigger_update_stream_status: invalid input device 0x0, for event 2
05-17 09:55:05.657 5090 5121 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 13 of type 0 for Event 2, with Raise=0
05-17 09:55:05.657 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(0) new_snd_devices(0)
05-17 09:55:05.657 5090 5121 I msm8974_platform: platform_get_custom_mtmx_params: no matching param with id 0 ip_ch 2 op_ch 2 uc_id 13 snd_dev 124
05-17 09:55:05.659 5090 5121 D hardware_info: hw_info_append_hw_type : device_name = dummy
05-17 09:55:05.659 5090 5121 D dummy_snd_dev: oppo_stop_dummy_dev: enter
05-17 09:55:05.661 5090 5121 D dummy_snd_dev: oppo_stop_dummy_dev: exit
05-17 09:55:05.661 5090 5121 D audio_hw_primary: disable_snd_device: snd_device(124: dummy)
05-17 09:55:05.661 5090 5121 D msm8974_platform: platform_split_snd_device: snd_device(124) num devices(0) new_snd_devices(0)
05-17 09:55:05.661 5090 5121 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x7c of type 0 for Event 0, with Raise=0
05-17 09:55:05.661 5090 5121 D audio_hw_primary: check_need_set_pa_voltage_default, 3640, usecase->devices = 0x2, usecase->out_snd_device = 2
05-17 09:55:05.661 5090 5121 D audio_hw_primary: set_pa_voltage, 3657, voltage = 0
05-17 09:55:05.664 5090 5121 D audio_hw_primary: set_pa_voltage, 3689, voltage = 0, adev->pa_voltage_changed = 0
05-17 09:55:05.715 5090 5121 W StreamHAL: Error from HAL stream in function start: Operation not permitted
05-17 09:55:05.715 5093 7018 E AudioFlinger: exitStandby: error mHalStream->start() = -61 for first track
05-17 09:55:05.716 12657 12776 D AAudio : AAudioStream_requestStart(s#6) returned -889 ---------
05-17 09:55:05.718 12657 12776 D AAudio : AAudioStream_requestStop(s#6) called
05-17 09:55:05.718 12657 12776 D : PlayerBase::stop() from IPlayer
05-17 09:55:05.719 12657 12776 D AAudio : AAudioStream_close(s#6) called ---------------
05-17 09:55:05.720 5093 5287 D APM_AudioPolicyManager: releaseOutput removeAudioScences session(1177)
05-17 09:55:05.730 5090 5121 D audio_hw_primary: out_set_parameters: enter: usecase(13: mmap-playback) kvpairs: closing=true
05-17 09:55:05.733 5093 5287 D AudioFlinger: closing mmapThread 0x70ca0fc000
05-17 09:55:05.735 5093 5287 D AudioFlinger: mmapThread exit()
05-17 09:55:05.737 5090 5121 D audio_hw_primary: adev_close_output_stream: enter:stream_handle(mmap-playback)
05-17 09:55:05.737 5090 5121 D OPPO_AUDIO_SCENCE: output_reset_scence:reset output scence
05-17 09:55:05.737 5090 5121 D audio_hw_primary: out_standby: enter: stream (0xe4565000) usecase(13: mmap-playback)
05-17 09:55:05.744 5090 5121 D audio_hw_primary: out_standby: exit
05-17 09:55:05.820 5093 7018 D : PlayerBase::~PlayerBase()
05-17 09:55:05.821 12657 12776 D AAudio : AAudioStream_close(s#6) returned 0 ---------
05-17 09:55:05.835 12657 12776 E Unity : SystemNotInitializedException: [FMOD] Initialization failed : Studio::System::initialize : ERR_INTERNAL : An error occurred that wasn't supposed to. Contact support.
05-17 09:55:05.835 12657 12776 E Unity : at FMODUnity.RuntimeManager.CheckInitResult (FMOD.RESULT result, System.String cause) [0x00000] in <00000000000000000000000000000000>:0 
05-17 09:55:05.835 12657 12776 E Unity :  
05-17 09:55:05.835 12657 12776 E Unity : (Filename: currently not available on il2cpp Line: -1)
05-17 09:55:05.835 12657 12776 E Unity :

```

---

<div class="post-metadata">

**Author:** ![tristanjl](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tristanjl/32/261_2.png) [@tristanjl](https://qa.fmod.com/u/tristanjl)\
**Post date:** [May 18, 2021, 5:04am UTC](https://qa.fmod.com/t/when-the-media-volume-of-some-mobile-devices-is-set-to-0-it-reports-failure-when-fmod-is-initialized/17210/7 "2021-05-18T05:04:57Z")

</div>

Looking through the log, it seems to indicate that the audio device isn’t available.

The best way to work around this may to be to detect an increase in volume and call [System::setOutput](https://www.fmod.com/resources/documentation-api?version=2.1&page=core-api-system.html#system_setoutput) to AAudio to reinitialize the audio system when the volume is increased.

---

<div class="post-metadata">

**Author:** ![tristanjl](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tristanjl/32/261_2.png) [@tristanjl](https://qa.fmod.com/u/tristanjl)\
**Post date:** [May 26, 2021, 5:05am UTC](https://qa.fmod.com/t/when-the-media-volume-of-some-mobile-devices-is-set-to-0-it-reports-failure-when-fmod-is-initialized/17210/8 "2021-05-26T05:05:38Z")

</div>

Following up - did this solve your issue or is there something we can help with further?
