Searched refs:srcStream (Results 1 – 4 of 4) sorted by relevance
43 std::ifstream srcStream(srcFile); in copyFile() local44 if (!srcStream) { in copyFile()53 dstStream << srcStream.rdbuf(); in copyFile()59 srcStream.close(); in copyFile()
1587 private int rescaleIndex(int index, int srcStream, int dstStream) { in rescaleIndex() argument1589 mStreamStates[srcStream].getMaxIndex() - mStreamStates[srcStream].getMinIndex(); in rescaleIndex()1599 + ((index - mStreamStates[srcStream].getMinIndex()) * dstRange + srcRange / 2) in rescaleIndex()4809 public void setAllIndexes(VolumeStreamState srcStream, String caller) { in setAllIndexes() argument4810 if (mStreamType == srcStream.mStreamType) { in setAllIndexes()4813 int srcStreamType = srcStream.getStreamType(); in setAllIndexes()4816 int index = srcStream.getIndex(AudioSystem.DEVICE_OUT_DEFAULT); in setAllIndexes()4822 SparseIntArray srcMap = srcStream.mIndexMap; in setAllIndexes()
798 audio_stream_type_t srcStream);
901 audio_stream_type_t srcStream) in getAudioAttributes() argument913 if (srcStream < AUDIO_STREAM_MIN || srcStream >= AUDIO_STREAM_PUBLIC_CNT) { in getAudioAttributes()917 *dstAttr = mEngine->getAttributesForStreamType(srcStream); in getAudioAttributes()