Hi Donal,

I also work with iMX8M-Mini. I've added another sound codec. Required 
sampling rate is 48000 instead of default 44100. I have similar errors.
Have you found solutions for proper sampling rate configuration?

Thanks

On Monday, November 25, 2019 at 4:25:10 AM UTC+2, Donal Morrissey wrote:
>
> Hi There,
> We are getting the following error on our iMX8M-Mini based platform when 
> we try to change the volume controls in the Android Settings app:
>
> 11-20 17:19:21.553  2650  2650 W APM_AudioPolicyManager: 
> getOutputForDevice() could not find output for stream 1, sampling rate 
> 48000, format 0x1, channels 0x3, flags 0x4
> 11-20 17:19:21.553  2650  2650 E AudioFlinger: createTrack() 
> getOutputForAttr() return error -38 or invalid output handle
> 11-20 17:19:21.553  2790  2890 E IAudioFlinger: createTrack returned error 
> -38
> 11-20 17:19:21.553  2790  2890 E AudioTrack: AudioFlinger could not create 
> track, status: -38 output 1395807600
> 11-20 17:19:21.554  2790  2890 E SoundPool: Error creating AudioTrack
> 11-20 17:19:21.554  2790  2890 D AudioTrack: no metrics gathered, track 
> status=-38
>
> We're also not getting any sound from the speaker. Any suggestions as to 
> what could be the cause of the problem? Is it that we haven't configured 
> the security policies? Perhaps the *Audio Hal Implementation* hasn't been 
> configured properly?
>
> Best regards,
> Donal
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-porting/7c235f04-8204-435d-b5b1-fcbefdaa2962%40googlegroups.com.

Reply via email to