• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

CamillaDSP Windows 7 SPDIF config help

atomant

Member
Joined
Sep 8, 2024
Messages
64
Likes
8
Hi,

Can someone help with a basic windows 7 config? Do someone has a valid configuration? System is Windows 7, SPDIF only, no analog audio, no HDMI. 6 channels, passthrough to a Logitech Z906 AVR.

What I'm trying to do is
1) to get the samplerates to match. A dead end here?
2) Keep stereo stereo, 2 channels.
3) Get 5.1 material to remain 5.1
4) Apply REW IR filters to FL and FR, BL and BR, C and LFE whenever applicable for 5.1 material; or to FL and FR for stereo material.
5) Optional: get mono audio to output to FL and FR (1 channel to 2).

My config is totally experimental as I cannot even get the samplerates for the capture device and the playback device to match. In windows sound panel, all samplerates are checked for the SPDIF device (41k to 196k).

Main role for this computer: Kodi. So it's expected that Kodi will find the capture device and use it, or use passthrough mode if need be.

listdevices.exe

Code:
Available hosts:
  [Wasapi]
WASAPI
  Default Input Device:
    Ok("Mic 1 (Live! Cam Virtual)")
  Default Output Device:
    Ok("Realtek Digital Output (Realtek High Definition Audio)")
  Devices:


  Device: "CABLE Input (VB-Audio Virtual Cable)"
  ============================================================

    Capture
    ------------------------------------------------------------

    Playback
    ------------------------------------------------------------
    Default output stream config:
      channels: 2, samplerate: 44100, format: FLOAT32LE
    All supported output stream configs:
      channels: 2, samplerate min: 44100 max: 44100, format: FLOAT32LE


  Device: "Line 1 (Live! Cam Virtual)"
  ============================================================

    Capture
    ------------------------------------------------------------

    Playback
    ------------------------------------------------------------
    Default output stream config:
      channels: 2, samplerate: 44100, format: FLOAT32LE
    All supported output stream configs:
      channels: 2, samplerate min: 44100 max: 44100, format: FLOAT32LE


  Device: "Realtek Digital Output (Realtek High Definition Audio)"
  ============================================================

    Capture
    ------------------------------------------------------------

    Playback
    ------------------------------------------------------------
    Default output stream config:
      channels: 6, samplerate: 48000, format: FLOAT32LE
    All supported output stream configs:
      channels: 6, samplerate min: 48000 max: 48000, format: FLOAT32LE


  Device: "CABLE Output (VB-Audio Virtual Cable)"
  ============================================================

    Capture
    ------------------------------------------------------------
    Default input stream config:
      channels: 2, samplerate: 44100, format: FLOAT32LE
    All supported input stream configs:
      channels: 2, samplerate min: 44100 max: 44100, format: FLOAT32LE

    Playback
    ------------------------------------------------------------


  Device: "Mic 1 (Live! Cam Virtual)"
  ============================================================

    Capture
    ------------------------------------------------------------
    Default input stream config:
      channels: 2, samplerate: 44100, format: FLOAT32LE
    All supported input stream configs:
      channels: 2, samplerate min: 44100 max: 44100, format: FLOAT32LE

    Playback
    ------------------------------------------------------------

camilladsp.exe -c test.conf -l debug -o camilla.log

Code:
TEST.CONF
devices:
  samplerate: 44100
  chunksize: 4096
  queuelimit: 4
  enable_rate_adjust: true
  adjust_period: 10.0
  silence_threshold: -80.0
  silence_timeout: 60.0
  target_level: 0

  capture:
    channels: 2
    device: "CABLE Output (VB-Audio Virtual Cable)"
    format: FLOAT32LE
    type: Wasapi

  playback:
    channels: 6
    device: "Realtek Digital Output (Realtek High Definition Audio)"
    format: FLOAT32LE
    type: Wasapi

pipeline:
  - type: Mixer
    description: "Expand to 6 channels"
    name: to6channels
    bypassed: false

mixers:
  to6channels:
    description: "Example mixer to convert two channels to six"
    channels:
      in: 2
      out: 6
    mapping:
      - dest: 0
        mute: false
        sources:
          - channel: 0
            gain: 0
            inverted: false
            scale: dB
      - dest: 1
        mute: false
        sources:
          - channel: 1
            gain: 0
            inverted: false
            scale: dB
      - dest: 2
        sources:
          - channel: 0
            gain: 0
            inverted: false
            scale: dB
      - dest: 3
        sources:
          - channel: 1
            gain: 0
            inverted: false
            scale: dB
      - dest: 4
        sources:
          - channel: 0
            gain: 0
            inverted: false
            scale: dB
      - dest: 5
        sources:
          - channel: 1
            gain: 0
            inverted: false
            scale: dB

filters:
  fir_l_44:
    type: Conv
    parameters:
      type: Wav
      filename: 2_sept_730hz-44k.wav
      channel: 0
  fir_r_44:
    type: Conv
    parameters:
      type: Wav
      filename: 2_sept_730hz-44k.wav
      channel: 1

Code:
CAMILLA.LOG

2024-09-07 17:23:36.313076 INFO  [src/bin.rs:683] CamillaDSP version 2.0.3
2024-09-07 17:23:36.313076 INFO  [src/bin.rs:684] Running on windows, x86_64
2024-09-07 17:23:36.316076 DEBUG [src/bin.rs:728] Loaded state: None
2024-09-07 17:23:36.316076 DEBUG [src/bin.rs:738] Using default initial volume
2024-09-07 17:23:36.316076 DEBUG [src/bin.rs:755] Using default initial mute
2024-09-07 17:23:36.316076 DEBUG [src/bin.rs:765] Initial mute: [false, false, false, false, false]
2024-09-07 17:23:36.316076 DEBUG [src/bin.rs:766] Initial volume: [0.0, 0.0, 0.0, 0.0, 0.0]
2024-09-07 17:23:36.316076 DEBUG [src/bin.rs:768] Read config file Some("tesf.conf")
2024-09-07 17:23:36.317076 DEBUG [src\config.rs:1549] 2_sept_730hz-44k.wav is relative
2024-09-07 17:23:36.317076 DEBUG [src\config.rs:1553] Using 2_sept_730hz-44k.wav found relative to config file dir
2024-09-07 17:23:36.317076 DEBUG [src\config.rs:1549] 2_sept_730hz-44k.wav is relative
2024-09-07 17:23:36.317076 DEBUG [src\config.rs:1553] Using 2_sept_730hz-44k.wav found relative to config file dir
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:808] Config is valid
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:994] Wait for config
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:1010] Waiting to receive a command
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:1013] Config change command received
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:999] New config is available and there are no queued commands, continuing
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:1036] Config ready, start processing
2024-09-07 17:23:36.317076 DEBUG [src/bin.rs:157] Using channels [true, true]
2024-09-07 17:23:36.318076 DEBUG [src\filters.rs:488] Build new pipeline
2024-09-07 17:23:36.318076 DEBUG [src\processing.rs:19] build filters, waiting to start processing loop
2024-09-07 17:23:36.318076 DEBUG [src\wasapidevice.rs:924] Using a capture channel capacity of 33 buffers.
2024-09-07 17:23:36.318076 DEBUG [src\wasapidevice.rs:624] Using a playback channel capacity of 3 chunks.
2024-09-07 17:23:36.331077 DEBUG [src\wasapidevice.rs:213] Available capture devices: Ok(["CABLE Output (VB-Audio Virtual Cable)", "Mic 1 (Live! Cam Virtual)"])
2024-09-07 17:23:36.331077 DEBUG [src\wasapidevice.rs:142] Available playback devices: Ok(["CABLE Input (VB-Audio Virtual Cable)", "Line 1 (Live! Cam Virtual)", "Realtek Digital Output (Realtek High Definition Audio)"])
2024-09-07 17:23:36.333077 DEBUG [C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wasapi-0.13.0\src\api.rs:366] The requested format is supported
2024-09-07 17:23:36.333077 DEBUG [src\wasapidevice.rs:238] Capture device supports format WaveFormat { nAvgBytesPerSec: 352800, cbSize: 22, nBlockAlign: 8, wBitsPerSample: 32, nSamplesPerSec: 44100, wFormatTag: 65534, wValidBitsPerSample: 32, SubFormat: 00000003-0000-0010-8000-00AA00389B71, nChannel: 2, dwChannelMask: 3 }
2024-09-07 17:23:36.333077 DEBUG [src\wasapidevice.rs:256] capture default period 100000, min period 30000
2024-09-07 17:23:36.339077 DEBUG [C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wasapi-0.13.0\src\api.rs:371] The requested format is not supported but a simular one is
2024-09-07 17:23:36.339077 DEBUG [C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wasapi-0.13.0\src\api.rs:375] got the nearest matching format as a WAVEFORMATEXTENSIBLE
2024-09-07 17:23:36.339077 ERROR [src/bin.rs:286] Playback error: Playback error: Playback device doesn't support format:
WaveFormat {
    nAvgBytesPerSec: 1058400,
    cbSize: 22,
    nBlockAlign: 24,
    wBitsPerSample: 32,
    nSamplesPerSec: 44100,
    wFormatTag: 65534,
    wValidBitsPerSample: 32,
    SubFormat: 00000003-0000-0010-8000-00AA00389B71,
    nChannel: 6,
    dwChannelMask: 63,
}
Closest match is:
WaveFormat {
    nAvgBytesPerSec: 1152000,
    cbSize: 22,
    nBlockAlign: 24,
    wBitsPerSample: 32,
    nSamplesPerSec: 48000,
    wFormatTag: 65534,
    wValidBitsPerSample: 32,
    SubFormat: 00000003-0000-0010-8000-00AA00389B71,
    nChannel: 6,
    dwChannelMask: 1551,
}
2024-09-07 17:23:36.339077 DEBUG [src/bin.rs:291] Error while starting, release barrier
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:267] initialized capture
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:271] Opened Wasapi capture device Some("CABLE Output (VB-Audio Virtual Cable)")
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:998] Capture device ready and waiting
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:1004] Capture device starts now!
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:1008] Exit message received, sending EndOfStream
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:1178] Wait for inner capture thread to exit
2024-09-07 17:23:36.340077 DEBUG [src/bin.rs:294] Wait for capture thread to exit..
2024-09-07 17:23:36.340077 DEBUG [src\processing.rs:21] Processing loop starts now!
2024-09-07 17:23:36.340077 INFO  [src\processing.rs:37] Playback thread has already stopped.
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:470] Capture thread raised priority, task index: 41
2024-09-07 17:23:36.340077 DEBUG [src\wasapidevice.rs:480] Stopping inner capture loop on request
2024-09-07 17:23:36.341077 DEBUG [src/bin.rs:1038] Processing ended with status Ok(Restart)
2024-09-07 17:23:36.341077 DEBUG [src/bin.rs:1052] Restarting with new config
2024-09-07 17:23:36.341077 DEBUG [src/bin.rs:994] Wait for config
2024-09-07 17:23:36.341077 DEBUG [src/bin.rs:1004] Wait mode is disabled, there are no queued commands, and no new config. Exiting.
 
Working configuration (updated).

I couldn't find any example over the internet for Windows, so I hope the following will be useful to someone else.

It's a windows 7 system I use mainly for gaming or Kodi 10% of the time. The 90% remaining, the same computer boots Fedora. Dual display: Main computer display and a TV located at 90 degrees each other.

Windows discussed here:

I use CamillaDSP for convolution using REW impulse filter and to remap front speakers depending whether I'm sitting in front of the computer screen or in the home theater seat.

The motherboard audio output is connected via S/PDIF to a Logitech Z906. No RPi, or anything else.

Windows sound:
Virtual audio cable playback and record are set to 16 bits, 48000, 2 channels in Windows sound settings. Changing that results in problems, particularly the channel count e.g. games not starting. S/PDIF is configured for rates from 44100 to 192000 with DTS and AC3 pass-through

VAC control panel:
Virtual audio cable configured via its control panel for rates from 44100 to 96000 and 6 channels max, 8-16 bps.

For music and movies, the MLP is in front of the TV. Speakers are placed in the familiar 5.1 setup.

Code:
devices:
  samplerate: 48000
  chunksize: 2048
  queuelimit: 16
  enable_rate_adjust: true
  adjust_period: 30.0
  silence_threshold: -80.0
  silence_timeout: 60.0
  target_level: 4095

  capture:
    channels: 2
    device: "Line 1 (Virtual Audio Cable)"
    format: FLOAT32LE
    type: Wasapi
    exclusive: false
    loopback: false

  playback:
    channels: 2
    device: "Realtek Digital Output (Realtek High Definition Audio)"
    format: FLOAT32LE
    type: Wasapi
    exclusive: false

  resampler:
    type: AsyncSinc
    profile: VeryFast

pipeline:
  - type: Mixer
    name: stereo
    bypassed: false
  - type: Filter
    channel: 0
    names:
      - fir_l
  - type: Filter
    channel: 1
    names:
      - fir_r
      
mixers:
  stereo:
    description: "Example stereo mixer"
    channels:
      in: 2
      out: 2
    mapping:
      - dest: 0
        mute: false
        sources:
          - channel: 0
            gain: 10
            inverted: false
            scale: dB
      - dest: 1
        mute: false
        sources:
          - channel: 1
            gain: 10
            inverted: false
            scale: dB


filters:
  fir_l:
    type: Conv
    parameters:
      type: Wav
      filename: 2_sept_730hz-$samplerate$.wav
      channel: 0
  fir_r:
    type: Conv
    parameters:
      type: Wav
      filename: 2_sept_730hz-$samplerate$.wav
      channel: 1

For games, the MLP is the computer seat. Because the 90 degrees difference, The front left channel is played on the back left speaker and the front right channel is played on the front left speaker.

Code:
devices:
  samplerate: 48000
  chunksize: 2048
  queuelimit: 16
  enable_rate_adjust: false
  adjust_period: 30.0
  silence_threshold: -80.0
  silence_timeout: 60.0
  target_level: 4095

  capture:
    channels: 2
    device: "Line 1 (Virtual Audio Cable)"
    format: FLOAT32LE
    type: Wasapi
    exclusive: false
    loopback: false

  playback:
    channels: 6
    device: "Realtek Digital Output (Realtek High Definition Audio)"
    format: FLOAT32LE
    type: Wasapi
    exclusive: false

pipeline:
  - type: Mixer
    name: stereo
    bypassed: false
  - type: Filter
    channel: 0
    names:
      - fir_rl
      - delay_L
  - type: Filter
    channel: 1
    names:
      - fir_fl

mixers:
  stereo:
    description: "Left on RL; Right on FL"
    channels:
      in: 2
      out: 6
    mapping:
      - dest: 0
        # FL
        sources:
          - channel: 1
            gain: 15
            inverted: false
            scale: dB
      - dest: 4
        # RL
        sources:
          - channel: 0
            gain: -13
            inverted: false
            scale: dB
      - dest: 3
        # LFE
        sources:
          - channel: 1
            gain: -12
            inverted: false
            scale: dB
          - channel: 0
            gain: -12
            inverted: false
            scale: dB

filters:
  fir_fl:
    type: Conv
    parameters:
      type: Wav
      filename: 2_sept_730hz-$samplerate$.wav
      channel: 0
  fir_fr:
    type: Conv
    parameters:
      type: Wav
      filename: 2_sept_730hz-$samplerate$.wav
      channel: 1
  fir_rl:
    type: Conv
    parameters:
      type: Wav
      filename: 2_sept_730hz_rear-$samplerate$.wav
      channel: 0
  fir_rr:
    type: Conv
    parameters:
      type: Wav
      filename: 2_sept_730hz_rear-$samplerate$.wav
      channel: 1

  delay_L:
    type: Delay
    parameters:
      delay: 6
      unit: ms
      subsample: false

Both config work well for stereo material. Maybe they could be unorthodox, I'm a newbie at this. Therefore if you see something that would better be fixed, please let me know.

Whenever I want to play 5.1 material though, CDSP detects it and turns itself off. So I guess there is nothing to do, unless you know a solution.

Code:
KODI

2024-09-21 13:37:56.283 T:3552     info <general>: Enumerated WASAPI devices:
2024-09-21 13:37:56.283 T:3552     info <general>:     Device 1
2024-09-21 13:37:56.283 T:3552     info <general>:         m_deviceName      : {A6E41BAF-8434-4786-B62C-7D4FFDA9FACE}
2024-09-21 13:37:56.283 T:3552     info <general>:         m_displayName     : LineLevel - Line 1 (Virtual Audio Cable)
2024-09-21 13:37:56.283 T:3552     info <general>:         m_displayNameExtra: WASAPI: Line 1 (Virtual Audio Cable)
2024-09-21 13:37:56.283 T:3552     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-21 13:37:56.283 T:3552     info <general>:         m_channels        : FL, FR
2024-09-21 13:37:56.283 T:3552     info <general>:         m_sampleRates     : 96000,88200,48000,44100
2024-09-21 13:37:56.283 T:3552     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
2024-09-21 13:37:56.283 T:3552     info <general>:         m_streamTypes     : No passthrough capabilities
2024-09-21 13:37:56.283 T:3552     info <general>:     Device 2
2024-09-21 13:37:56.283 T:3552     info <general>:         m_deviceName      : default
2024-09-21 13:37:56.283 T:3552     info <general>:         m_displayName     : default
2024-09-21 13:37:56.283 T:3552     info <general>:         m_displayNameExtra:
2024-09-21 13:37:56.283 T:3552     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-21 13:37:56.283 T:3552     info <general>:         m_channels        : FL, FR
2024-09-21 13:37:56.283 T:3552     info <general>:         m_sampleRates     : 96000,88200,48000,44100
2024-09-21 13:37:56.283 T:3552     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8
2024-09-21 13:37:56.283 T:3552     info <general>:         m_streamTypes     : No passthrough capabilities
2024-09-21 13:37:56.283 T:3552     info <general>:     Device 3
2024-09-21 13:37:56.283 T:3552     info <general>:         m_deviceName      : {D5041F2A-211C-4EBC-83E1-9A4B7E1382A2}
2024-09-21 13:37:56.283 T:3552     info <general>:         m_displayName     : SPDIF - Realtek Digital Output (Realtek High Definition Audio)
2024-09-21 13:37:56.283 T:3552     info <general>:         m_displayNameExtra: WASAPI: Realtek Digital Output (Realtek High Definition Audio)
2024-09-21 13:37:56.283 T:3552     info <general>:         m_deviceType      : AE_DEVTYPE_IEC958
2024-09-21 13:37:56.283 T:3552     info <general>:         m_channels        : FL, FR
2024-09-21 13:37:56.283 T:3552     info <general>:         m_sampleRates     : 192000,96000,48000,44100
2024-09-21 13:37:56.283 T:3552     info <general>:         m_dataFormats     : AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_RAW
2024-09-21 13:37:56.283 T:3552     info <general>:         m_streamTypes     : STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3
2024-09-21 13:37:56.283 T:3508     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-21 13:37:56.330 T:3508     info <general>: CAESinkWASAPI::InitializeExclusive: WASAPI Exclusive Mode Sink Initialized using: AE_FMT_S16NE, 44100, 2
(...)
2024-09-21 13:38:37.251 T:3880     info <general>: VideoPlayer::OpenFile: e:\videos\Pink Floyd Pulse\pulse1.mkv
2024-09-21 13:38:37.253 T:3376     info <general>: Creating InputStream
2024-09-21 13:38:37.322 T:3376     info <general>: Creating Demuxer
2024-09-21 13:38:37.381 T:3376     info <general>: Opening stream: 0 source: 256
2024-09-21 13:38:37.381 T:3376     info <general>: Creating video codec with codec id: 27
2024-09-21 13:38:37.382 T:3376     info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2024-09-21 13:38:37.382 T:3376     info <general>: Creating video thread
2024-09-21 13:38:37.382 T:3468     info <general>: running thread: video_thread
2024-09-21 13:38:37.383 T:3376     info <general>: Opening stream: 1 source: 256
2024-09-21 13:38:37.383 T:3376     info <general>: Finding audio codec for: 86019
2024-09-21 13:38:37.383 T:3376     info <general>: CVideoPlayerAudio::OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-09-21 13:38:37.383 T:3376     info <general>: Creating audio thread
2024-09-21 13:38:37.383 T:3020     info <general>: running thread: CVideoPlayerAudio::Process()
2024-09-21 13:38:37.391 T:3468  warning <general>: DXVA: H264 SD interlaced has issues on AMD graphics hardware. DXVA will not be used.
2024-09-21 13:38:37.392 T:3468     info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2024-09-21 13:38:37.394 T:3020     info <general>: CAEStreamParser::TrySyncAC3 - AC3 stream detected (6 channels, 48000Hz)
2024-09-21 13:38:37.394 T:3020     info <general>: Creating audio stream (codec id: 86019, channels: 6, sample rate: 48000, pass-through)
2024-09-21 13:38:37.491 T:3508     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-21 13:38:37.545 T:3508     info <general>: CAESinkWASAPI::InitializeExclusive: Format is Supported - will attempt to Initialize
2024-09-21 13:38:37.574 T:3508     info <general>: CAESinkWASAPI::InitializeExclusive: WASAPI Exclusive Mode Sink Initialized using: AE_FMT_S16NE, 48000, 2


CamillaDSP

2024-09-21 13:38:36.772379 DEBUG [src\wasapidevice.rs:1119] Measured sample rate is 47709.3 Hz
2024-09-21 13:38:37.556979 DEBUG [src\wasapidevice.rs:304] Disconnected, reason: ExclusiveModeOverride
2024-09-21 13:38:37.792009 DEBUG [src\wasapidevice.rs:1102] Measured sample rate is 48139.6 Hz
2024-09-21 13:38:37.792009 DEBUG [src\wasapidevice.rs:1119] Measured sample rate is 48143.3 Hz
2024-09-21 13:38:38.544604 ERROR [src\wasapidevice.rs:418] Error on playback, stopping stream
2024-09-21 13:38:38.544604 ERROR [src\wasapidevice.rs:783] Playback device channel error: sending on a disconnected channel
2024-09-21 13:38:38.544604 DEBUG [src\wasapidevice.rs:854] Send PlaybackError
2024-09-21 13:38:38.544604 WARN  [src\wasapidevice.rs:819] Inner playback thread already stopped
2024-09-21 13:38:38.544604 ERROR [src/bin.rs:286] Playback error: sending on a disconnected channel
2024-09-21 13:38:38.544604 DEBUG [src/bin.rs:294] Wait for capture thread to exit..
2024-09-21 13:38:38.546105 INFO  [src\processing.rs:29] Playback thread has already stopped.
2024-09-21 13:38:38.564607 INFO  [src\wasapidevice.rs:1164] Processing thread has already stopped.
2024-09-21 13:38:38.564607 DEBUG [src\wasapidevice.rs:1178] Wait for inner capture thread to exit
2024-09-21 13:38:38.572108 DEBUG [src\wasapidevice.rs:480] Stopping inner capture loop on request
2024-09-21 13:38:38.579109 DEBUG [src/bin.rs:1038] Processing ended with status Ok(Restart)
2024-09-21 13:38:38.579109 DEBUG [src/bin.rs:1052] Restarting with new config
2024-09-21 13:38:38.579109 DEBUG [src/bin.rs:994] Wait for config
2024-09-21 13:38:38.580109 DEBUG [src/bin.rs:1004] Wait mode is disabled, there are no queued commands, and no new config. Exiting.

I had a look at that thread https://www.audiosciencereview.com/...lladsp-set-up-instructions-for-newbies.30830/ and It's way too complex for my setup.
 
Whenever I want to play 5.1 material though, CDSP detects it and turns itself off.
IMO the logs describe the cause:

Kodi needs to play the 5.1 AC3, opens the output device to pass the AC3 compressed-audio digital stream. Since the non-PCM stream needs to bypass the audio mixer, it uses the wasapi exclusive mode:
Code:
56.283 T:3552     info <general>:         m_displayName     : SPDIF - Realtek Digital Output (Realtek High Definition Audio)
...
2024-09-21 13:37:56.283 T:3508     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-21 13:37:56.330 T:3508     info <general>: CAESinkWASAPI::InitializeExclusive: WASAPI Exclusive Mode Sink Initialized using: AE_FMT_S16NE, 44100, 2

CDSP is not configured for WASAPI exclusive (which has higher priority over shared, if configured so), the system mixer disconnects from the hw soundcard and gives it to kodi. Since that soundcard is not available in the mixer anymore, the mixer also disconnects all wasapi shared-mode clients who request to output to that card (i.e. CDSP):

Code:
 playback:
    channels: 6
    device: "Realtek Digital Output (Realtek High Definition Audio)"
    format: FLOAT32LE
    type: Wasapi
    exclusive: false

Code:
2024-09-21 13:38:37.556979 DEBUG [src\wasapidevice.rs:304] Disconnected, reason: ExclusiveModeOverride
...
2024-09-21 13:38:38.544604 ERROR [src\wasapidevice.rs:418] Error on playback, stopping stream
2024-09-21 13:38:38.544604 ERROR [src\wasapidevice.rs:783] Playback device channel error: sending on a disconnected channel

One way could be to configure kodi to decode digital formats (AC3, DTS, etc.) and downmix to stereo. That way kodi would always output stereo PCM to the VAC and CDSP would always be in the chain.

A side note: Any reason why CDSP uses shared mode for playback to the Realtek SPDIF Do you want more apps to output to that device along with CDSP? Maybe even exclusive for capture would make sense, most likely you do not want to have more applications reading from VAC at the same time. Maybe even kodi could use exclusive to the VAC, unless you want other applications (e.g. system sounds, browser) to feed audio through CDSP.
 
IMO the logs describe the cause:

Kodi needs to play the 5.1 AC3, opens the output device to pass the AC3 compressed-audio digital stream. Since the non-PCM stream needs to bypass the audio mixer, it uses the wasapi exclusive mode:
Code:
56.283 T:3552     info <general>:         m_displayName     : SPDIF - Realtek Digital Output (Realtek High Definition Audio)
...
2024-09-21 13:37:56.283 T:3508     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-21 13:37:56.330 T:3508     info <general>: CAESinkWASAPI::InitializeExclusive: WASAPI Exclusive Mode Sink Initialized using: AE_FMT_S16NE, 44100, 2
Hi,

Happy to hear from you again. you always have good advice!

That's precisely why I posted the log. Kodi is not happy without wasapi exlusive mode for surround material and IIRC, after many tests over several versions, it reverts to stereo whenever its audio settings are changed. Happy to test again if you have a solution to this. (Also a reason why it doesn't work in 5.1 using alsa/pulse on Fesora 40 and pipewire is required - YMMV, that's the inverse on Ubuntu, and the problem is different on Debian).

CDSP is not configured for WASAPI exclusive (which has higher priority over shared, if configured so), the system mixer disconnects from the hw soundcard and gives it to kodi. Since that soundcard is not available in the mixer anymore, the mixer also disconnects all wasapi shared-mode clients who request to output to that card (i.e. CDSP):

Code:
 playback:
    channels: 6
    device: "Realtek Digital Output (Realtek High Definition Audio)"
    format: FLOAT32LE
    type: Wasapi
    exclusive: false

Code:
2024-09-21 13:38:37.556979 DEBUG [src\wasapidevice.rs:304] Disconnected, reason: ExclusiveModeOverride
...
2024-09-21 13:38:38.544604 ERROR [src\wasapidevice.rs:418] Error on playback, stopping stream
2024-09-21 13:38:38.544604 ERROR [src\wasapidevice.rs:783] Playback device channel error: sending on a disconnected channel
Correct, that is also my understanding.
One way could be to configure kodi to decode digital formats (AC3, DTS, etc.) and downmix to stereo. That way kodi would always output stereo PCM to the VAC and CDSP would always be in the chain.
I need to keep the surround sound for 5.1 material. For stereo, it's already handled by Kodi + CDSP. Unless I misunderstand your point here, in such a case, what would be Kodi proper settings and exclusive mode settings for CDSP as far as 5.1 material is concerned? I'd prefer a lot more pass-through (if there is no alternative) to stereo downmix + CDSP stereo.
A side note: Any reason why CDSP uses shared mode for playback to the Realtek SPDIF Do you want more apps to output to that device along with CDSP? Maybe even exclusive for capture would make sense, most likely you do not want to have more applications reading from VAC at the same time. Maybe even kodi could use exclusive to the VAC, unless you want other applications (e.g. system sounds, browser) to feed audio through CDSP.
I want all apps to use CDSP: games, vlc, kodi, the browsers, music players, etc. I use windows mostly for kodi/gaming. In other words, I might not boot windows for months.

The reason DCSP is not configured for exclusive mode is pretty simple: I made tens of hours of testings, reading and that setting worked perfectly for stereo so I left it alone.
What would you recommend?

And for AC3/DTS encoded 5.1 material (Kodi exlusively)?

BTW, since CDSP+VAC on windows can address each of the 6 channels separately, contrarily to pipewire/easyeffects on linux, which are stereo only, I changed my main config this morning and redesigned my REW IR filters (6) with a crossover frequency of 80Hz and am now applying that to stereo material since if I understand correctly, the Z906 doesn't have properly designed crossovers (they are incredibly boomy naturally) and instead seems to rely on the natural curve of the speakers which result in small 3 inch speakers being fed bass thus introducing distortion. So CDSP now uses 3 channels for stereo: FL, FR, LFE (FL+FR -3dB each). It might be overkill but seems to sound better.

`22_sept_730hz_fc_lfe_win-48000.wav 22_sept_730hz_front_win-48000.wav 22_sept_730hz_rear_win-48000.wav`

Config is available if anyone interested. I'm on Fedora ATM (same computer) and I don't have access to my encrypted Windows drive for the config.

Thanks again for your interest.
 
Kodi is not happy without wasapi exlusive mode for surround materia
IMO it's important to distinguish between surround (i.e. multichannel) PCM and non-audio (non-PCM) content like AC3 or DTS. Non-PCM content requires passthrough, i.e. directly to the soundcard, no resampling/mixing/volume control. IMO it's wasapi exclusive only.

I'd prefer a lot more pass-through (if there is no alternative) to stereo downmix + CDSP stereo.
Then IMO the existing setup is the only available - kodi outputs to VAC -> CDSP-> Realtek for PCM streams and to Realtek directly (exclusive) for non-PCM streams. Fortunately windows offers the exclusive-override setting which allows kodi to take priority over CDSP -> shared mixer. In linux alsa that setting does not exist and a running alsa client cannot be overriden/kicked out by another one.
 
IMO it's important to distinguish between surround (i.e. multichannel) PCM and non-audio (non-PCM) content like AC3 or DTS. Non-PCM content requires passthrough, i.e. directly to the soundcard, no resampling/mixing/volume control. IMO it's wasapi exclusive only.


Then IMO the existing setup is the only available - kodi outputs to VAC -> CDSP-> Realtek for PCM streams and to Realtek directly (exclusive) for non-PCM streams. Fortunately windows offers the exclusive-override setting which allows kodi to take priority over CDSP -> shared mixer. In linux alsa that setting does not exist and a running alsa client cannot be overriden/kicked out by another one.
Thanks, makes sense. That would explain why I've never been able to achieve AC3/DTS without pass-through. That is already my current configuration.

I've not mentioned PCM because I never encounter any unless I create some.

Always DTS/AC3/AAC, and more recent encoding formats like HE-AAC, E-AC3, DTS-HD, Atmos, etc. Kodi is good at downmixing them into 5.1 and Windows 7 can't handle any of them natively.

Even for DTS/AC3 you're lucky if your motherboard is licensed to use both. Mine has only a DTS license. Asrock Fatal1ty FM2A88X+ Killer.

Hence the Z906, a low cost solution for home theater, but very accceptable once the sound corrected. I would not want a $3000 AVR with 50 input sources when only a computer is plugged into it. I don't watch TV either. Not a fan of propaganda / commercials.

Confirmed too for alsa client. Once CDSP is configured to use alsa, I loose completely the 5.1 abilities in Kodi unless I reconfigure alsa and restart pipewire, too messy, nobody would want to that on a regular basis even with a bash script handling the jobs. I.e. before a new kodi video starts playing, most of the time you ignore the number of audio channels, so you could end up with 2 channels instead of 6, or a deafening silence, which already happens occasionally and requires a pipewire and kodi restart.

You obviously worked on some of these projects. Your knowledge is phenomenal.
 
Even for DTS/AC3 you're lucky if your motherboard is licensed to use both. Mine has only a DTS license. Asrock Fatal1ty FM2A88X+ Killer.
These limitations may apply to windows only, for some business reason. Since the passthrough does by principle nothing to the stream, the HW does not care what digital format it is passing through SPDIF.

Since Z906 has multichannel analog inputs, perhaps you could let kodi decode the non-PCM formats to 5.1 PCM, feed everything through mixer switched to 5.1 to let other apps play -> multichannel loopback device -> 6ch CDSP exclusive capture -> 6ch soundcard (e.g. your integrated one) exclusive playback -> 6ch analog to Z906.
 
These limitations may apply to windows only, for some business reason. Since the passthrough does by principle nothing to the stream, the HW does not care what digital format it is passing through SPDIF.
Quite correct. We proved that with a52 + alsa.
Since Z906 has multichannel analog inputs, perhaps you could let kodi decode the non-PCM formats to 5.1 PCM, feed everything through mixer switched to 5.1 to let other apps play -> multichannel loopback device -> 6ch CDSP exclusive capture -> 6ch soundcard (e.g. your integrated one) exclusive playback -> 6ch analog to Z906.
If you mean let the computer decode the audio and feed it trough the 3 analog stereo outputs jacks to the Z906, that was my initial thought when I bought this motherboard.
I bought this motherboard second hand on Ebay. It came with the analog inputs/outputs broken. Not working. Of course the seller didn't tell and I discovered much later when I found no mic was working on this board. I know there is two methods of connecting the outputs jacks to the motherboard I/O connector and I tried both. So I disabled analog in the registry for nothing tries to use them anymore.

Your suggestion is very good though.

Another possibility IMO would be to use the same broken computer audio card analog outputs as a loopback device for CDSP capture, playback Z906 TOSLINK?

Or add another 6 ch analog audio card, I have a spare one, assuming I have also a spare PCI or PCIe free slot available (not sure which type the audio card is, I bought that maybe 10-15 years ago.

The awkward part would be to reconfigure everything in Windows and in Fedora (dual boot computer). Hopefully that would be easier than try to get an nVidia video card to work on both systems.
 
Or add another 6 ch analog audio card, I have a spare one, assuming I have also a spare PCI or PCIe free slot available (not sure which type the audio card is, I bought that maybe 10-15 years ago.
Or any USB multichannel for a few bucks. AC3/DTS are heavily loss-compressed, 48kHz/16bit.
 
That is getting interesting, you've nailed it. Installed an old CMI8738-6ch analog PCI card on Windows 7 I had in stock as spare, got the drivers from https://www.techspot.com/drivers/driver/file/information/14929/ then got to configure via the PCI 3D audio configuration to 6 ch analog 48k.

My IR filters didn't play correctly at 41k so I configured everything to 48k and it sounds better. Just in case, I took a new set of measurements with REW as it is a different audio card. Will compare tomorrow to determine if new filters need to be generated.

Configured the mixer for 2 ch, 16 bits, 48k exclusive; the VAC capture device for 6 ch, 16 bits, 48k exclusive; its other side to 2 ch, 16 bits, 48k exclusive; and the output device also to 6 ch, 16 bits, 48k exclusive.

CDSP would not start in exclusive mode either as capture, playback or both.

Got Kodi to output everything to the VAC in 5.1 analog. No problem with DTS/AC3. No pass through needed, so I disabled it. Kodi initiated exclusive mode again though. Conflicts in perspective if I want to start VLC with Kodi still running: takes several second to get sound. CDSP still running still, no more exit.

Kodi
Code:
2024-09-24 19:25:49.831 T:1540     info <general>: Enumerated WASAPI devices:
2024-09-24 19:25:49.831 T:1540     info <general>:     Device 1
2024-09-24 19:25:49.831 T:1540     info <general>:         m_deviceName      : {29231992-D273-4513-B011-A1B95BC7A751}
2024-09-24 19:25:49.831 T:1540     info <general>:         m_displayName     : Speakers - Speakers (C-Media PCI Audio Device)
2024-09-24 19:25:49.831 T:1540     info <general>:         m_displayNameExtra: WASAPI: Speakers (C-Media PCI Audio Device)
2024-09-24 19:25:49.831 T:1540     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-24 19:25:49.831 T:1540     info <general>:         m_channels        : FL, FR, FC, LFE, SL, SR
2024-09-24 19:25:49.831 T:1540     info <general>:         m_sampleRates     : 48000,44100
2024-09-24 19:25:49.831 T:1540     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
2024-09-24 19:25:49.831 T:1540     info <general>:         m_streamTypes     : No passthrough capabilities
2024-09-24 19:25:49.831 T:1540     info <general>:     Device 2
2024-09-24 19:25:49.831 T:1540     info <general>:         m_deviceName      : {4CF8FD7D-DAA5-4A7A-A121-45547DB37014}
2024-09-24 19:25:49.831 T:1540     info <general>:         m_displayName     : SPDIF - Digital Output (C-Media PCI Audio Device)
2024-09-24 19:25:49.831 T:1540     info <general>:         m_displayNameExtra: WASAPI: Digital Output (C-Media PCI Audio Device)
2024-09-24 19:25:49.831 T:1540     info <general>:         m_deviceType      : AE_DEVTYPE_IEC958
2024-09-24 19:25:49.831 T:1540     info <general>:         m_channels        : FL, FR
2024-09-24 19:25:49.831 T:1540     info <general>:         m_sampleRates     : 48000,44100
2024-09-24 19:25:49.831 T:1540     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_RAW
2024-09-24 19:25:49.831 T:1540     info <general>:         m_streamTypes     : STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3
2024-09-24 19:25:49.831 T:1540     info <general>:     Device 3
2024-09-24 19:25:49.831 T:1540     info <general>:         m_deviceName      : {A6E41BAF-8434-4786-B62C-7D4FFDA9FACE}
2024-09-24 19:25:49.831 T:1540     info <general>:         m_displayName     : LineLevel - Line 1 (Virtual Audio Cable)
2024-09-24 19:25:49.831 T:1540     info <general>:         m_displayNameExtra: WASAPI: Line 1 (Virtual Audio Cable)
2024-09-24 19:25:49.831 T:1540     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-24 19:25:49.831 T:1540     info <general>:         m_channels        : FL, FR
2024-09-24 19:25:49.831 T:1540     info <general>:         m_sampleRates     : 96000,88200,48000,44100
2024-09-24 19:25:49.831 T:1540     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8,AE_FMT_RAW
2024-09-24 19:25:49.831 T:1540     info <general>:         m_streamTypes     : STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3
2024-09-24 19:25:49.831 T:1540     info <general>:     Device 4
2024-09-24 19:25:49.831 T:1540     info <general>:         m_deviceName      : default
2024-09-24 19:25:49.831 T:1540     info <general>:         m_displayName     : default
2024-09-24 19:25:49.831 T:1540     info <general>:         m_displayNameExtra:
2024-09-24 19:25:49.831 T:1540     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-24 19:25:49.831 T:1540     info <general>:         m_channels        : FL, FR
2024-09-24 19:25:49.831 T:1540     info <general>:         m_sampleRates     : 96000,88200,48000,44100
2024-09-24 19:25:49.831 T:1540     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8,AE_FMT_RAW
2024-09-24 19:25:49.832 T:1540     info <general>:         m_streamTypes     : STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3
2024-09-24 19:25:49.832 T:2500     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-24 19:25:49.897 T:2500     info <general>: CAESinkWASAPI::InitializeExclusive: WASAPI Exclusive Mode Sink Initialized using: AE_FMT_S16NE, 44100, 2

CDSP
Code:
devices:
  samplerate: 48000
  #capture_samplerate: 44100
  chunksize: 2048
  queuelimit: 16
  #enable_rate_adjust: true
  adjust_period: 30.0
  silence_threshold: -80.0
  silence_timeout: 60.0
  target_level: 4095

  capture:
    channels: 6
    device: "Line 1 (Virtual Audio Cable)"
    #device: "S/PDIF 1 (Virtual Audio Cable)"
    format: FLOAT32LE
    type: Wasapi
    exclusive: false
    loopback: false

  playback:
    channels: 6
    #device: "Realtek Digital Output (Realtek High Definition Audio)"
    device: "Speakers (C-Media PCI Audio Device)"
    #device: "Digital Output (C-Media PCI Audio Device)"
    format: FLOAT32LE
    type: Wasapi
    exclusive: false

  #resampler:
    #type: AsyncSinc
    #profile: VeryFast

pipeline:
  - type: Mixer
    name: stereo
    bypassed: false
  - type: Filter
    channel: 0
    names:
      - fir_fl
  - type: Filter
    channel: 1
    names:
      - fir_fr
  - type: Filter
    channel: 2
    names:
      - fir_fc
  - type: Filter
    channel: 3
    names:
      - fir_lfe
  - type: Filter
    channel: 4
    names:
      - fir_rl
  - type: Filter
    channel: 5
    names:
      - fir_rr


mixers:
  stereo:
    description: "Left on FL; Right on FR; LFE"
    channels:
      in: 6
      out: 6
    mapping:
      - dest: 0
        #mute: true
        # FL
        sources:
          - channel: 0
            gain: 10
            inverted: false
            scale: dB
      - dest: 1
        #mute: true
        # FR
        sources:
          - channel: 1
            gain: 10
            inverted: false
            scale: dB
      - dest: 2
        #mute: true
        # FC
        sources:
          - channel: 2
            gain: 10
            inverted: false
            scale: dB
      - dest: 3
        #mute: true
        # LFE
        sources:
          - channel: 0
            gain: 10
            inverted: false
            scale: dB
          - channel: 1
            gain: 10
            inverted: false
            scale: dB
          - channel: 3
            gain: 10
            inverted: false
            scale: dB
      - dest: 4
        #mute: true
        # RL
        sources:
          - channel: 4
            gain: 10
            inverted: false
            scale: dB
      - dest: 5
        #mute: true
        # RR
        sources:
          - channel: 5
            gain: 10
            inverted: false
            scale: dB
  mono:
    mapping:
      - dest: 3
        sources:
          - channel: 0
            gain: -12
          - gain: -12
            channel: 1
    channels:
      out: 1
      in: 2

filters:
  fir_fl:
    type: Conv
    parameters:
      type: Wav
      filename: 22_sept_730hz_front_win-$samplerate$.wav
      channel: 0
  fir_fr:
    type: Conv
    parameters:
      type: Wav
      filename: 22_sept_730hz_front_win-$samplerate$.wav
      channel: 1
  fir_rl:
    type: Conv
    parameters:
      type: Wav
      filename: 22_sept_730hz_rear_win-$samplerate$.wav
      channel: 0
  fir_rr:
    type: Conv
    parameters:
      type: Wav
      filename: 22_sept_730hz_rear_win-$samplerate$.wav
      channel: 1
  fir_fc:
    type: Conv
    parameters:
      type: Wav
      filename: 22_sept_730hz_fc_lfe_win-$samplerate$.wav
      channel: 0
  fir_lfe:
    type: Conv
    parameters:
      type: Wav
      filename: 22_sept_730hz_fc_lfe_win-$samplerate$.wav
      channel: 1

Do not worry with the 3 source channels for the LFE (dest: 3). It's experimentation I made at 41k and I was far from satisfied.
 
Configured the mixer for 2 ch, 16 bits, 48k exclusive; the VAC capture device for 6 ch, 16 bits, 48k exclusive; its other side to 2 ch, 16 bits, 48k exclusive; and the output device also to 6 ch, 16 bits, 48k exclusive.
IMO if exclusive mode is used, then the mixer configuration is irrelevant as it configures the shared mode.
CDSP would not start in exclusive mode either as capture, playback or both.
Did you check CDSP debug logs for any hints?
Got Kodi to output everything to the VAC in 5.1 analog. No problem with DTS/AC3. No pass through needed, so I disabled it. Kodi initiated exclusive mode again though
Yeah, IIRC we actually concluded that Kodi is coded to support only exclusive mode in wasapi. Screenshots online suggest kodi supports DirectSound (i.e. equivalent to wasapi shared) too, did you try to use it?
 
IMO if exclusive mode is used, then the mixer configuration is irrelevant as it configures the shared mode.
Interesting, disabled it. So far, no difference with the usual test files/apps.
Did you check CDSP debug logs for any hints?
Yes, same error type as usual for each device I put in exclusive mode. Here I enabled the capture device. You would have exactly the same error if I had enabled playback exclusive. And twice that error for both enabled.

Code:
2024-09-25 10:34:12.085313 ←[38;5;196mERROR←[0m [src\wasapidevice.rs:948] Failed to open capture device, error: Capture device doesn
't support format:
WaveFormat {
    nAvgBytesPerSec: 1152000,
    cbSize: 22,
    nBlockAlign: 24,
    wBitsPerSample: 32,
    nSamplesPerSec: 48000,
    wFormatTag: 65534,
    wValidBitsPerSample: 32,
    SubFormat: 00000003-0000-0010-8000-00AA00389B71,
    nChannel: 6,
    dwChannelMask: 63,
}
Error: 0x88890008
2024-09-25 10:34:12.085313 ←[38;5;196mERROR←[0m [src/bin.rs:307] Capture error: Capture error: Capture device doesn't support format
:
WaveFormat {
    nAvgBytesPerSec: 1152000,
    cbSize: 22,
    nBlockAlign: 24,
    wBitsPerSample: 32,
    nSamplesPerSec: 48000,
    wFormatTag: 65534,
    wValidBitsPerSample: 32,
    SubFormat: 00000003-0000-0010-8000-00AA00389B71,
    nChannel: 6,
    dwChannelMask: 63,
}
Error: 0x88890008
2024-09-25 10:34:12.085313 ←[38;5;27mDEBUG←[0m [src/bin.rs:309] Error while starting, release barrier
2024-09-25 10:34:12.091314 ←[38;5;27mDEBUG←[0m [src\wasapidevice.rs:185] initialized capture
2024-09-25 10:34:12.091314 ←[38;5;27mDEBUG←[0m [src\wasapidevice.rs:188] Opened Wasapi playback device Some("Speakers (C-Media PCI A
udio Device)")
2024-09-25 10:34:12.091314 ←[38;5;27mDEBUG←[0m [src\wasapidevice.rs:708] Playback device ready and waiting
2024-09-25 10:34:12.091314 ←[38;5;27mDEBUG←[0m [src\wasapidevice.rs:710] Playback device starts now!
2024-09-25 10:34:12.091314 ←[38;5;27mDEBUG←[0m [src\processing.rs:21] Processing loop starts now!
2024-09-25 10:34:12.091314 ←[38;5;27mDEBUG←[0m [src/bin.rs:312] Wait for playback thread to exit..
2024-09-25 10:34:12.091814 ←[38;5;27mDEBUG←[0m [src\wasapidevice.rs:815] Wait for inner playback thread to exit
2024-09-25 10:34:13.092941 ←[38;5;27mDEBUG←[0m [src\wasapidevice.rs:323] Waited for data for 1000 ms
2024-09-25 10:34:13.092941 ←[38;5;27mDEBUG←[0m [src\wasapidevice.rs:331] Playback thread raised priority, task index: 16
2024-09-25 10:34:13.093941 ←[38;5;27mDEBUG←[0m [src\wasapidevice.rs:386] Stopping inner playback loop
2024-09-25 10:34:13.102942 ←[38;5;27mDEBUG←[0m [src/bin.rs:1038] Processing ended with status Ok(Restart)

Yeah, IIRC we actually concluded that Kodi is coded to support only exclusive mode in wasapi. Screenshots online suggest kodi supports DirectSound (i.e. equivalent to wasapi shared) too, did you try to use it?
I just did. Surround channels are lost whenever using DS. Probably the reason why Kodi documentation warns against it for surround. Read that 3-4 years ago though.

Side note
If I remember what you've said, to accomplish a similar audio setup on Fedora, I would need to get rid of pipewire, pipewire-pulse, helvum, easyeffects and wireplumber, then configure everything to use alsa. Correct? Well I did that as a test yesterday and all worked as expected but on reboot, only Kodi plays audio, all other apps including browsers are silent. Maybe I've been too aggressive in disabling, masking services (pipewire, pipewire-pulse. easyeffects --user disabled; pipewire-socket, pulse-socket, wireplumber masked system wide). Will definitely test more once I'm done with Windows...
 
Yes, same error type as usual for each device I put in exclusive mode. Here I enabled the capture device. You would have exactly the same error if I had enabled playback exclusive. And twice that error for both enabled.
IMO that format error is to be expected. I very much doubt the digital output of Realtek supports float32 format. Also the same for the capture side - I doubt the loopback device does automatic format conversion and you want it to feed float32 samples. It would mean the other side of the loopback device would have to be receiving also float32, either directly from kodi if exclusive mode or from the windows mixer if shared mode. Very unlikely.

The wasapi shared mode accepts any format as it works similarly to the plug plugin in alsa. But exclusive is equivalent to direct hw:xxx access where only formats supported by the actual hardware are accepted.

I just did. Surround channels are lost whenever using DS. Probably the reason why Kodi documentation warns against it for surround. Read that 3-4 years ago though.
The DS source code does not seem to have any limit to 2 channels only https://github.com/xbmc/xbmc/blob/master/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp Maybe the kodi output to DS uses a different channel layout and the surround channels get lost. IIRC kodi can output quite detailed debug logs, did you check them?

Well I did that as a test yesterday and all worked as expected but on reboot, only Kodi plays audio, all other apps including browsers are silent.
Of course all apps in modern linux distributions are configured to output to PW/PA. If you disable the sound server, none of them will play, only the apps you specifically configure for alsa.
 
IMO that format error is to be expected. I very much doubt the digital output of Realtek supports float32 format. Also the same for the capture side - I doubt the loopback device does automatic format conversion and you want it to feed float32 samples. It would mean the other side of the loopback device would have to be receiving also float32, either directly from kodi if exclusive mode or from the windows mixer if shared mode. Very unlikely.

The wasapi shared mode accepts any format as it works similarly to the plug plugin in alsa. But exclusive is equivalent to direct hw:xxx access where only formats supported by the actual hardware are accepted.


The DS source code does not seem to have any limit to 2 channels only https://github.com/xbmc/xbmc/blob/master/xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp Maybe the kodi output to DS uses a different channel layout and the surround channels get lost. IIRC kodi can output quite detailed debug logs, did you check them?

From Kodi:

Code:
2024-09-25 10:51:16.117 T:5736     info <general>: Enumerated DIRECTSOUND devices:
2024-09-25 10:51:16.117 T:5736     info <general>:     Device 1
2024-09-25 10:51:16.117 T:5736     info <general>:         m_deviceName      : {29231992-D273-4513-B011-A1B95BC7A751}
2024-09-25 10:51:16.117 T:5736     info <general>:         m_displayName     : Speakers - Speakers (C-Media PCI Audio Device)
2024-09-25 10:51:16.117 T:5736     info <general>:         m_displayNameExtra: DIRECTSOUND: Speakers (C-Media PCI Audio Device)
2024-09-25 10:51:16.117 T:5736     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-25 10:51:16.117 T:5736     info <general>:         m_channels        : FL, FR, FC, BL, BR, LFE
2024-09-25 10:51:16.117 T:5736     info <general>:         m_sampleRates     : 48000
2024-09-25 10:51:16.117 T:5736     info <general>:         m_dataFormats     : AE_FMT_FLOAT
2024-09-25 10:51:16.117 T:5736     info <general>:         m_streamTypes     : No passthrough capabilities
2024-09-25 10:51:16.117 T:5736     info <general>:     Device 2
2024-09-25 10:51:16.117 T:5736     info <general>:         m_deviceName      : {4CF8FD7D-DAA5-4A7A-A121-45547DB37014}
2024-09-25 10:51:16.117 T:5736     info <general>:         m_displayName     : SPDIF - Digital Output (C-Media PCI Audio Device)
2024-09-25 10:51:16.117 T:5736     info <general>:         m_displayNameExtra: DIRECTSOUND: Digital Output (C-Media PCI Audio Device)
2024-09-25 10:51:16.117 T:5736     info <general>:         m_deviceType      : AE_DEVTYPE_IEC958
2024-09-25 10:51:16.117 T:5736     info <general>:         m_channels        : FL, FR
2024-09-25 10:51:16.117 T:5736     info <general>:         m_sampleRates     : 44100
2024-09-25 10:51:16.117 T:5736     info <general>:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_RAW
2024-09-25 10:51:16.117 T:5736     info <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
2024-09-25 10:51:16.117 T:5736     info <general>:     Device 3
2024-09-25 10:51:16.117 T:5736     info <general>:         m_deviceName      : {A6E41BAF-8434-4786-B62C-7D4FFDA9FACE}
2024-09-25 10:51:16.117 T:5736     info <general>:         m_displayName     : LineLevel - Line 1 (Virtual Audio Cable)
2024-09-25 10:51:16.117 T:5736     info <general>:         m_displayNameExtra: DIRECTSOUND: Line 1 (Virtual Audio Cable)
2024-09-25 10:51:16.117 T:5736     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-25 10:51:16.117 T:5736     info <general>:         m_channels        : FL, FR
2024-09-25 10:51:16.117 T:5736     info <general>:         m_sampleRates     : 48000
2024-09-25 10:51:16.117 T:5736     info <general>:         m_dataFormats     : AE_FMT_FLOAT
2024-09-25 10:51:16.117 T:5736     info <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
2024-09-25 10:51:16.117 T:5736     info <general>:     Device 4
2024-09-25 10:51:16.117 T:5736     info <general>:         m_deviceName      : default
2024-09-25 10:51:16.117 T:5736     info <general>:         m_displayName     : default
2024-09-25 10:51:16.117 T:5736     info <general>:         m_displayNameExtra:
2024-09-25 10:51:16.117 T:5736     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-25 10:51:16.117 T:5736     info <general>:         m_channels        : FL, FR
2024-09-25 10:51:16.117 T:5736     info <general>:         m_sampleRates     : 48000
2024-09-25 10:51:16.117 T:5736     info <general>:         m_dataFormats     : AE_FMT_FLOAT
2024-09-25 10:51:16.117 T:5736     info <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
2024-09-25 10:51:16.117 T:5736     info <general>: Enumerated WASAPI devices:
2024-09-25 10:51:16.117 T:5736     info <general>:     Device 1
2024-09-25 10:51:16.117 T:5736     info <general>:         m_deviceName      : {29231992-D273-4513-B011-A1B95BC7A751}
2024-09-25 10:51:16.117 T:5736     info <general>:         m_displayName     : Speakers - Speakers (C-Media PCI Audio Device)
2024-09-25 10:51:16.117 T:5736     info <general>:         m_displayNameExtra: WASAPI: Speakers (C-Media PCI Audio Device)
2024-09-25 10:51:16.117 T:5736     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-25 10:51:16.117 T:5736     info <general>:         m_channels        : FL, FR, FC, LFE, SL, SR
2024-09-25 10:51:16.117 T:5736     info <general>:         m_sampleRates     : 48000,44100
2024-09-25 10:51:16.117 T:5736     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
2024-09-25 10:51:16.117 T:5736     info <general>:         m_streamTypes     : No passthrough capabilities
2024-09-25 10:51:16.117 T:5736     info <general>:     Device 2
2024-09-25 10:51:16.117 T:5736     info <general>:         m_deviceName      : {4CF8FD7D-DAA5-4A7A-A121-45547DB37014}
2024-09-25 10:51:16.117 T:5736     info <general>:         m_displayName     : SPDIF - Digital Output (C-Media PCI Audio Device)
2024-09-25 10:51:16.117 T:5736     info <general>:         m_displayNameExtra: WASAPI: Digital Output (C-Media PCI Audio Device)
2024-09-25 10:51:16.117 T:5736     info <general>:         m_deviceType      : AE_DEVTYPE_IEC958
2024-09-25 10:51:16.118 T:5736     info <general>:         m_channels        : FL, FR
2024-09-25 10:51:16.118 T:5736     info <general>:         m_sampleRates     : 48000,44100
2024-09-25 10:51:16.118 T:5736     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_RAW
2024-09-25 10:51:16.118 T:5736     info <general>:         m_streamTypes     : STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3
2024-09-25 10:51:16.118 T:5736     info <general>:     Device 3
2024-09-25 10:51:16.118 T:5736     info <general>:         m_deviceName      : {A6E41BAF-8434-4786-B62C-7D4FFDA9FACE}
2024-09-25 10:51:16.118 T:5736     info <general>:         m_displayName     : LineLevel - Line 1 (Virtual Audio Cable)
2024-09-25 10:51:16.118 T:5736     info <general>:         m_displayNameExtra: WASAPI: Line 1 (Virtual Audio Cable)
2024-09-25 10:51:16.118 T:5736     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-25 10:51:16.118 T:5736     info <general>:         m_channels        : FL, FR
2024-09-25 10:51:16.118 T:5736     info <general>:         m_sampleRates     : 96000,88200,48000,44100
2024-09-25 10:51:16.118 T:5736     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8,AE_FMT_RAW
2024-09-25 10:51:16.118 T:5736     info <general>:         m_streamTypes     : STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3
2024-09-25 10:51:16.118 T:5736     info <general>:     Device 4
2024-09-25 10:51:16.118 T:5736     info <general>:         m_deviceName      : default
2024-09-25 10:51:16.118 T:5736     info <general>:         m_displayName     : default
2024-09-25 10:51:16.118 T:5736     info <general>:         m_displayNameExtra:
2024-09-25 10:51:16.118 T:5736     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-25 10:51:16.118 T:5736     info <general>:         m_channels        : FL, FR
2024-09-25 10:51:16.118 T:5736     info <general>:         m_sampleRates     : 96000,88200,48000,44100
2024-09-25 10:51:16.118 T:5736     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8,AE_FMT_RAW
2024-09-25 10:51:16.118 T:5736     info <general>:         m_streamTypes     : STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3


DS:

2024-09-25 10:51:30.952 T:5684     info <general>: VideoPlayer::OpenFile: e:\videos\tests\ChID-BLITS-EBU.mp4
2024-09-25 10:51:30.953 T:3492     info <general>: Creating InputStream
2024-09-25 10:51:30.965 T:3492     info <general>: Creating Demuxer
2024-09-25 10:51:30.977 T:3492     info <general>: Opening stream: 0 source: 256
2024-09-25 10:51:30.977 T:3492     info <general>: Creating video codec with codec id: 27
2024-09-25 10:51:30.977 T:3492     info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2024-09-25 10:51:30.978 T:3492     info <general>: Creating video thread
2024-09-25 10:51:30.978 T:5280     info <general>: running thread: video_thread
2024-09-25 10:51:30.978 T:3492     info <general>: Opening stream: 1 source: 256
2024-09-25 10:51:30.978 T:3492     info <general>: Finding audio codec for: 86018
2024-09-25 10:51:30.979 T:3492     info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2024-09-25 10:51:30.979 T:3492     info <general>: CVideoPlayerAudio::OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-09-25 10:51:30.979 T:3492     info <general>: Creating audio thread
2024-09-25 10:51:30.981 T:5280  warning <general>: DXVA::CContext::CreateContext: using app d3d11 device for decoding due extended NV12 shared textures it's not supported.
2024-09-25 10:51:30.981 T:5280     info <general>: DXVA::CDecoder::Open: Total video memory available is 4828 MB (dedicated = 988 MB, shared = 3840 MB)
2024-09-25 10:51:30.988 T:5972     info <general>: running thread: CVideoPlayerAudio::Process()
2024-09-25 10:51:30.990 T:5972     info <general>: Creating audio stream (codec id: 86018, channels: 6, sample rate: 44100, no pass-through)
2024-09-25 10:51:31.010 T:3136     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-25 10:51:31.067 T:5684  warning <general>: DXVA::CProcessorHD::InitProcessor: the video driver does not support full video processing capabilities.
2024-09-25 10:51:31.067 T:5684     info <general>: DXVA::CProcessorHD::InitProcessor: supported deinterlace methods: blend:no, bob:yes, adaptive:no, mocomp:no.
2024-09-25 10:51:31.067 T:5684  warning <general>: CRendererHQ::CheckVideoParameters: chosen scaling method 1 is not supported by renderer
2024-09-25 10:51:31.158 T:5684     info <general>: Loading skin file: VideoFullScreen.xml, load type: KEEP_IN_MEMORY
2024-09-25 10:51:31.766 T:5280     info <general>: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 125000
2024-09-25 10:51:41.148 T:5684     info <general>: Loading skin file: VideoOSD.xml, load type: KEEP_IN_MEMORY
2024-09-25 10:51:43.981 T:5684     info <general>: CVideoPlayer::CloseFile()
2024-09-25 10:51:43.983 T:5684     info <general>: VideoPlayer: waiting for threads to exit
2024-09-25 10:51:43.989 T:3492     info <general>: CVideoPlayer::OnExit()
2024-09-25 10:51:43.989 T:3492     info <general>: Closing stream player 1
2024-09-25 10:51:43.989 T:3492     info <general>: Waiting for audio thread to exit
2024-09-25 10:51:44.020 T:5972     info <general>: thread end: CVideoPlayerAudio::OnExit()
2024-09-25 10:51:44.020 T:3492     info <general>: Closing audio device
2024-09-25 10:51:44.035 T:3492     info <general>: Deleting audio codec
2024-09-25 10:51:44.035 T:3492     info <general>: Closing stream player 2
2024-09-25 10:51:44.035 T:3492     info <general>: waiting for video thread to exit
2024-09-25 10:51:44.035 T:3136     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-25 10:51:44.066 T:5280  warning <general>: CVideoPlayerVideo::OutputPicture - timeout waiting for buffer
2024-09-25 10:51:44.066 T:5280     info <general>: thread end: video_thread
2024-09-25 10:51:44.067 T:3492     info <general>: deleting video codec
2024-09-25 10:51:44.084 T:3492     info <general>: DXVA::CDecoder::Close: closing decoder.
2024-09-25 10:51:44.085 T:3492     info <general>: DXVA: closing decoder context.
2024-09-25 10:51:44.086 T:5684     info <general>: VideoPlayer: finished waiting
2024-09-25 10:51:44.086 T:5684     info <general>: CVideoPlayer::CloseFile()


WASAPI:

2024-09-25 10:52:00.991 T:3136     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-25 10:52:01.061 T:3136     info <general>: CAESinkWASAPI::InitializeExclusive: WASAPI Exclusive Mode Sink Initialized using: AE_FMT_S16NE, 44100, 2
2024-09-25 10:52:10.269 T:5684     info <general>: VideoPlayer::OpenFile: e:\videos\tests\ChID-BLITS-EBU.mp4
2024-09-25 10:52:10.270 T:5944     info <general>: Creating InputStream
2024-09-25 10:52:10.287 T:5944     info <general>: Creating Demuxer
2024-09-25 10:52:10.296 T:5944     info <general>: Opening stream: 0 source: 256
2024-09-25 10:52:10.296 T:5944     info <general>: Creating video codec with codec id: 27
2024-09-25 10:52:10.297 T:5944     info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
2024-09-25 10:52:10.297 T:5944     info <general>: Creating video thread
2024-09-25 10:52:10.297 T:5320     info <general>: running thread: video_thread
2024-09-25 10:52:10.297 T:5944     info <general>: Opening stream: 1 source: 256
2024-09-25 10:52:10.297 T:5944     info <general>: Finding audio codec for: 86018
2024-09-25 10:52:10.298 T:5944     info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
2024-09-25 10:52:10.298 T:5944     info <general>: CVideoPlayerAudio::OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-09-25 10:52:10.298 T:5944     info <general>: Creating audio thread
2024-09-25 10:52:10.298 T:5504     info <general>: running thread: CVideoPlayerAudio::Process()
2024-09-25 10:52:10.299 T:5320  warning <general>: DXVA::CContext::CreateContext: using app d3d11 device for decoding due extended NV12 shared textures it's not supported.
2024-09-25 10:52:10.299 T:5320     info <general>: DXVA::CDecoder::Open: Total video memory available is 4828 MB (dedicated = 988 MB, shared = 3840 MB)
2024-09-25 10:52:10.310 T:5504     info <general>: Creating audio stream (codec id: 86018, channels: 6, sample rate: 44100, no pass-through)
2024-09-25 10:52:10.362 T:3136     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-25 10:52:10.384 T:5684  warning <general>: DXVA::CProcessorHD::InitProcessor: the video driver does not support full video processing capabilities.
2024-09-25 10:52:10.384 T:5684     info <general>: DXVA::CProcessorHD::InitProcessor: supported deinterlace methods: blend:no, bob:yes, adaptive:no, mocomp:no.
2024-09-25 10:52:10.384 T:5684  warning <general>: CRendererHQ::CheckVideoParameters: chosen scaling method 1 is not supported by renderer
2024-09-25 10:52:10.478 T:3136     info <general>: CAESinkWASAPI::InitializeExclusive: WASAPI Exclusive Mode Sink Initialized using: AE_FMT_S16NE, 44100, 6
2024-09-25 10:52:11.166 T:5320     info <general>: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 125000
2024-09-25 10:52:24.282 T:5684     info <general>: CVideoPlayer::CloseFile()
2024-09-25 10:52:24.284 T:5684     info <general>: VideoPlayer: waiting for threads to exit
2024-09-25 10:52:24.288 T:5944     info <general>: CVideoPlayer::OnExit()
2024-09-25 10:52:24.288 T:5944     info <general>: Closing stream player 1
2024-09-25 10:52:24.288 T:5944     info <general>: Waiting for audio thread to exit
2024-09-25 10:52:24.333 T:5504     info <general>: thread end: CVideoPlayerAudio::OnExit()
2024-09-25 10:52:24.334 T:5944     info <general>: Closing audio device
2024-09-25 10:52:24.380 T:5944     info <general>: Deleting audio codec
2024-09-25 10:52:24.380 T:3136     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-25 10:52:24.380 T:5944     info <general>: Closing stream player 2
2024-09-25 10:52:24.381 T:5944     info <general>: waiting for video thread to exit
2024-09-25 10:52:24.416 T:5320  warning <general>: CVideoPlayerVideo::OutputPicture - timeout waiting for buffer
2024-09-25 10:52:24.416 T:5320     info <general>: thread end: video_thread
2024-09-25 10:52:24.417 T:5944     info <general>: deleting video codec
2024-09-25 10:52:24.435 T:5944     info <general>: DXVA::CDecoder::Close: closing decoder.
2024-09-25 10:52:24.435 T:5944     info <general>: DXVA: closing decoder context.
2024-09-25 10:52:24.437 T:5684     info <general>: VideoPlayer: finished waiting
2024-09-25 10:52:24.437 T:5684     info <general>: CVideoPlayer::CloseFile()
2024-09-25 10:52:24.437 T:5684     info <general>: VideoPlayer: waiting for threads to exit
2024-09-25 10:52:24.437 T:5684     info <general>: VideoPlayer: finished waiting
2024-09-25 10:52:24.441 T:6092     info <general>: Deleting settings information for files e:\videos\tests\ChID-BLITS-EBU.mp4
2024-09-25 10:52:24.531 T:3136     info <general>: CAESinkWASAPI::InitializeExclusive: WASAPI Exclusive Mode Sink Initialized using: AE_FMT_S16NE, 44100, 2

What do you suggest? I'm puzzled here.
 
IMO first the verbose log for the audio component should be enabled to see what is going on https://kodi.wiki/view/Log_file/Easy#Enable_component-specific_logging
Sure, I don't see any clue though

Code:
2024-09-25 12:43:20.076 T:5676    debug <general>: CAESinkDirectSound::Initialize: Using Window handle: 0x904c4
2024-09-25 12:43:20.078 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 51)
2024-09-25 12:43:20.078 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:20.080 T:5676    debug <general>: CAESinkDirectSound::Initialize: secondary buffer created
2024-09-25 12:43:20.080 T:5676    debug <general>: CAESinkDirectSound::Initialize: Initializing DirectSound with the following parameters:
2024-09-25 12:43:20.081 T:5676    debug <general>:   Audio Device    : Line 1 (Virtual Audio Cable)
2024-09-25 12:43:20.081 T:5676    debug <general>:   Sample Rate     : 44100
2024-09-25 12:43:20.081 T:5676    debug <general>:   Sample Format   : AE_FMT_FLOAT
2024-09-25 12:43:20.081 T:5676    debug <general>:   Bits Per Sample : 32
2024-09-25 12:43:20.081 T:5676    debug <general>:   Valid Bits/Samp : 32
2024-09-25 12:43:20.081 T:5676    debug <general>:   Channel Count   : 2
2024-09-25 12:43:20.081 T:5676    debug <general>:   Block Align     : 8
2024-09-25 12:43:20.081 T:5676    debug <general>:   Avg. Bytes Sec  : 352800
2024-09-25 12:43:20.081 T:5676    debug <general>:   Samples/Block   : 32
2024-09-25 12:43:20.081 T:5676    debug <general>:   Format cBSize   : 22
2024-09-25 12:43:20.081 T:5676    debug <general>:   Channel Layout  : FL, FR
2024-09-25 12:43:20.081 T:5676    debug <general>:   Channel Mask    : 3
2024-09-25 12:43:20.081 T:5676    debug <general>:   Frames          : 661
2024-09-25 12:43:20.081 T:5676    debug <general>:   Frame Size      : 8
2024-09-25 12:43:20.081 T:5676    debug <general>: CActiveAESink::OpenSink - DIRECTSOUND Initialized:
2024-09-25 12:43:20.081 T:5676    debug <general>:   Output Device : LineLevel - Line 1 (Virtual Audio Cable)
2024-09-25 12:43:20.081 T:5676    debug <general>:   Sample Rate   : 44100
2024-09-25 12:43:20.081 T:5676    debug <general>:   Sample Format : AE_FMT_FLOAT
2024-09-25 12:43:20.081 T:5676    debug <general>:   Channel Count : 2
2024-09-25 12:43:20.081 T:5676    debug <general>:   Channel Layout: FL, FR
2024-09-25 12:43:20.081 T:5676    debug <general>:   Frames        : 661
2024-09-25 12:43:20.081 T:5676    debug <general>:   Frame Size    : 8
2024-09-25 12:43:20.082 T:4612    debug <general>: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
2024-09-25 12:43:20.086 T:1604     info <general>: Skipped 1 duplicate messages..
2024-09-25 12:43:20.086 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:20.092 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:20.103 T:5676    debug <general>: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
2024-09-25 12:43:22.095 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 52)
2024-09-25 12:43:22.095 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:22.098 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:22.101 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:22.501 T:4952    debug <general>: CWIN32Util::GetWindowsHDRStatus: Display is not HDR capable or cannot be detected
2024-09-25 12:43:23.105 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 53)
2024-09-25 12:43:23.105 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:23.108 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:23.111 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:24.582 T:4952    debug <general>: Keyboard: scancode: 0x1, sym: 0x1b, unicode: 0x1b, modifier: 0x0
2024-09-25 12:43:24.816 T:4952    debug <general>: Keyboard: scancode: 0x1, sym: 0x1b, unicode: 0x00, modifier: 0x0
2024-09-25 12:43:24.816 T:4952    debug <general>: CInputManager::HandleKey: escape (0xf01b) pressed, window 10016, action is PreviousMenu
2024-09-25 12:43:24.825 T:4952    debug <general>: CGUIWindowManager::PreviousWindow: Deactivate
2024-09-25 12:43:24.826 T:4952    debug <general>: ------ Window Deinit (Pointer.xml) ------
2024-09-25 12:43:25.114 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 54)
2024-09-25 12:43:25.114 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:25.117 T:4952    debug <general>: ------ Window Deinit (SettingsCategory.xml) ------
2024-09-25 12:43:25.117 T:4952    debug <general>: FreeVisualisation() done
2024-09-25 12:43:25.119 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:25.123 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:25.132 T:4952    debug <general>: CGUIWindowManager::PreviousWindow: Activate new
2024-09-25 12:43:25.132 T:4952    debug <general>: ------ Window Init (Settings.xml) ------
2024-09-25 12:43:25.500 T:4952    debug <general>: ------ Window Init (Pointer.xml) ------
2024-09-25 12:43:26.126 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 55)
2024-09-25 12:43:26.126 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:26.129 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:26.133 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:27.137 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 56)
2024-09-25 12:43:27.137 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:27.142 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:27.145 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:27.558 T:4952    debug <general>: Keyboard: scancode: 0x1, sym: 0x1b, unicode: 0x1b, modifier: 0x0
2024-09-25 12:43:27.682 T:4952    debug <general>: Keyboard: scancode: 0x1, sym: 0x1b, unicode: 0x00, modifier: 0x0
2024-09-25 12:43:27.683 T:4952    debug <general>: CInputManager::HandleKey: escape (0xf01b) pressed, window 10004, action is PreviousMenu
2024-09-25 12:43:27.683 T:4952    debug <general>: CGUIWindowManager::PreviousWindow: Deactivate
2024-09-25 12:43:27.684 T:4952    debug <general>: ------ Window Deinit (Pointer.xml) ------
2024-09-25 12:43:28.000 T:4952    debug <general>: ------ Window Deinit (Settings.xml) ------
2024-09-25 12:43:28.000 T:4952    debug <general>: FreeVisualisation() done
2024-09-25 12:43:28.016 T:4952    debug <general>: CGUIWindowManager::PreviousWindow: Activate new
2024-09-25 12:43:28.016 T:4952    debug <general>: ------ Window Init (Home.xml) ------
2024-09-25 12:43:28.149 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 57)
2024-09-25 12:43:28.149 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:28.153 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:28.157 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:28.601 T:4952    debug <general>: ------ Window Init (Pointer.xml) ------
2024-09-25 12:43:28.986 T:2112    debug <general>: Thread JobWorker start, auto delete: true
2024-09-25 12:43:29.027 T:4716     info <general>: Skipped 2 duplicate messages..
2024-09-25 12:43:29.027 T:4716    debug <general>: ffmpeg[0x19917fe0]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2024-09-25 12:43:29.160 T:1604     info <general>: Skipped 2 duplicate messages..
2024-09-25 12:43:29.160 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 58)
2024-09-25 12:43:29.160 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:29.163 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:29.165 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:30.168 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 59)
2024-09-25 12:43:30.169 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:30.173 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:30.177 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:31.181 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 60)
2024-09-25 12:43:31.181 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:31.188 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:31.195 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:32.203 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 61)
2024-09-25 12:43:32.203 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:32.208 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:32.211 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:32.939 T:4952    debug <general>: CInputManager::ProcessMouse: trying mouse action leftclick
2024-09-25 12:43:32.939 T:4952    debug <general>: Activating window ID: 10025
2024-09-25 12:43:33.225 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 62)
2024-09-25 12:43:33.225 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:33.228 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:33.231 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:33.250 T:4952    debug <general>: ------ Window Deinit (Home.xml) ------
2024-09-25 12:43:33.250 T:4952    debug <general>: FreeVisualisation() done
2024-09-25 12:43:33.268 T:4952    debug <general>: ------ Window Init (MyVideoNav.xml) ------
2024-09-25 12:43:33.269 T:4952    debug <general>: CGUIMediaWindow::GetDirectory (e:\videos\tests\)
2024-09-25 12:43:33.269 T:4952    debug <general>:   ParentPath = [e:\videos\tests\]
2024-09-25 12:43:33.275 T:5868    debug <general>: Thread BackgroundLoader start, auto delete: false
2024-09-25 12:43:33.291 T:5868    debug <general>: Thread BackgroundLoader 5868 terminating
2024-09-25 12:43:33.991 T:4952    debug <general>: CInputManager::ProcessMouse: trying mouse action wheeldown
2024-09-25 12:43:33.992 T:4716    debug <general>: ffmpeg[0x19917fe0]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2024-09-25 12:43:34.016 T:4952    debug <general>: CInputManager::ProcessMouse: trying mouse action wheeldown
2024-09-25 12:43:34.017 T:2112    debug <general>: ffmpeg[0x122d8740]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2024-09-25 12:43:34.099 T:4952    debug <general>: CInputManager::ProcessMouse: trying mouse action wheeldown
2024-09-25 12:43:34.101 T:2112    debug <general>: ffmpeg[0x122d8740]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2024-09-25 12:43:34.235 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 63)
2024-09-25 12:43:34.235 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:34.239 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:34.241 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:34.486 T:2112    debug <general>: ffmpeg[0x122d8740]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2024-09-25 12:43:34.518 T:4716    debug <general>: ffmpeg[0x19917fe0]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2024-09-25 12:43:34.668 T:4952    debug <general>: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'flags/videocodec/msmpeg4v3.png'
2024-09-25 12:43:34.668 T:4716    debug <general>: ffmpeg[0x19917fe0]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2024-09-25 12:43:35.245 T:1604    debug <general>: service.watchedlist: watch_user_changes: Check for user changes (no. 64)
2024-09-25 12:43:35.245 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all TV shows from Kodi database
2024-09-25 12:43:35.253 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all movies from Kodi database
2024-09-25 12:43:35.259 T:1604    debug <general>: service.watchedlist: get_watched_xbmc: Get all episodes from Kodi database
2024-09-25 12:43:35.599 T:4952    debug <general>: CInputManager::ProcessMouse: trying mouse action leftclick
2024-09-25 12:43:35.603 T:4952    debug <general>: CGUIWindowVideoBase::OnPlayMedia e:\videos\tests\Dolby Digital AC-3 5.1.mp4
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerCoreFactory::GetPlayers(e:\videos\tests\Dolby Digital AC-3 5.1.mp4)
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerSelectionRule::GetPlayers: considering rule: system rules
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerSelectionRule::GetPlayers: matches rule: system rules
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerSelectionRule::GetPlayers: considering rule: streams
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerSelectionRule::GetPlayers: considering rule: dvd
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerSelectionRule::GetPlayers: considering rule: discimage
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerSelectionRule::GetPlayers: considering rule: nsv
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerSelectionRule::GetPlayers: considering rule: radio
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
2024-09-25 12:43:35.608 T:4952    debug <general>: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (VideoPlayer)
2024-09-25 12:43:35.609 T:4952    debug <general>: CPlayerCoreFactory::GetPlayers: for video=true, audio=false
2024-09-25 12:43:35.609 T:4952    debug <general>: CPlayerCoreFactory::GetPlayers: for video=true, audio=true
2024-09-25 12:43:35.609 T:4952    debug <general>: CPlayerCoreFactory::GetPlayers: added 1 players
2024-09-25 12:43:35.612 T:4952    debug <general>: Radio UECP (RDS) Processor - new CDVDRadioRDSData::CDVDRadioRDSData
2024-09-25 12:43:35.612 T:4952    debug <general>: Audio ID3 tag processor - new CVideoPlayerAudioID3::CVideoPlayerAudioID3
2024-09-25 12:43:35.612 T:4952     info <general>: VideoPlayer::OpenFile: e:\videos\tests\Dolby Digital AC-3 5.1.mp4
2024-09-25 12:43:35.613 T:1108    debug <general>: Thread VideoPlayer start, auto delete: false
2024-09-25 12:43:35.613 T:4952    debug <general>: CApplicationPlayerCallback::OnPlayBackStarted: CApplication::OnPlayBackStarted
2024-09-25 12:43:35.613 T:1108     info <general>: Creating InputStream
2024-09-25 12:43:35.622 T:1108    debug <general>: CUtil::ScanForExternalSubtitles: Searching for subtitles...
2024-09-25 12:43:35.622 T:1108    debug <general>: CUtil::ScanForExternalSubtitles: END (total time: 0 ms)
2024-09-25 12:43:35.622 T:1108     info <general>: Creating Demuxer
2024-09-25 12:43:35.622 T:1108    debug <general>: CDVDDemuxFFmpeg::Open - probing detected format [avi]
2024-09-25 12:43:35.624 T:1108    debug <general>: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
2024-09-25 12:43:35.625 T:1108    debug <general>: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
2024-09-25 12:43:35.625 T:1108     info <general>: ffmpeg[0xc9e0d40]: Input #0, avi, from 'e:\videos\tests\Dolby Digital AC-3 5.1.mp4':
2024-09-25 12:43:35.625 T:1108     info <general>: ffmpeg[0xc9e0d40]:   Metadata:
2024-09-25 12:43:35.625 T:1108     info <general>: ffmpeg[0xc9e0d40]:     software        : Nandub v1.0rc2
2024-09-25 12:43:35.625 T:1108     info <general>: ffmpeg[0xc9e0d40]:   Duration: 00:00:48.62, start: 0.000000, bitrate: 2473 kb/s
2024-09-25 12:43:35.625 T:1108     info <general>: ffmpeg[0xc9e0d40]:   Stream #0:0: Video: msmpeg4v3 (DIV3 / 0x33564944), yuv420p, 576x432, 2013 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
2024-09-25 12:43:35.625 T:1108     info <general>: ffmpeg[0xc9e0d40]:   Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 448 kb/s
2024-09-25 12:43:35.625 T:1108    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 0
2024-09-25 12:43:35.625 T:1108    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 1
2024-09-25 12:43:35.625 T:3156    debug <general>: Loading settings for e:\videos\tests\Dolby Digital AC-3 5.1.mp4
2024-09-25 12:43:35.625 T:1108     info <general>: Opening stream: 0 source: 256
2024-09-25 12:43:35.625 T:1108     info <general>: Creating video codec with codec id: 16
2024-09-25 12:43:35.625 T:1108     info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2 Microsoft variant version 3
2024-09-25 12:43:35.625 T:1108    debug <general>: CDVDVideoCodecFFmpeg - Updated codec: ff-msmpeg4
2024-09-25 12:43:35.625 T:1108    debug <general>: CVideoPlayerVideo::OpenStream - open stream with codec id: 16
2024-09-25 12:43:35.625 T:1108     info <general>: Creating video thread
2024-09-25 12:43:35.625 T:3988    debug <general>: Thread VideoPlayerVideo start, auto delete: false
2024-09-25 12:43:35.625 T:3988     info <general>: running thread: video_thread
2024-09-25 12:43:35.626 T:3988    debug <general>: CVideoPlayerVideo - CDVDMsg::GENERAL_PAUSE: false
2024-09-25 12:43:35.626 T:1108    debug <general>: CEdl::ReadEditDecisionLists - Checking for edit decision lists (EDL) on local drive or remote share for: e:\videos\tests\Dolby Digital AC-3 5.1.mp4
2024-09-25 12:43:35.626 T:1108     info <general>: Opening stream: 1 source: 256
2024-09-25 12:43:35.626 T:1108     info <general>: Finding audio codec for: 86019
2024-09-25 12:43:35.626 T:1108     info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2024-09-25 12:43:35.626 T:1108     info <general>: CVideoPlayerAudio::OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-09-25 12:43:35.626 T:1108     info <general>: Creating audio thread
2024-09-25 12:43:35.626 T:5640    debug <general>: Thread VideoPlayerAudio start, auto delete: false
2024-09-25 12:43:35.626 T:5640     info <general>: running thread: CVideoPlayerAudio::Process()
2024-09-25 12:43:35.626 T:5640    debug <general>: CVideoPlayerAudio - CDVDMsg::GENERAL_PAUSE: false
2024-09-25 12:43:35.626 T:1108    debug <general>: CVideoPlayer::SetCaching - caching state 2
2024-09-25 12:43:35.626 T:1108    debug <general>: CDVDClock::SetSpeedAdjust - adjusted:0.000000
2024-09-25 12:43:35.626 T:1108    debug <general>: CVideoPlayer::HandleMessages - player 2 reported state: 0
2024-09-25 12:43:35.626 T:1108    debug <general>: CVideoPlayer::HandleMessages - player 1 reported state: 0
2024-09-25 12:43:35.626 T:1108    debug <general>: CVideoPlayer::SetCaching - caching state 1
2024-09-25 12:43:35.626 T:1108    debug <general>: CDVDClock::SetSpeedAdjust - adjusted:0.000000
2024-09-25 12:43:35.626 T:3156    debug <general>: CApplicationPlayerCallback::OnAVChange: CApplication::OnAVChange
2024-09-25 12:43:35.627 T:3988    debug <general>: CVideoPlayerVideo - Stillframe left, switching to normal playback
2024-09-25 12:43:35.628 T:3988     info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2 Microsoft variant version 3
2024-09-25 12:43:35.628 T:3988    debug <general>: CDVDVideoCodecFFmpeg - open frame threaded with 6 threads
2024-09-25 12:43:35.628 T:3988    debug <general>: CDVDVideoCodecFFmpeg - Updated codec: ff-msmpeg4
2024-09-25 12:43:35.628 T:3988    debug <general>: CRenderManager::Configure - change configuration. 576x432. display: 576x432. framerate: 29.97.
2024-09-25 12:43:35.634 T:1108    debug <general>: CVideoPlayer::SetCaching - caching state 2
2024-09-25 12:43:35.634 T:1108    debug <general>: CDVDClock::SetSpeedAdjust - adjusted:0.000000
2024-09-25 12:43:35.635 T:5524    debug <general>: Thread BackgroundLoader start, auto delete: false
2024-09-25 12:43:35.637 T:4952    debug <general>: CRenderManager::DeleteRenderer - deleting renderer
2024-09-25 12:43:35.637 T:4952    debug <general>: CWinRenderer::SelectRenderer: requested render method: 0
2024-09-25 12:43:35.638 T:4952    debug <general>: CWinRenderer::SelectRenderer: selected render method: Pixel Shaders
2024-09-25 12:43:35.638 T:4952    debug <general>: CWIN32Util::GetWindowsHDRStatus: Display is not HDR capable or cannot be detected
2024-09-25 12:43:35.638 T:4952    debug <general>: CRendererBase::CreateIntermediateTarget: intermediate target format 87.
2024-09-25 12:43:35.638 T:5640    debug <general>: CDVDAudio::Pause - pausing audio stream
2024-09-25 12:43:35.639 T:5640     info <general>: Skipped 2 duplicate messages..
2024-09-25 12:43:35.639 T:5640     info <general>: Creating audio stream (codec id: 86019, channels: 6, sample rate: 48000, no pass-through)
2024-09-25 12:43:35.639 T:5640    debug <general>: CVideoPlayerAudio:: synctype set to 0: clock feedback
2024-09-25 12:43:35.641 T:4952    debug <general>: CRenderManager::Configure - 6
2024-09-25 12:43:35.642 T:4952    debug <general>: CWinShader::LoadEffect: loading shader special://xbmc/system/shaders/output_d3d.fx
2024-09-25 12:43:35.655 T:1108    debug <general>: CVideoPlayer::HandleMessages - player started 2
2024-09-25 12:43:35.655 T:4716    debug <general>: CApplicationPlayerCallback::OnAVChange: CApplication::OnAVChange
2024-09-25 12:43:35.662 T:4952    debug <general>: CWinShader::LoadEffect: loading shader special://xbmc/system/shaders/yuv2rgb_d3d.fx
2024-09-25 12:43:35.664 T:5524    debug <general>: Thread BackgroundLoader 5524 terminating
2024-09-25 12:43:35.665 T:5676     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-25 12:43:35.665 T:5676    debug <general>: CAESinkDirectSound::Deinitialize: Cleaning up
2024-09-25 12:43:35.682 T:5676    debug <general>: CActiveAESink::OpenSink - trying to open device DIRECTSOUND:{A6E41BAF-8434-4786-B62C-7D4FFDA9FACE}
2024-09-25 12:43:35.686 T:5676    debug <general>: CAESinkDirectSound::Initialize: Using Window handle: 0x904c4
2024-09-25 12:43:35.689 T:4952    debug <general>: CVideoGUIInfo::InitCurrentItem(e:\videos\tests\Dolby Digital AC-3 5.1.mp4)
2024-09-25 12:43:35.689 T:4952    debug <general>: CPlayerGUIInfo::InitCurrentItem(e:\videos\tests\Dolby Digital AC-3 5.1.mp4)
2024-09-25 12:43:35.689 T:5676    debug <general>: CAESinkDirectSound::Initialize: secondary buffer created
2024-09-25 12:43:35.690 T:5676    debug <general>: CAESinkDirectSound::Initialize: Initializing DirectSound with the following parameters:
2024-09-25 12:43:35.690 T:5676    debug <general>:   Audio Device    : Line 1 (Virtual Audio Cable)
2024-09-25 12:43:35.690 T:5676    debug <general>:   Sample Rate     : 48000
2024-09-25 12:43:35.690 T:5676    debug <general>:   Sample Format   : AE_FMT_FLOAT
2024-09-25 12:43:35.690 T:5676    debug <general>:   Bits Per Sample : 32
2024-09-25 12:43:35.690 T:5676    debug <general>:   Valid Bits/Samp : 32
2024-09-25 12:43:35.690 T:5676    debug <general>:   Channel Count   : 6
2024-09-25 12:43:35.690 T:5676    debug <general>:   Block Align     : 24
2024-09-25 12:43:35.690 T:5676    debug <general>:   Avg. Bytes Sec  : 1152000
2024-09-25 12:43:35.690 T:5676    debug <general>:   Samples/Block   : 32
2024-09-25 12:43:35.690 T:5676    debug <general>:   Format cBSize   : 22
2024-09-25 12:43:35.690 T:5676    debug <general>:   Channel Layout  : FL, FR, FC, LFE, SL, SR
2024-09-25 12:43:35.690 T:5676    debug <general>:   Channel Mask    : 1551
2024-09-25 12:43:35.690 T:5676    debug <general>:   Frames          : 720
2024-09-25 12:43:35.690 T:5676    debug <general>:   Frame Size      : 24
2024-09-25 12:43:35.690 T:5676    debug <general>: CActiveAESink::OpenSink - DIRECTSOUND Initialized:
2024-09-25 12:43:35.690 T:5676    debug <general>:   Output Device : LineLevel - Line 1 (Virtual Audio Cable)
2024-09-25 12:43:35.690 T:5676    debug <general>:   Sample Rate   : 48000
2024-09-25 12:43:35.690 T:5676    debug <general>:   Sample Format : AE_FMT_FLOAT
2024-09-25 12:43:35.690 T:5676    debug <general>:   Channel Count : 6
2024-09-25 12:43:35.691 T:5676    debug <general>:   Channel Layout: FL, FR, FC, LFE, SL, SR
2024-09-25 12:43:35.691 T:5676    debug <general>:   Frames        : 720
2024-09-25 12:43:35.691 T:5676    debug <general>:   Frame Size    : 24
2024-09-25 12:43:35.692 T:4612    debug <general>: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
2024-09-25 12:43:35.698 T:1108     info <general>: Skipped 1 duplicate messages..
2024-09-25 12:43:35.698 T:1108    debug <general>: CVideoPlayer::HandleMessages - player started 1
2024-09-25 12:43:35.698 T:1108    debug <general>: CVideoPlayer::SetCaching - caching state 3
2024-09-25 12:43:35.698 T:1108    debug <general>: CDVDClock::SetSpeedAdjust - adjusted:0.000000
2024-09-25 12:43:35.698 T:1108    debug <general>: CVideoPlayer::SetCaching - caching state 0
2024-09-25 12:43:35.698 T:1108    debug <general>: CDVDClock::SetSpeedAdjust - adjusted:0.000000
2024-09-25 12:43:35.698 T:1108    debug <general>: VideoPlayer::Sync - Audio - pts: 288000.000000, cache: 319999.933243, totalcache: 780000.030994
2024-09-25 12:43:35.698 T:1108    debug <general>: VideoPlayer::Sync - Video - pts: 0.000000, cache: 50000.000000, totalcache: 100000.000000
2024-09-25 12:43:35.699 T:5640    debug <general>: CVideoPlayerAudio - CDVDMsg::GENERAL_RESYNC(-100000.000000), level: 100, cache: 319999.933243
2024-09-25 12:43:35.699 T:4716    debug <general>: CApplicationPlayerCallback::OnAVChange: CApplication::OnAVChange
2024-09-25 12:43:35.699 T:5640    debug <general>: CDVDAudio::Resume - resume audio stream
2024-09-25 12:43:35.699 T:4612    debug <general>: ActiveAE - start sync of audio stream
2024-09-25 12:43:35.699 T:4716    debug <general>: CApplicationPlayerCallback::OnAVStarted: CApplication::OnAVStarted
2024-09-25 12:43:35.699 T:3988    debug <general>: CVideoPlayerVideo - CDVDMsg::GENERAL_RESYNC(-100000.000000)
2024-09-25 12:43:35.719 T:5676    debug <general>: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
2024-09-25 12:43:35.789 T:4952    debug <general>: ------ Window Init (DialogBusy.xml) ------
2024-09-25 12:43:35.790 T:4952    debug <general>: Activating window ID: 12005
2024-09-25 12:43:35.791 T:4952    debug <general>: ------ Window Deinit (MyVideoNav.xml) ------
2024-09-25 12:43:35.791 T:4952    debug <general>: FreeVisualisation() done
2024-09-25 12:43:35.791 T:4952    debug <general>: ------ Window Init (VideoFullScreen.xml) ------
2024-09-25 12:43:35.796 T:4952    debug <general>: ------ Window Deinit (DialogBusy.xml) ------
2024-09-25 12:43:35.799 T:4612    debug <general>: ActiveAE::SyncStream - average error of 79.192051, start adjusting
2024-09-25 12:43:35.847 T:4612    debug <general>: ActiveAE::SyncStream - average error 19.192051 below threshold of 30.000000
2024-09-25 12:43:35.901 T:3988     info <general>: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 33366
2024-09-25 12:43:39.585 T:3988    debug <general>: CPtsTracker: detected pattern of length 1: 33366.70, frameduration: 33366.666667
2024-09-25 12:43:40.546 T:4724  warning <general>: [plugin.video.elementum] WARN  api          ▶ func9            OnPlay. No active player found
2024-09-25 12:43:40.601 T:4952    debug <general>: ------ Window Deinit (Pointer.xml) ------
2024-09-25 12:43:44.298 T:3304    debug <general>: script.module.slyguy - Settings cache load time: 0.0015001296997070312
2024-09-25 12:44:02.216 T:4952    debug <general>: ------ Window Init (VideoOSD.xml) ------
2024-09-25 12:44:02.222 T:4952    debug <general>: ------ Window Init (Pointer.xml) ------
2024-09-25 12:44:02.223 T:4952    debug <general>: ------ Window Init (DialogSeekBar.xml) ------
2024-09-25 12:44:02.224 T:4952    debug <general>: ------ Window Init (Custom_1109_TopBarOverlay.xml) ------
2024-09-25 12:44:05.626 T:5640     info <general>: CVideoPlayerAudio::ProcessDecoderOutput: Changed max allowed Out-Of-Sync value to 30 ms due self-learning
2024-09-25 12:44:05.718 T:3156    debug <general>: Thread JobWorker 3156 terminating (autodelete)
2024-09-25 12:44:05.718 T:4716    debug <general>: Thread JobWorker 4716 terminating (autodelete)
2024-09-25 12:44:05.718 T:2112    debug <general>: Thread JobWorker 2112 terminating (autodelete)
2024-09-25 12:44:10.583 T:4952    debug <general>: ------ Window Deinit (Pointer.xml) ------
2024-09-25 12:44:13.887 T:4952    debug <general>: ------ Window Deinit (VideoOSD.xml) ------
2024-09-25 12:44:13.901 T:4952    debug <general>: ------ Window Deinit (DialogSeekBar.xml) ------
2024-09-25 12:44:13.901 T:4952    debug <general>: ------ Window Deinit (Custom_1109_TopBarOverlay.xml) ------
2024-09-25 12:44:14.302 T:3304    debug <general>: script.module.slyguy - Settings cache load time: 0.002500295639038086
2024-09-25 12:44:22.866 T:4952    debug <general>: ------ Window Init (VideoOSD.xml) ------
2024-09-25 12:44:22.869 T:4952    debug <general>: ------ Window Init (Pointer.xml) ------
2024-09-25 12:44:22.869 T:4952    debug <general>: ------ Window Init (DialogSeekBar.xml) ------
2024-09-25 12:44:22.869 T:4952    debug <general>: ------ Window Init (Custom_1109_TopBarOverlay.xml) ------
2024-09-25 12:44:23.669 T:5640    error <general>: ffmpeg[0x15ff3af0]: [ac3] incomplete frame
2024-09-25 12:44:24.100 T:5640     info <general>: CVideoPlayerAudio::Process - stream stalled
2024-09-25 12:44:24.152 T:3988    debug <general>: CDVDVideoCodecFFmpeg::GetPicture - eof
2024-09-25 12:44:24.189 T:1108     info <general>: CVideoPlayer::OnExit()
2024-09-25 12:44:24.189 T:1108     info <general>: VideoPlayer: eof, waiting for queues to empty
2024-09-25 12:44:24.189 T:1108     info <general>: Closing stream player 1
2024-09-25 12:44:24.189 T:1108     info <general>: CDVDMessageQueue(audio)::WaitUntilEmpty
2024-09-25 12:44:24.189 T:1108     info <general>: Waiting for audio thread to exit
2024-09-25 12:44:24.189 T:5640    debug <general>: CVideoPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
2024-09-25 12:44:24.189 T:5640     info <general>: thread end: CVideoPlayerAudio::OnExit()
2024-09-25 12:44:24.189 T:5640    debug <general>: Thread VideoPlayerAudio 5640 terminating
2024-09-25 12:44:24.190 T:1108     info <general>: Closing audio device
2024-09-25 12:44:24.190 T:4612    debug <general>: CActiveAE::DiscardStream - audio stream deleted
2024-09-25 12:44:24.190 T:4612    debug <general>: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
2024-09-25 12:44:24.190 T:1108     info <general>: Skipped 1 duplicate messages..
2024-09-25 12:44:24.190 T:1108     info <general>: Deleting audio codec
2024-09-25 12:44:24.190 T:1108     info <general>: Closing stream player 2
2024-09-25 12:44:24.190 T:1108     info <general>: CDVDMessageQueue(video)::WaitUntilEmpty
2024-09-25 12:44:24.190 T:3988    debug <general>: CVideoPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
2024-09-25 12:44:24.190 T:1108     info <general>: waiting for video thread to exit
2024-09-25 12:44:24.190 T:3988     info <general>: thread end: video_thread
2024-09-25 12:44:24.190 T:3988    debug <general>: Thread VideoPlayerVideo 3988 terminating
2024-09-25 12:44:24.190 T:1108     info <general>: deleting video codec
2024-09-25 12:44:24.191 T:4820    debug <general>: Thread JobWorker start, auto delete: true
2024-09-25 12:44:24.191 T:1108    debug <general>: Thread VideoPlayer 1108 terminating
2024-09-25 12:44:24.193 T:4820     info <general>: Deleting settings information for files e:\videos\tests\Dolby Digital AC-3 5.1.mp4
2024-09-25 12:44:24.194 T:2084    debug <general>: Thread JobWorker start, auto delete: true
2024-09-25 12:44:24.194 T:4820    debug <general>: CSaveFileState::DoWork - Saving file state for video item e:\videos\tests\Dolby Digital AC-3 5.1.mp4
2024-09-25 12:44:24.196 T:4820    debug <general>: CSaveFileState::DoWork - Marking video item e:\videos\tests\Dolby Digital AC-3 5.1.mp4 as watched
2024-09-25 12:44:24.201 T:4952    debug <general>: CRenderManager::Flush - flushing renderer
2024-09-25 12:44:24.202 T:4820    debug <general>: CApplicationPlayerCallback::OnPlayBackEnded: CApplicationPlayerCallback::OnPlayBackEnded
2024-09-25 12:44:24.218 T:4952     info <general>: CVideoPlayer::CloseFile()
2024-09-25 12:44:24.218 T:4952    debug <general>: CRenderManager::DeleteRenderer - deleting renderer
2024-09-25 12:44:24.218 T:4952     info <general>: VideoPlayer: waiting for threads to exit
2024-09-25 12:44:24.218 T:4952     info <general>: VideoPlayer: finished waiting
2024-09-25 12:44:24.218 T:4952     info <general>: CVideoPlayer::CloseFile()
2024-09-25 12:44:24.218 T:4952     info <general>: VideoPlayer: waiting for threads to exit
2024-09-25 12:44:24.218 T:4952     info <general>: VideoPlayer: finished waiting
2024-09-25 12:44:24.221 T:4952    debug <general>: Radio UECP (RDS) Processor - delete CDVDRadioRDSData::~CDVDRadioRDSData
2024-09-25 12:44:24.221 T:4952    debug <general>: Audio ID3 tag processor - delete CVideoPlayerAudioID3::~CVideoPlayerAudioID3
2024-09-25 12:44:24.221 T:4952    debug <general>: CGUIWindowManager::PreviousWindow: Deactivate
2024-09-25 12:44:24.221 T:4952    debug <general>: ------ Window Deinit (VideoOSD.xml) ------
2024-09-25 12:44:24.221 T:4952    debug <general>: ------ Window Deinit (VideoFullScreen.xml) ------
2024-09-25 12:44:24.226 T:4952    debug <general>: CGUIWindowManager::PreviousWindow: Activate new
2024-09-25 12:44:24.228 T:4952    debug <general>: ------ Window Init (MyVideoNav.xml) ------
2024-09-25 12:44:24.229 T:4952    debug <general>: CGUIMediaWindow::GetDirectory (e:\videos\tests\)
2024-09-25 12:44:24.229 T:4952    debug <general>:   ParentPath = [e:\videos\tests\]
2024-09-25 12:44:24.237 T:2336    debug <general>: Thread BackgroundLoader start, auto delete: false
2024-09-25 12:44:24.242 T:4952    debug <general>: ffmpeg[0x0]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2024-09-25 12:44:24.256 T:2336    debug <general>: Thread BackgroundLoader 2336 terminating
2024-09-25 12:44:24.285 T:4952    debug <general>: ffmpeg[0x0]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2024-09-25 12:44:24.296 T:2084    debug <general>: ffmpeg[0x1cccffa0]: [image2] Custom AVIOContext makes no sense and will be ignored with AVFMT_NOFILE format.
2024-09-25 12:44:24.300 T:4952    debug <general>: ------ Window Deinit (DialogSeekBar.xml) ------
2024-09-25 12:44:24.306 T:4612    debug <general>: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
2024-09-25 12:44:24.479 T:5676     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-25 12:44:24.479 T:5676    debug <general>: CAESinkDirectSound::Deinitialize: Cleaning up
2024-09-25 12:44:24.484 T:5676    debug <general>: CActiveAESink::OpenSink - trying to open device DIRECTSOUND:{A6E41BAF-8434-4786-B62C-7D4FFDA9FACE}
2024-09-25 12:44:24.487 T:5676    debug <general>: CAESinkDirectSound::Initialize: Using Window handle: 0x904c4
2024-09-25 12:44:24.489 T:5676    debug <general>: CAESinkDirectSound::Initialize: secondary buffer created
2024-09-25 12:44:24.489 T:5676    debug <general>: CAESinkDirectSound::Initialize: Initializing DirectSound with the following parameters:
2024-09-25 12:44:24.489 T:5676    debug <general>:   Audio Device    : Line 1 (Virtual Audio Cable)
2024-09-25 12:44:24.489 T:5676    debug <general>:   Sample Rate     : 44100
2024-09-25 12:44:24.489 T:5676    debug <general>:   Sample Format   : AE_FMT_FLOAT
2024-09-25 12:44:24.489 T:5676    debug <general>:   Bits Per Sample : 32
2024-09-25 12:44:24.489 T:5676    debug <general>:   Valid Bits/Samp : 32
2024-09-25 12:44:24.489 T:5676    debug <general>:   Channel Count   : 2
2024-09-25 12:44:24.489 T:5676    debug <general>:   Block Align     : 8
2024-09-25 12:44:24.489 T:5676    debug <general>:   Avg. Bytes Sec  : 352800
2024-09-25 12:44:24.489 T:5676    debug <general>:   Samples/Block   : 32
2024-09-25 12:44:24.489 T:5676    debug <general>:   Format cBSize   : 22
2024-09-25 12:44:24.489 T:5676    debug <general>:   Channel Layout  : FL, FR
2024-09-25 12:44:24.489 T:5676    debug <general>:   Channel Mask    : 3
2024-09-25 12:44:24.489 T:5676    debug <general>:   Frames          : 661
2024-09-25 12:44:24.489 T:5676    debug <general>:   Frame Size      : 8
2024-09-25 12:44:24.489 T:5676    debug <general>: CActiveAESink::OpenSink - DIRECTSOUND Initialized:
2024-09-25 12:44:24.489 T:5676    debug <general>:   Output Device : LineLevel - Line 1 (Virtual Audio Cable)
2024-09-25 12:44:24.489 T:5676    debug <general>:   Sample Rate   : 44100
2024-09-25 12:44:24.489 T:5676    debug <general>:   Sample Format : AE_FMT_FLOAT
2024-09-25 12:44:24.489 T:5676    debug <general>:   Channel Count : 2
2024-09-25 12:44:24.489 T:5676    debug <general>:   Channel Layout: FL, FR
2024-09-25 12:44:24.489 T:5676    debug <general>:   Frames        : 661
2024-09-25 12:44:24.489 T:5676    debug <general>:   Frame Size    : 8
2024-09-25 12:44:24.490 T:4612    debug <general>: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
2024-09-25 12:44:24.499 T:5676     info <general>: Skipped 1 duplicate messages..
2024-09-25 12:44:24.499 T:5676    debug <general>: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
2024-09-25 12:44:24.516 T:4952    debug <general>: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'flags/videocodec/msmpeg4v3.png'
2024-09-25 12:44:24.524 T:4952    debug <general>: ------ Window Deinit (Custom_1109_TopBarOverlay.xml) ------
2024-09-25 12:44:28.183 T:4952    debug <general>: ------ Window Deinit (Pointer.xml) ------
 
The enumeration section from the previous log does not seem to be in this log
 
Right, here they are. They should be same as before.

Code:
2024-09-25 13:13:24.549 T:3520     info <general>: Found 2 Lists of Devices
2024-09-25 13:13:24.549 T:3520     info <general>: Enumerated DIRECTSOUND devices:
2024-09-25 13:13:24.549 T:3520     info <general>:     Device 1
2024-09-25 13:13:24.549 T:3520     info <general>:         m_deviceName      : {29231992-D273-4513-B011-A1B95BC7A751}
2024-09-25 13:13:24.549 T:3520     info <general>:         m_displayName     : Speakers - Speakers (C-Media PCI Audio Device)
2024-09-25 13:13:24.549 T:3520     info <general>:         m_displayNameExtra: DIRECTSOUND: Speakers (C-Media PCI Audio Device)
2024-09-25 13:13:24.549 T:3520     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-25 13:13:24.549 T:3520     info <general>:         m_channels        : FL, FR, FC, BL, BR, LFE
2024-09-25 13:13:24.549 T:3520     info <general>:         m_sampleRates     : 48000
2024-09-25 13:13:24.549 T:3520     info <general>:         m_dataFormats     : AE_FMT_FLOAT
2024-09-25 13:13:24.549 T:3520     info <general>:         m_streamTypes     : No passthrough capabilities
2024-09-25 13:13:24.549 T:3520     info <general>:     Device 2
2024-09-25 13:13:24.549 T:3520     info <general>:         m_deviceName      : {4CF8FD7D-DAA5-4A7A-A121-45547DB37014}
2024-09-25 13:13:24.549 T:3520     info <general>:         m_displayName     : SPDIF - Digital Output (C-Media PCI Audio Device)
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayNameExtra: DIRECTSOUND: Digital Output (C-Media PCI Audio Device)
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceType      : AE_DEVTYPE_IEC958
2024-09-25 13:13:24.550 T:3520     info <general>:         m_channels        : FL, FR
2024-09-25 13:13:24.550 T:3520     info <general>:         m_sampleRates     : 44100
2024-09-25 13:13:24.550 T:3520     info <general>:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_RAW
2024-09-25 13:13:24.550 T:3520     info <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
2024-09-25 13:13:24.550 T:3520     info <general>:     Device 3
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceName      : {A6E41BAF-8434-4786-B62C-7D4FFDA9FACE}
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayName     : LineLevel - Line 1 (Virtual Audio Cable)
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayNameExtra: DIRECTSOUND: Line 1 (Virtual Audio Cable)
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-25 13:13:24.550 T:3520     info <general>:         m_channels        : FL, FR
2024-09-25 13:13:24.550 T:3520     info <general>:         m_sampleRates     : 48000
2024-09-25 13:13:24.550 T:3520     info <general>:         m_dataFormats     : AE_FMT_FLOAT
2024-09-25 13:13:24.550 T:3520     info <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
2024-09-25 13:13:24.550 T:3520     info <general>:     Device 4
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceName      : default
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayName     : default
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayNameExtra:
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-25 13:13:24.550 T:3520     info <general>:         m_channels        : FL, FR
2024-09-25 13:13:24.550 T:3520     info <general>:         m_sampleRates     : 48000
2024-09-25 13:13:24.550 T:3520     info <general>:         m_dataFormats     : AE_FMT_FLOAT
2024-09-25 13:13:24.550 T:3520     info <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
2024-09-25 13:13:24.550 T:3520     info <general>: Enumerated WASAPI devices:
2024-09-25 13:13:24.550 T:3520     info <general>:     Device 1
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceName      : {29231992-D273-4513-B011-A1B95BC7A751}
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayName     : Speakers - Speakers (C-Media PCI Audio Device)
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayNameExtra: WASAPI: Speakers (C-Media PCI Audio Device)
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-25 13:13:24.550 T:3520     info <general>:         m_channels        : FL, FR, FC, LFE, SL, SR
2024-09-25 13:13:24.550 T:3520     info <general>:         m_sampleRates     : 48000,44100
2024-09-25 13:13:24.550 T:3520     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
2024-09-25 13:13:24.550 T:3520     info <general>:         m_streamTypes     : No passthrough capabilities
2024-09-25 13:13:24.550 T:3520     info <general>:     Device 2
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceName      : {4CF8FD7D-DAA5-4A7A-A121-45547DB37014}
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayName     : SPDIF - Digital Output (C-Media PCI Audio Device)
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayNameExtra: WASAPI: Digital Output (C-Media PCI Audio Device)
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceType      : AE_DEVTYPE_IEC958
2024-09-25 13:13:24.550 T:3520     info <general>:         m_channels        : FL, FR
2024-09-25 13:13:24.550 T:3520     info <general>:         m_sampleRates     : 48000,44100
2024-09-25 13:13:24.550 T:3520     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_RAW
2024-09-25 13:13:24.550 T:3520     info <general>:         m_streamTypes     : STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3
2024-09-25 13:13:24.550 T:3520     info <general>:     Device 3
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceName      : {A6E41BAF-8434-4786-B62C-7D4FFDA9FACE}
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayName     : LineLevel - Line 1 (Virtual Audio Cable)
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayNameExtra: WASAPI: Line 1 (Virtual Audio Cable)
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-25 13:13:24.550 T:3520     info <general>:         m_channels        : FL, FR
2024-09-25 13:13:24.550 T:3520     info <general>:         m_sampleRates     : 96000,88200,48000,44100
2024-09-25 13:13:24.550 T:3520     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8,AE_FMT_RAW
2024-09-25 13:13:24.550 T:3520     info <general>:         m_streamTypes     : STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3
2024-09-25 13:13:24.550 T:3520     info <general>:     Device 4
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceName      : default
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayName     : default
2024-09-25 13:13:24.550 T:3520     info <general>:         m_displayNameExtra:
2024-09-25 13:13:24.550 T:3520     info <general>:         m_deviceType      : AE_DEVTYPE_PCM
2024-09-25 13:13:24.550 T:3520     info <general>:         m_channels        : FL, FR
2024-09-25 13:13:24.550 T:3520     info <general>:         m_sampleRates     : 96000,88200,48000,44100
2024-09-25 13:13:24.550 T:3520     info <general>:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8,AE_FMT_RAW
2024-09-25 13:13:24.550 T:3520     info <general>:         m_streamTypes     : STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3
2024-09-25 13:13:24.551 T:1004     info <general>: CActiveAESink::OpenSink - initialize sink
2024-09-25 13:13:24.551 T:1004    debug <general>: CActiveAESink::OpenSink - trying to open device DIRECTSOUND:{A6E41BAF-8434-4786-B62C-7D4FFDA9FACE}
2024-09-25 13:13:24.587 T:1004    debug <general>: CAESinkDirectSound::Initialize: Using Window handle: 0x1055e
2024-09-25 13:13:24.589 T:1004    debug <general>: CAESinkDirectSound::Initialize: secondary buffer created
2024-09-25 13:13:24.589 T:1004    debug <general>: CAESinkDirectSound::Initialize: Initializing DirectSound with the following parameters:
2024-09-25 13:13:24.589 T:1004    debug <general>:   Audio Device    : Line 1 (Virtual Audio Cable)
2024-09-25 13:13:24.589 T:1004    debug <general>:   Sample Rate     : 44100
2024-09-25 13:13:24.589 T:1004    debug <general>:   Sample Format   : AE_FMT_FLOAT
2024-09-25 13:13:24.589 T:1004    debug <general>:   Bits Per Sample : 32
2024-09-25 13:13:24.589 T:1004    debug <general>:   Valid Bits/Samp : 32
2024-09-25 13:13:24.589 T:1004    debug <general>:   Channel Count   : 2
2024-09-25 13:13:24.589 T:1004    debug <general>:   Block Align     : 8
2024-09-25 13:13:24.589 T:1004    debug <general>:   Avg. Bytes Sec  : 352800
2024-09-25 13:13:24.589 T:1004    debug <general>:   Samples/Block   : 32
2024-09-25 13:13:24.589 T:1004    debug <general>:   Format cBSize   : 22
2024-09-25 13:13:24.589 T:1004    debug <general>:   Channel Layout  : FL, FR
2024-09-25 13:13:24.589 T:1004    debug <general>:   Channel Mask    : 3
2024-09-25 13:13:24.589 T:1004    debug <general>:   Frames          : 661
2024-09-25 13:13:24.589 T:1004    debug <general>:   Frame Size      : 8
2024-09-25 13:13:24.589 T:1004    debug <general>: CActiveAESink::OpenSink - DIRECTSOUND Initialized:
2024-09-25 13:13:24.589 T:1004    debug <general>:   Output Device : LineLevel - Line 1 (Virtual Audio Cable)
2024-09-25 13:13:24.589 T:1004    debug <general>:   Sample Rate   : 44100
2024-09-25 13:13:24.589 T:1004    debug <general>:   Sample Format : AE_FMT_FLOAT
2024-09-25 13:13:24.589 T:1004    debug <general>:   Channel Count : 2
2024-09-25 13:13:24.589 T:1004    debug <general>:   Channel Layout: FL, FR
2024-09-25 13:13:24.589 T:1004    debug <general>:   Frames        : 661
2024-09-25 13:13:24.589 T:1004    debug <general>:   Frame Size    : 8
2024-09-25 13:13:24.590 T:4620     info <general>: CLangInfo: loading resource.language.en_gb language information...
 
Did you set the maximum number of channels in the VAC setup utility, as described in the VAC manual? Clearly VAC reports only stereo capability.
 
Back
Top Bottom