tonegeneratesrc

tonegeneratesrc object structure.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSrc
                    ╰──GstPushSrc
                        ╰──tonegeneratesrc

Factory details

Authors: – Iskratel

Classification:Source/Audio

Rank – none

Plugin – spandsp

Package – GStreamer Bad Plug-ins

Pad Templates

src

audio/x-raw:
         format: S16LE
         layout: interleaved
           rate: 8000
       channels: 1

Presencealways

Directionsrc

Object typeGstPad


Properties

blocksize

“blocksize” guint

Size in bytes to read per buffer (-1 = default)

Flags : Read / Write

Default value : 2048


do-timestamp

“do-timestamp” gboolean

Apply current stream time to buffers

Flags : Read / Write

Default value : false


freq

“freq” gint

Frequency of test signal

Flags : Read / Write

Default value : 0


freq2

“freq2” gint

Frequency of second telephony tone component

Flags : Read / Write

Default value : 0


num-buffers

“num-buffers” gint

Number of buffers to output before sending EOS (-1 = unlimited)

Flags : Read / Write

Default value : -1


off-time

“off-time” gint

Time of the first period when the tone signal is off

Flags : Read / Write

Default value : 1000


off-time2

“off-time2” gint

Time of the second period when the tone signal is off

Flags : Read / Write

Default value : 1000


on-time

“on-time” gint

Time of the first period when the tone signal is present

Flags : Read / Write

Default value : 1000


on-time2

“on-time2” gint

Time of the second period when the tone signal is present

Flags : Read / Write

Default value : 1000


repeat

“repeat” gboolean

Whether to repeat specified tone indefinitely

Flags : Read / Write

Default value : false


samplesperbuffer

“samplesperbuffer” gint

Number of samples in each outgoing buffer

Flags : Read / Write

Default value : 1024


typefind

“typefind” gboolean

Run typefind before negotiating (deprecated, non-functional)

Flags : Read / Write

Default value : false


volume

“volume” gint

Volume of first signal

Flags : Read / Write

Default value : 0


volume2

“volume2” gint

Volume of second tone signal

Flags : Read / Write

Default value : 0


The results of the search are