corrected libfaad + added test_open back

This commit is contained in:
philippe44
2019-05-27 13:19:11 -07:00
parent ac322454ba
commit 881aead42f
7 changed files with 39 additions and 55 deletions

View File

@@ -386,14 +386,12 @@ void output_init_common(log_level level, const char *device, unsigned output_buf
output.supported_rates[i] = rates[i];
}
}
#ifndef DACAUDIO
else {
if (!test_open(output.device, output.supported_rates, user_rates)) {
LOG_ERROR("unable to open output device: %s", output.device);
exit(0);
}
}
#endif
if (user_rates) {
for (i = 0; i < MAX_SUPPORTED_SAMPLERATES; ++i) {