mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
ext/alsa/gstalsa.c: buffer-frames property was missing
Original commit message from CVS: * ext/alsa/gstalsa.c: (gst_alsa_get_caps_internal): buffer-frames property was missing * ext/arts/gst_arts.c: rate missing from sinkcaps * ext/audiofile/gstafparse.c: * ext/audiofile/gstafsink.c: * ext/audiofile/gstafsrc.c: * ext/swfdec/gstswfdec.c: int audio doesn't know buffer-frames * ext/cdparanoia/gstcdparanoia.c: int audio doesn't know chunksize either * ext/nas/nassink.c: it's endianness, not endianess * gst-libs/gst/audio/audio.h: make float standard pad template caps really describe float * gst/law/mulaw.c: (linear_factory): signed only, please * gst/mpegstream/gstdvddemux.c: widths of 20 are not valid
This commit is contained in:
parent
134c9f3513
commit
37af33bdda
4 changed files with 25 additions and 5 deletions
22
ChangeLog
22
ChangeLog
|
@ -1,3 +1,25 @@
|
||||||
|
2004-11-09 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||||
|
|
||||||
|
* ext/alsa/gstalsa.c: (gst_alsa_get_caps_internal):
|
||||||
|
buffer-frames property was missing
|
||||||
|
* ext/arts/gst_arts.c:
|
||||||
|
rate missing from sinkcaps
|
||||||
|
* ext/audiofile/gstafparse.c:
|
||||||
|
* ext/audiofile/gstafsink.c:
|
||||||
|
* ext/audiofile/gstafsrc.c:
|
||||||
|
* ext/swfdec/gstswfdec.c:
|
||||||
|
int audio doesn't know buffer-frames
|
||||||
|
* ext/cdparanoia/gstcdparanoia.c:
|
||||||
|
int audio doesn't know chunksize either
|
||||||
|
* ext/nas/nassink.c:
|
||||||
|
it's endianness, not endianess
|
||||||
|
* gst-libs/gst/audio/audio.h:
|
||||||
|
make float standard pad template caps really describe float
|
||||||
|
* gst/law/mulaw.c: (linear_factory):
|
||||||
|
signed only, please
|
||||||
|
* gst/mpegstream/gstdvddemux.c:
|
||||||
|
widths of 20 are not valid
|
||||||
|
|
||||||
2004-11-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-11-08 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
Submitted by: Luca Ferretti <elle.uca@infinito.it>
|
Submitted by: Luca Ferretti <elle.uca@infinito.it>
|
||||||
|
|
|
@ -706,6 +706,7 @@ gst_alsa_get_caps_internal (snd_pcm_format_t format)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
return gst_caps_new_simple ("audio/x-raw-float",
|
return gst_caps_new_simple ("audio/x-raw-float",
|
||||||
|
"buffer-frames", GST_TYPE_INT_RANGE, 0, G_MAXINT,
|
||||||
"width", G_TYPE_INT, (gint) snd_pcm_format_width (format),
|
"width", G_TYPE_INT, (gint) snd_pcm_format_width (format),
|
||||||
"endianness", G_TYPE_INT, G_BYTE_ORDER, NULL);
|
"endianness", G_TYPE_INT, G_BYTE_ORDER, NULL);
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,11 +61,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
"endianness = (int) BYTE_ORDER, "
|
"endianness = (int) BYTE_ORDER, "
|
||||||
"signed = (boolean) true, "
|
"signed = (boolean) true, "
|
||||||
"width = (int) 16, "
|
"width = (int) 16, "
|
||||||
"depth = (int) 16, "
|
"depth = (int) 16, " "rate = (int) 44100, " "channels = (int) 2")
|
||||||
"rate = (int) 44100, "
|
|
||||||
"channels = (int) 2, "
|
|
||||||
"chunksize = (int) " G_STRINGIFY (CD_FRAMESIZE_RAW)
|
|
||||||
)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -84,6 +84,7 @@ G_BEGIN_DECLS
|
||||||
/* "standard" float audio is native order, 32 bit mono. */
|
/* "standard" float audio is native order, 32 bit mono. */
|
||||||
#define GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS \
|
#define GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS \
|
||||||
"audio/x-raw-float, " \
|
"audio/x-raw-float, " \
|
||||||
|
"width = (int) 32, " \
|
||||||
"rate = (int) [ 1, MAX ], " \
|
"rate = (int) [ 1, MAX ], " \
|
||||||
"channels = (int) 1, " \
|
"channels = (int) 1, " \
|
||||||
"endianness = (int) BYTE_ORDER, " \
|
"endianness = (int) BYTE_ORDER, " \
|
||||||
|
|
Loading…
Reference in a new issue