mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
audioconvert: document passing an empty mix-matrix
This commit is contained in:
parent
35129b3159
commit
b0c184e189
1 changed files with 14 additions and 0 deletions
|
@ -75,6 +75,20 @@
|
|||
*
|
||||
* > If an empty mix matrix is specified, a (potentially truncated)
|
||||
* > identity matrix will be generated.
|
||||
*
|
||||
* ## Example empty matrix generation code
|
||||
* |[
|
||||
* GValue v = G_VALUE_INIT;
|
||||
*
|
||||
* g_value_init (&v2, GST_TYPE_ARRAY);
|
||||
* g_object_set_property (G_OBJECT (audioconvert), "mix-matrix", &v);
|
||||
* g_value_unset (&v);
|
||||
* ]|
|
||||
*
|
||||
* ## Example empty matrix launch line
|
||||
* |[
|
||||
* gst-launch-1.0 -v audiotestsrc ! audio/x-raw,channels=8 ! audioconvert mix-matrix="<>" ! audio/x-raw,channels=16,channel-mask=\(bitmask\)0x0000000000000000 ! fakesink
|
||||
* ]|
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue