Static method delegates to free function
| 106 | |
| 107 | // Static method delegates to free function |
| 108 | fl::shared_ptr<IInput> |
| 109 | IInput::create(const Config &config, fl::string *error_message) { |
| 110 | auto input = platform_create_audio_input(config, error_message); |
| 111 | if (input) { |
| 112 | input->setGain(config.getGain()); |
| 113 | } |
| 114 | return input; |
| 115 | } |
| 116 | |
| 117 | } // namespace audio |
| 118 | } // namespace fl |
nothing calls this directly
no test coverage detected