For the FLAC playback bug, try adding this following line in /system/etc/media_codecs.xml, inside the <MediaCodecs> tag:
<Include href="media_codecs_ffmpeg.xml" />
Just like this commit:
https://github.com/CyanogenMod/andr...mmit/e6d453cddd3637e3dbfd85be402a600d5754df80
I was using an Android One prior to this phone, and flac playback didn't work on CM13 milestone 1. It's now fixed though by adding this line. So it's worth a try. If it breaks the whole media playback, just delete that line again.
That line will refer the ffmpeg codec for playing flac, the media_codec_ffmpeg.xml is in the source so it should be fine:
https://github.com/CyanogenMod/andr...ins/blob/cm-12.1/data/media_codecs_ffmpeg.xml
By the way, @nehz, can you share your device tree and vendor tree? I'd like to have a peek in it.
EDIT: Nevermind nehz, I found your github.
<Include href="media_codecs_ffmpeg.xml" />
Just like this commit:
https://github.com/CyanogenMod/andr...mmit/e6d453cddd3637e3dbfd85be402a600d5754df80
I was using an Android One prior to this phone, and flac playback didn't work on CM13 milestone 1. It's now fixed though by adding this line. So it's worth a try. If it breaks the whole media playback, just delete that line again.
That line will refer the ffmpeg codec for playing flac, the media_codec_ffmpeg.xml is in the source so it should be fine:
https://github.com/CyanogenMod/andr...ins/blob/cm-12.1/data/media_codecs_ffmpeg.xml
By the way, @nehz, can you share your device tree and vendor tree? I'd like to have a peek in it.
EDIT: Nevermind nehz, I found your github.
Last edited: