Skip to content
  • Wim Taymans's avatar
    audio: change audio format syntax a little · 33196cdd
    Wim Taymans authored
    Remove the _ in front of the endianness prefix.
    Remove the _3 postfix for the 24 bits formats.
    Add a _32 postfix after the formats that occupy extra space beyond their
    natural size.
    The result is that the GST_AUDIO_NE() macro can simply append the endianness
    after all formats and that we only specify a different sample width when it is
    different from the natural size of the sample. This makes things more consistent
    and follows the pulseaudio conventions instead of the alsa ones.
    33196cdd