Home
last modified time | relevance | path

Searched refs:dstCh (Results 1 – 1 of 1) sorted by relevance

/external/aac/libPCMutils/src/
Dpcmutils_lib.cpp854 const unsigned int dstCh, in dmxSetChannel() argument
863 mixFactors[dstCh][ch] = FX_DBL2FX_DMX(fMult(mixFactors[srcCh][ch], factor)); in dmxSetChannel()
864 mixScales[dstCh][ch] = mixScales[srcCh][ch] + scale; in dmxSetChannel()
883 const unsigned int dstCh, in dmxAddChannel() argument
894 if (mixFactors[dstCh][ch] != (FIXP_DMX)0) { in dmxAddChannel()
895 if (newScale > mixScales[dstCh][ch]) { in dmxAddChannel()
896 mixFactors[dstCh][ch] >>= newScale - mixScales[dstCh][ch]; in dmxAddChannel()
898 addFact >>= mixScales[dstCh][ch] - newScale; in dmxAddChannel()
899 newScale = mixScales[dstCh][ch]; in dmxAddChannel()
902 mixFactors[dstCh][ch] += FX_DBL2FX_DMX(addFact); in dmxAddChannel()
[all …]