| 1947 | } |
| 1948 | |
| 1949 | bool matches( |
| 1950 | int64_t acoustic_samples, |
| 1951 | int64_t semantic_samples, |
| 1952 | int64_t frames, |
| 1953 | ggml_backend_t backend, |
| 1954 | int threads) const { |
| 1955 | return acoustic_sample_capacity_ >= acoustic_samples && |
| 1956 | semantic_sample_capacity_ >= semantic_samples && |
| 1957 | frame_capacity_ >= frames && |
| 1958 | backend_ == backend && |
| 1959 | compute_threads_ == std::max(1, threads); |
| 1960 | } |
| 1961 | |
| 1962 | OmniVoiceAudioTokens run(const NormalizedReferenceAudio & audio) { |
| 1963 | const int64_t actual_frames = audio.frames; |
no test coverage detected