Adrian Perez de Castro 6432f6a1f2 alsa: Avoid infinite loop in DSD rate detection
Stop testing DSD rates in gst_alsa_detect_dsd_rates() if the rate becomes zero
or negative. This avoids an infinite loop if gst_alsa_probe_supported_formats()
is used on a PCM sink defined like the following in the ALSA configuration file:

  pcm.buggy {
    type plug
    slave.pcm "buggy_volume"
    hint.description "Causes an infinite loop in GStreamer"
  }
  pcm.buggy_volume {
    type softvol
    slave.pcm "buggy_dmix"
    control.name "buggy_volume"
  }
  pcm.buggy_dmix {
    type dmix
    ipc_key 12345
    slave {
      pcm "hw:0,0"
      period_size 1024
      buffer_size 4096
    }
  }

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8985>
2025-05-16 17:09:05 +00:00
..
2025-05-10 23:23:14 +00:00
2025-03-13 11:37:35 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-03-13 11:37:35 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-04-30 10:18:57 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-05-02 05:54:56 +00:00
2025-02-17 06:30:17 +00:00
2025-04-08 11:45:11 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00
2025-05-01 23:16:25 +09:00
2025-02-17 06:30:17 +00:00
2025-04-30 10:18:57 +00:00
2025-02-17 06:30:17 +00:00
2025-02-17 06:30:17 +00:00