Top | ![]() |
![]() |
![]() |
![]() |
gint64 | loop-begin | Write |
gint64 | loop-end | Write |
gint64 | playback-cursor | Write |
gint64 | wave-length | Read |
GtkWidget *
bt_waveform_viewer_new ();
Create a new waveform viewer widget. Use bt_waveform_viewer_set_wave()
to
pass wave data.
void bt_waveform_viewer_set_wave (BtWaveformViewer *self
,int16_t *data
,int channels
,int length
);
Set wave data to show in the widget.
“loop-begin”
property “loop-begin” gint64
First sample of the loop or -1 if there is no loop.
Flags: Write
Allowed values: >= -1
Default value: -1
“loop-end”
property “loop-end” gint64
First sample after the loop or -1 if there is no loop.
Flags: Write
Allowed values: >= -1
Default value: -1
“playback-cursor”
property “playback-cursor” gint64
Current playback position within a waveform or -1 if sample is not played.
Flags: Write
Allowed values: >= -1
Default value: -1