259{
260 std::vector<std::string> paths;
261 bool in_search_paths = false;
262
263 std::istringstream
stream(output);
265
266 while (std::getline(
stream, line)) {
267 if (
line.find(
"#include <...> search starts here:") != std::string::npos) {
268 in_search_paths = true;
269 continue;
270 }
271 if (
line.find(
"End of search list.") != std::string::npos) {
272 break;
273 }
274 if (in_search_paths) {
275 auto start =
line.find_first_not_of(
" \t");
276 if (start != std::string::npos) {
277 auto end =
line.find_last_not_of(
" \t");
278 std::string path =
line.substr(start, end - start + 1);
279 if (!path.empty()) {
280 paths.push_back(path);
281 }
282 }
283 }
284 }
285 return paths;
286}
Core::GlobalStreamInfo stream
Vruta::SoundRoutine line(float start_value, float end_value, float duration_seconds, uint32_t step_duration, bool restartable)
Creates a continuous interpolation generator between two values over time.