diff --git a/src/video_capture/decklink.cpp b/src/video_capture/decklink.cpp index d33d0d702..6843bde1d 100644 --- a/src/video_capture/decklink.cpp +++ b/src/video_capture/decklink.cpp @@ -336,16 +336,6 @@ class VideoDelegate : public IDeckLinkInputCallback { return result; } CALL_AND_CHECK(deckLinkInput->EnableVideoInput(mode->GetDisplayMode(), pf, s->enable_flags), "EnableVideoInput"); - if (!device.audio) { //TODO: figure out output from multiple streams - deckLinkInput->DisableAudioInput(); - } else { - deckLinkInput->EnableAudioInput( - bmdAudioSampleRate48kHz, - s->audio.bps == 2 ? bmdAudioSampleType16bitInteger : - bmdAudioSampleType32bitInteger, - max(s->audio.ch_count, 2)); // BMD isn't able to grab single channel - } - //deckLinkInput->SetCallback(s->state[i].delegate); deckLinkInput->FlushStreams(); deckLinkInput->StartStreams(); }