MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cpp-samples / ParseResult

Class ParseResult

speech/api/parse_arguments.h:23–26  ·  view source on GitHub ↗

Parse the command line arguments, and set the config options accordingly. Returns: The audio file path, or nullptr if an error occurred.

Source from the content-addressed store, hash-verified

21// Returns:
22// The audio file path, or nullptr if an error occurred.
23struct ParseResult {
24 google::cloud::speech::v1::RecognitionConfig config;
25 std::string path;
26};
27
28ParseResult ParseArguments(int argc, char* argv[]);
29

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected