There was posts about the problem. Just another one. Player connected through HDMI to AVR. All settings - passtrough (HDMI - RAW, HBR Output - RAW 7.1)
Flac file with correct playing (source 88.2kHz, AVR shows 88.2kHz, volume can not be changed from pult):
cat /proc/hisi/hiplayer*/fileinfo
************************Hisilicon HiPlayer00 Media File Info Begin*******************
Stream type: ES
Source type: LOCAL
File size: 851889664 bytes
Start time: 0:0:0
Duration: 0:42:1
bps: 2702698 bits/s
Is Divx File:NO
Program 0:
audio 0 info:
stream idx: 0
format: FLAC
samplerate: 88200 Hz
bitpersample: 0
channels: 2
bps: 0 bits/s
lang:
subID: -1
duration: 0:42:1
************************Hisilicon HiPlayer00 Media File Info End*********************
cat /proc/msp/sound*
------------------------------------------- SOUND[0] Status ----------------------------------------------------
SampleRate :48000
SPDIF Status :UserSetMode(RAW) DataFormat(PCM)
HDMI Status :UserSetMode(RAW) DataFormat(2.0PCM)
--------------------------------------------- OutPort Status ---------------------------------------------
DAC0: Status(start), Mute(off), Vol(42), TrackMode(STEREO), AefBypass(off)
SampleRate(048000), Channel(02), BitWidth(16), *Engine(PCM), *AOP(0x0), *PortID(0x12), ADOutput(off)
DmaCnt(207760), BufEmptyCnt(000014), FiFoEmptyCnt(000012)
SPDIF0: Status(start), Mute(off), Vol(42), TrackMode(STEREO), AefBypass(off)
CategoryCode(General), ScmsMode(CopyDefy), SpdifDelayMs(0ms)
SampleRate(048000), Channel(02), BitWidth(16), *Engine(PCM), *AOP(0x1), *PortID(0x21), ADOutput(off)
DmaCnt(181616), BufEmptyCnt(000013), FiFoEmptyCnt(000011)
HDMI0: Status(start), Mute(off), Vol(42), TrackMode(STEREO), AefBypass(off)
SampleRate(088200), Channel(02), BitWidth(16), *Engine(HDMI RAW), *AOP(0x2), *PortID(0x13), ADOutput(off)
DmaCnt(001255), BufEmptyCnt(000000), FiFoEmptyCnt(000001)
------------------------------------------------ Track Status ----------------------------------------------
Track(0): Type(master), Status(start), Weight(100/100), ChannelMode(STEREO), Mute(off), StartThresHold(050ms)
SpeedRate(00), AddMuteFrames(0000), SendCnt(Try/OK)(036098/011111), PauseResumeMuteNum(0000)
*AIP(0): Engine(PCM), SampleRate(088200), Channel(02), BitWidth(16), DataFormat(PCM), Priority(low), FifoBypass(off)
EmptyCnt(000000), EmptyWarningCnt(000000), Latency/Threshold(345ms/400ms)
*AIP(2): Engine(HDMI RAW), SampleRate(088200), Channel(02), BitWidth(16), DataFormat(2.0PCM), Priority(low), FifoBypass(off)
EmptyCnt(000000), EmptyWarningCnt(000000), Latency/Threshold(391ms/400ms)
-----------------
Flac file with incorrect playing (source 44.1kHz, AVR shows 48kHz, volume can be changed from pult):
cat /proc/hisi/hiplayer*/fileinfo
************************Hisilicon HiPlayer00 Media File Info Begin*******************
Stream type: ES
Source type: LOCAL
File size: 319080148 bytes
Start time: 0:0:0
Duration: 0:51:18
bps: 829116 bits/s
Is Divx File:NO
Program 0:
audio 0 info:
stream idx: 0
format: FLAC
samplerate: 44100 Hz
bitpersample: 0
channels: 2
bps: 0 bits/s
lang:
subID: -1
duration: 0:51:18
************************Hisilicon HiPlayer00 Media File Info End*********************
cat /proc/msp/sound*
------------------------------------------- SOUND[0] Status ----------------------------------------------------
SampleRate :48000
SPDIF Status :UserSetMode(RAW) DataFormat(PCM)
HDMI Status :UserSetMode(RAW) DataFormat(PCM)
--------------------------------------------- OutPort Status ---------------------------------------------
DAC0: Status(start), Mute(off), Vol(42), TrackMode(STEREO), AefBypass(off)
SampleRate(048000), Channel(02), BitWidth(16), *Engine(PCM), *AOP(0x0), *PortID(0x12), ADOutput(off)
DmaCnt(217798), BufEmptyCnt(000019), FiFoEmptyCnt(000016)
SPDIF0: Status(start), Mute(off), Vol(42), TrackMode(STEREO), AefBypass(off)
CategoryCode(General), ScmsMode(CopyDefy), SpdifDelayMs(0ms)
SampleRate(048000), Channel(02), BitWidth(16), *Engine(PCM), *AOP(0x1), *PortID(0x21), ADOutput(off)
DmaCnt(191654), BufEmptyCnt(000018), FiFoEmptyCnt(000015)
HDMI0: Status(start), Mute(off), Vol(42), TrackMode(STEREO), AefBypass(off)
SampleRate(048000), Channel(02), BitWidth(16), *Engine(PCM), *AOP(0x2), *PortID(0x13), ADOutput(off)
DmaCnt(002749), BufEmptyCnt(000005), FiFoEmptyCnt(000003)
------------------------------------------------ Track Status ----------------------------------------------
Track(0): Type(slave), Status(start), Weight(100/100), ChannelMode(STEREO), Mute(off)
SpeedRate(00), AddMuteFrames(0000), SendCnt(Try/OK)(003621/000762), PauseResumeMuteNum(0000)
*AIP(0): Engine(PCM), SampleRate(044100), Channel(02), BitWidth(16), DataFormat(PCM), Priority(low), FifoBypass(off)
EmptyCnt(000000), EmptyWarningCnt(000000), Latency/Threshold(359ms/400ms)
--------------
1. Settings for HDMI - passtrough. Why player uses *Engine(PCM)?
2. Why player does resampling audio?
@futeko, please send a bug to HiMedia.