[Xperia Z3 Compact General] camro:
that is horrible ...

it is not only on playing music.

the same is on "incomming call / alarm (wakeup) ... it is going lower and lower .... at the end - can't hear it.

also during incall -> it reduce the loudness extreme - at the end - you can'T use the loudspeaker for meetings, as it is going lower and lower -> at the end -> to low to use it.

the only thing where it can be used is if you use the earspeaker (top loudspeaker) :(

i tried if it is any application -> did a factory reset and tried with new CM12.1 2015-05-03 - same issue :(

that is really a show stopper :(

if i look to logcat ....

it shows me:

1.) i prepare to play music .... (go to settings -> sound -> ring tone -> and select a long sound file ...

see: logcat

D/HeadsetStateMachine( 4195): Disconnected process message: 10, size: 0
D/HeadsetStateMachine( 4195): Disconnected process message: 10, size: 0
D/HeadsetStateMachine( 4195): Disconnected process message: 10, size: 0
D/HeadsetStateMachine( 4195): Disconnected process message: 10, size: 0
E/AudioTrack( 1469): AudioTrack::set : Exit
D/audio_hw_primary( 1024): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
D/NuPlayerDriver( 1024): reset(0xad0cee20)
D/NuPlayerDriver( 1024): notifyResetComplete(0xad0cee20)
D/NuPlayerDriver( 1024): reset(0xad0cee20)
E/MediaPlayer-JNI(24814): QCMediaPlayer mediaplayer NOT present
D/audio_hw_primary( 1024): start_output_stream: enter: stream(0xb5880c40)usecase(1: low-latency-playback) devices(0x2)
D/audio_hw_primary( 1024): start_output_stream: enter: usecase(1: low-latency-playback) devices(0x2)
D/audio_hw_primary( 1024): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
W/msm8974_platform( 1024): Codec backend bitwidth 16, samplerate 48000
D/hardware_info( 1024): hw_info_append_hw_type : device_name = speaker
I/msm8974_platform( 1024): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15)
D/ACDB-LOADER( 1024): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 1024): ACDB -> send_adm_topology
D/ACDB-LOADER( 1024): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
D/ACDB-LOADER( 1024): ACDB -> send_asm_topology
D/ACDB-LOADER( 1024): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
D/ACDB-LOADER( 1024): ACDB -> send_audtable
D/ACDB-LOADER( 1024): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
D/ACDB-LOADER( 1024): ACDB -> AUDIO_SET_AUDPROC_CAL
D/ACDB-LOADER( 1024): ACDB -> send_audvoltable
D/ACDB-LOADER( 1024): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
D/ACDB-LOADER( 1024): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
D/ACDB-LOADER( 1024): ACDB -> send_afe_cal
D/ACDB-LOADER( 1024): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
D/ACDB-LOADER( 1024): ACDB -> AUDIO_SET_AFE_CAL
D/audio_hw_primary( 1024): select_devices: done
I/FFmpegExtractor( 1024): android-source:0xa8cdf290
I/FFMPEG ( 1024): Input #0, ogg, from 'android-source:0xa8cdf290':
I/FFMPEG ( 1024): Duration: 00:00:39.33, start: 0.000000, bitrate: 255 kb/s
I/FFMPEG ( 1024): Stream #0:0: Audio: vorbis, 44100 Hz, stereo, fltp, 256 kb/s
I/FFMPEG ( 1024): Metadata:
I/FFMPEG ( 1024): TITLE : From Sarah With Love
I/FFMPEG ( 1024): ARTIST : Sarah Connor
D/FFmpegExtractor( 1024): FFmpegExtrator, url: android-source:0xa8cdf290, format_name: ogg, format_long_name: Ogg
I/FFmpegExtractor( 1024): adjust mime(application/ogg -> audio/vorbis)
D/FFmpegExtractor( 1024): suppoted codec(vorbis) by official Stagefright
D/FFmpegExtractor( 1024): ffmpeg detected media content as 'audio/vorbis' with confidence 0.08
D/ExtendedUtils( 1024): extended extractor not needed, return default
E/MediaPlayer(24814): Should have subtitle controller already set
D/Ringtone(24814): Successfully created local player
D/NuPlayerDriver( 1024): start(0xad0cee20)
E/MediaPlayer(24814): Should have subtitle controller already set
I/GenericSource( 1024): start
W/Utils ( 1024): bool android::canOffloadStream(const android::sp<android::MetaData>&, bool, const android::sp<android::MetaData>&, bool, audio_stream_type_t) No sample bit depth info in meta data
I/str_params( 1024): key: 'SND_CARD_STATUS' value: ''
I/ExtendedUtils( 1024): No channel mask, try channel count
W/ExtendedUtils( 1024): No bitrate info
I/NuPlayer( 1024): Could not offload audio decode, pcm offload decided :0
W/Utils ( 1024): bool android::canOffloadStream(const android::sp<android::MetaData>&, bool, const android::sp<android::MetaData>&, bool, audio_stream_type_t) No sample bit depth info in meta data
I/str_params( 1024): key: 'SND_CARD_STATUS' value: ''
E/AudioTrack( 1024): AudioTrack::set : Exit
D/audio_hw_primary( 1024): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
W/ActivityManager( 1469): getTasks: caller 10076 does not hold GET_TASKS; limiting output
D/lights.msm8974( 1469): led [solid] = ff00ff00
D/HeadsetStateMachine( 4195): Disconnected process message: 10, size: 0
D/HeadsetStateMachine( 4195): Disconnected process message: 10, size: 0
D/HeadsetStateMachine( 4195): Disconnected process message: 10, size: 0
D/HeadsetStateMachine( 4195): Disconnected process message: 10, size: 0

so, maybe there is something wrong with acdb ?

and if i click the sound again to play (after a while it is loud at beginning, and then again slow down ...

in logcat:

W/msm8974_platform( 1024): Codec backend bitwidth 16, samplerate 48000

I/msm8974_platform( 1024): platform_send_audio_calibration: sending audio calibration for snd_device(4) acdb_id(10)

D/ACDB-LOADER( 1024): ACDB -> send_audio_cal, acdb_id = 10, path = 0

D/ACDB-LOADER( 1024): ACDB -> AUDIO_SET_AUDPROC_CAL

D/ACDB-LOADER( 1024): ACDB -> AUDIO_SET_AUDPROC_VOL_CAL

D/ACDB-LOADER( 1024): ACDB -> AUDIO_SET_AFE_CAL

D/audio_hw_primary( 1024): select_devices: done

D/audio_hw_primary( 1024): out_standby: enter: stream (0xb5880c40) usecase(1: low-latency-playback)

E/AudioTrack( 1469): AudioTrack::set : Exit

D/audio_hw_primary( 1024): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=4

D/audio_hw_primary( 1024): start_output_stream: enter: stream(0xb5880c40)usecase(1: low-latency-playback) devices(0x4)

D/audio_hw_primary( 1024): start_output_stream: enter: usecase(1: low-latency-playback) devices(0x4)

D/audio_hw_primary( 1024): select_devices: out_snd_device(4: headphones) in_snd_device(0: )

maybe that helps developers ?

FYI: i use:

adb logcat | grep -i "audio\|msm" | grep -v lights

it is something related to the "/etc/mixer_paths.xml" ...

there is a strange thing ...

if i upload the old CM12 mixer_paths - the sound (playing songs) will not automatically reduce and it already start on with low loudness.

if i go then to make a call and switching earspaeaker/loud speaker .. then it is adjusting the loudness again.

very strange ...

hmm, don' know much about, but as long as the mandatory sound bugs no solved ....it is not easy to use the cm12.1 :(