No embedded audio on decklink duo 2

Hey!
First of all I want to thank everyone for this great community which helped me to setup my caspar cg config.
Unfortunately I have an issue I can not fix…
My decklink duo 2 does not output any audio from caspar cg.
It works with media express and Caspar CG works with system audio. But both together do not work.
My setup is a Windows PC with i7 8700K, Nvidia Quadro P4000 and the Decklink Duo II (Cut and Fill via external keyer) outputting at 1080p50 into a vision mixer.
Caspar CG Server: 2.2.0
Caspar Client 2.2.0
Does anyone have a clue? Thanks in advance, Tobi

Make sure <embedded-audio> is set in the consumers’ config block:

  <decklink>
    <device>1</device>
    <keyer>external</keyer>
    <key-only>false</key-only>
    <embedded-audio>true</embedded-audio>
    <channel-layout>stereo</channel-layout>
    <buffer-depth>3</buffer-depth>
    <latency>low</latency>
  </decklink>

Thanks, but it already is… Can post my config tomorrow.

Include also your Desktop Video config

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <paths>
    <media-path>media/</media-path>
    <log-path>log/</log-path>
    <data-path>data/</data-path>
    <template-path>template/</template-path>
    <font-path>font/</font-path>
  </paths>
  <lock-clear-phrase>secret</lock-clear-phrase>
  <channels>
    <channel>
      <video-mode>1080p5000</video-mode>
      <consumers>
        <decklink/>
      </consumers>
    </channel>
  </channels>
  <controllers>
    <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>
  </controllers>
  <amcp>
    <media-server>
      <host>localhost</host>
      <port>8000</port>
    </media-server>
  </amcp>
</configuration>

<!--

<log-level> info  [trace|debug|info|warning|error|fatal]</log-level>
<template-hosts>
    <template-host>
        <video-mode />
        <filename />
        <width />
        <height />
    </template-host>
</template-hosts>
<flash>
    <buffer-depth>auto [auto|1..]</buffer-depth>
</flash>
<html>
    <remote-debugging-port>0 [0|1024-65535]</remote-debugging-port>
    <enable-gpu> false [true|false]</enable-gpu>
</html>
<channels>
    <channel>
        <video-mode>1080p5000 [PAL|NTSC|576p2500|720p2398|720p2400|720p2500|720p5000|720p2997|720p5994|720p3000|720p6000|1080p2398|1080p2400|1080i5000|1080i5994|1080i6000|1080p2500|1080p2997|1080p3000|1080p5000|1080p5994|1080p6000|1556p2398|1556p2400|1556p2500|dci1080p2398|dci1080p2400|dci1080p2500|2160p2398|2160p2400|2160p2500|2160p2997|2160p3000|2160p5000|2160p5994|2160p6000|dci2160p2398|dci2160p2400|dci2160p2500] </video-mode>
        <consumers>
            <decklink>
                <device>1</device>
                <embedded-audio>true [true|false]</embedded-audio>
		<channel-layout>stereo</channel-layout>
                <latency>normal [normal|low|default]</latency>
                <keyer>external [external|external_separate_device|internal|default]</keyer>
                <key-only>false [true|false]</key-only>
                <buffer-depth>6 [1..]</buffer-depth>
		<custom-allocator>true</custom-allocator>
            </decklink>
        </consumers>
    </channel>
</channels>
<osc>
  <default-port>6250</default-port>
  <disable-send-to-amcp-clients>false [true|false]</disable-send-to-amcp-clients>
  <predefined-clients>
    <predefined-client>
      <address>127.0.0.1</address>
      <port>5253</port>
    </predefined-client>
  </predefined-clients>
</osc>
-->

Doesn’t look like it is. Try the following config file instead:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <paths>
    <media-path>media/</media-path>
    <log-path>log/</log-path>
    <data-path>data/</data-path>
    <template-path>template/</template-path>
    <font-path>font/</font-path>
  </paths>
  <lock-clear-phrase>secret</lock-clear-phrase>
  <channels>
    <channel>
      <video-mode>1080p5000</video-mode>
      <consumers>
        <decklink>
          <device>1</device>
          <keyer>external</keyer>
          <embedded-audio>true</embedded-audio>
        </decklink>
      </consumers>
    </channel>
  </channels>
  <controllers>
    <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>
  </controllers>
  <amcp>
    <media-server>
      <host>localhost</host>
      <port>8000</port>
    </media-server>
  </amcp>
</configuration>

<!--

<log-level> info  [trace|debug|info|warning|error|fatal]</log-level>
<template-hosts>
    <template-host>
        <video-mode />
        <filename />
        <width />
        <height />
    </template-host>
</template-hosts>
<flash>
    <buffer-depth>auto [auto|1..]</buffer-depth>
</flash>
<html>
    <remote-debugging-port>0 [0|1024-65535]</remote-debugging-port>
    <enable-gpu> false [true|false]</enable-gpu>
</html>
<channels>
    <channel>
        <video-mode>1080p5000 [PAL|NTSC|576p2500|720p2398|720p2400|720p2500|720p5000|720p2997|720p5994|720p3000|720p6000|1080p2398|1080p2400|1080i5000|1080i5994|1080i6000|1080p2500|1080p2997|1080p3000|1080p5000|1080p5994|1080p6000|1556p2398|1556p2400|1556p2500|dci1080p2398|dci1080p2400|dci1080p2500|2160p2398|2160p2400|2160p2500|2160p2997|2160p3000|2160p5000|2160p5994|2160p6000|dci2160p2398|dci2160p2400|dci2160p2500] </video-mode>
        <consumers>
            <decklink>
                <device>1</device>
                <embedded-audio>true [true|false]</embedded-audio>
		<channel-layout>stereo</channel-layout>
                <latency>normal [normal|low|default]</latency>
                <keyer>external [external|external_separate_device|internal|default]</keyer>
                <key-only>false [true|false]</key-only>
                <buffer-depth>6 [1..]</buffer-depth>
		<custom-allocator>true</custom-allocator>
            </decklink>
        </consumers>
    </channel>
</channels>
<osc>
  <default-port>6250</default-port>
  <disable-send-to-amcp-clients>false [true|false]</disable-send-to-amcp-clients>
  <predefined-clients>
    <predefined-client>
      <address>127.0.0.1</address>
      <port>5253</port>
    </predefined-client>
  </predefined-clients>
</osc>
-->

ah, thought it should be enabled in the decklink consumer only. I give it a try.

Thanks! Just realised the part I thought I enabled it was out-commented…

In your config the embedded audio is NOT set. Everything zha comes after a <!— is considered as a comment and ignored.