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()
1775 private int getUiDefaultRescaledIndex(int srcStream, int dstStream) { in getUiDefaultRescaledIndex() argument1776 return (rescaleIndex(AudioSystem.DEFAULT_STREAM_VOLUME[srcStream] * 10, in getUiDefaultRescaledIndex()1777 srcStream, dstStream) + 5) / 10; in getUiDefaultRescaledIndex()2334 private int rescaleIndex(int index, int srcStream, int dstStream) { in rescaleIndex() argument2335 int srcRange = getIndexRange(srcStream); in rescaleIndex()2343 + ((index - mStreamStates[srcStream].getMinIndex()) * dstRange + srcRange / 2) in rescaleIndex()2347 private int rescaleStep(int step, int srcStream, int dstStream) { in rescaleStep() argument2348 int srcRange = getIndexRange(srcStream); in rescaleStep()7081 public void setAllIndexes(VolumeStreamState srcStream, String caller) { in setAllIndexes() argument7082 if (mStreamType == srcStream.mStreamType) { in setAllIndexes()[all …]
918 audio_stream_type_t srcStream);
948 audio_stream_type_t srcStream) in getAudioAttributes() argument960 if (srcStream < AUDIO_STREAM_MIN || srcStream >= AUDIO_STREAM_PUBLIC_CNT) { in getAudioAttributes()964 *dstAttr = mEngine->getAttributesForStreamType(srcStream); in getAudioAttributes()