ao: actually use the options we collect
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ static int init(int argc, char **argv) {
|
||||
fmt.channels = 2;
|
||||
fmt.byte_format = AO_FMT_NATIVE;
|
||||
|
||||
dev = ao_open_live(driver, &fmt, NULL);
|
||||
dev = ao_open_live(driver, &fmt, ao_opts);
|
||||
|
||||
return dev ? 0 : 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user