| 81 | } |
| 82 | if (remaining != 1) { |
| 83 | throw std::runtime_error("Vevo2 Coco downsample_rate must be a positive power of two"); |
| 84 | } |
| 85 | if (frames <= 0) { |
| 86 | throw std::runtime_error("Vevo2 Coco tokenizer produced non-positive output frame count"); |
| 87 | } |
| 88 | return frames; |
no outgoing calls
no test coverage detected