|
@@ -1876,10 +1876,8 @@ CaptureVoiceOut *AUD_add_capture(
|
|
struct capture_callback *cb;
|
|
struct capture_callback *cb;
|
|
|
|
|
|
if (!s) {
|
|
if (!s) {
|
|
- if (!legacy_config) {
|
|
|
|
- dolog("Capturing without setting an audiodev is deprecated\n");
|
|
|
|
- }
|
|
|
|
- s = audio_init(NULL, NULL);
|
|
|
|
|
|
+ error_report("Capturing without setting an audiodev is not supported");
|
|
|
|
+ abort();
|
|
}
|
|
}
|
|
|
|
|
|
if (!audio_get_pdo_out(s->dev)->mixing_engine) {
|
|
if (!audio_get_pdo_out(s->dev)->mixing_engine) {
|