Parse the command line arguments, and set the config options accordingly. Returns: The audio file path, or nullptr if an error occurred.
| 21 | // Returns: |
| 22 | // The audio file path, or nullptr if an error occurred. |
| 23 | struct ParseResult { |
| 24 | google::cloud::speech::v1::RecognitionConfig config; |
| 25 | std::string path; |
| 26 | }; |
| 27 | |
| 28 | ParseResult ParseArguments(int argc, char* argv[]); |
| 29 |
nothing calls this directly
no outgoing calls
no test coverage detected