Skip to content

tinyalsasink: Fix missing const and deprecations with tinyalsa v2

amyspark requested to merge amyspark/gstreamer:fix-tinyalsa-2-deprecations into main

Hi,

This is a MR to fix some deprecations and warnings found when using tinyalsa 2.0.0.

  • One function returns a pointer-to-const explicitly, which triggers discarded-qualifiers (GCC) and incompatible-pointer-types-discards-qualifiers (Clang).
  • pcm_write is now deprecated, expecting the conversion from bytes to frames to be done explicitly.

This is needed for cerbero!1401 (closed).

Merge request reports

Loading