| 63 | namespace op { |
| 64 | |
| 65 | LoadAudio::LoadAudio( |
| 66 | const std::string& ikey, |
| 67 | const std::string& prefix, |
| 68 | bool info, |
| 69 | bool from_memory, |
| 70 | LoadAudioInfo info_type, |
| 71 | int sample_rate, |
| 72 | LoadAudioResamplingQuality resampling_quality, |
| 73 | const std::string& infokey, |
| 74 | const std::string& okey) |
| 75 | : Op(), |
| 76 | iKey_(ikey), |
| 77 | oKey_(okey), |
| 78 | infoKey_(infokey), |
| 79 | prefix_(prefix), |
| 80 | info_(info), |
| 81 | from_memory_(from_memory), |
| 82 | infoType_(info_type), |
| 83 | sampleRate_(sample_rate), |
| 84 | resamplingQuality_(resampling_quality) {} |
| 85 | |
| 86 | Sample LoadAudio::apply(const Sample& sample) const { |
| 87 | auto src = sample::check_key(sample, iKey_, ArrayType::Any); |
nothing calls this directly
no outgoing calls
no test coverage detected