Searched refs:srcStream (Results 1 – 4 of 4) sorted by relevance
44 std::ifstream srcStream(srcFile); in copyFile() local45 if (!srcStream) { in copyFile()54 dstStream << srcStream.rdbuf(); in copyFile()60 srcStream.close(); in copyFile()
1633 private int rescaleIndex(int index, int srcStream, int dstStream) { in rescaleIndex() argument1634 int srcRange = getIndexRange(srcStream); in rescaleIndex()1642 + ((index - mStreamStates[srcStream].getMinIndex()) * dstRange + srcRange / 2) in rescaleIndex()1646 private int rescaleStep(int step, int srcStream, int dstStream) { in rescaleStep() argument1647 int srcRange = getIndexRange(srcStream); in rescaleStep()5135 public void setAllIndexes(VolumeStreamState srcStream, String caller) { in setAllIndexes() argument5136 if (mStreamType == srcStream.mStreamType) { in setAllIndexes()5139 int srcStreamType = srcStream.getStreamType(); in setAllIndexes()5142 int index = srcStream.getIndex(AudioSystem.DEVICE_OUT_DEFAULT); in setAllIndexes()5148 SparseIntArray srcMap = srcStream.mIndexMap; in setAllIndexes()
816 audio_stream_type_t srcStream);
873 audio_stream_type_t srcStream) in getAudioAttributes() argument885 if (srcStream < AUDIO_STREAM_MIN || srcStream >= AUDIO_STREAM_PUBLIC_CNT) { in getAudioAttributes()889 *dstAttr = mEngine->getAttributesForStreamType(srcStream); in getAudioAttributes()