diff --git a/gst-libs/gst/riff/riff-ids.h b/gst-libs/gst/riff/riff-ids.h index 81b7626b7a..b9526d6d8d 100644 --- a/gst-libs/gst/riff/riff-ids.h +++ b/gst-libs/gst/riff/riff-ids.h @@ -407,6 +407,7 @@ typedef struct _gst_riff_strf_auds { /* == WaveHeader (?) */ #define GST_RIFF_WAVE_FORMAT_IPI_RPELP (0x0251) #define GST_RIFF_WAVE_FORMAT_CS2 (0x0260) #define GST_RIFF_WAVE_FORMAT_SONY_ATRAC3 (0x0270) +#define GST_RIFF_WAVE_FORMAT_SIREN (0x028E) #define GST_RIFF_WAVE_FORMAT_FM_TOWNS_SND (0x0300) #define GST_RIFF_WAVE_FORMAT_BTV_DIGITAL (0x0400) #define GST_RIFF_WAVE_FORMAT_IMC (0x0401) diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index bb6032af92..120debf7ca 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -1328,6 +1328,13 @@ gst_riff_create_audio_caps (guint16 codec_id, *codec_name = g_strdup ("Sony ATRAC3"); break; + case GST_RIFF_WAVE_FORMAT_SIREN: + caps = gst_caps_new_simple ("audio/x-siren", NULL); + if (codec_name) + *codec_name = g_strdup ("Siren7"); + rate_chan = FALSE; + break; + case GST_RIFF_WAVE_FORMAT_ADPCM_IMA_DK4: rate_min = 8000; rate_max = 96000; @@ -1763,6 +1770,7 @@ gst_riff_create_audio_template_caps (void) GST_RIFF_WAVE_FORMAT_ADPCM_IMA_WAV, GST_RIFF_WAVE_FORMAT_AMR_NB, GST_RIFF_WAVE_FORMAT_AMR_WB, + GST_RIFF_WAVE_FORMAT_SIREN, /* FILL ME */ }; guint i;