| 496 | } |
| 497 | |
| 498 | void Restyle(int start, int end, AudioRenderingStyle style) |
| 499 | { |
| 500 | assert(points.lower_bound(end) != points.end()); |
| 501 | for (auto pt = points.lower_bound(start); pt->first < end; ++pt) |
| 502 | { |
| 503 | if (style > pt->second) |
| 504 | pt->second = style; |
| 505 | } |
| 506 | } |
| 507 | |
| 508 | public: |
| 509 | AudioStyleRangeMerger() |