audio_format: wildcards allowed in audio_format configuration
An asterisk means that this attribute should not be enforced, and stays whatever it used to be. This way, some configuration values work like masks.
This commit is contained in:
@@ -100,7 +100,8 @@ int main(int argc, char **argv)
|
||||
/* parse the audio format */
|
||||
|
||||
if (argc > 3) {
|
||||
success = audio_format_parse(&audio_format, argv[3], &error);
|
||||
success = audio_format_parse(&audio_format, argv[3],
|
||||
false, &error);
|
||||
if (!success) {
|
||||
g_printerr("Failed to parse audio format: %s\n",
|
||||
error->message);
|
||||
|
Reference in New Issue
Block a user