Home
last modified time | relevance | path

Searched refs:num_tracks (Results 1 – 10 of 10) sorted by relevance

/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiocdsrc.c130 guint num_tracks; member
370 if (src->priv->num_tracks > 0 && track > src->priv->num_tracks) { in gst_audio_cd_src_set_property()
431 if (src->priv->num_tracks <= 0 && src->priv->uri_track > 0) { in gst_audio_cd_src_get_property()
458 for (i = 0; i < src->priv->num_tracks; ++i) { in gst_audio_cd_src_get_track_from_sector()
487 if (src_val < 0 || src_val >= src->priv->num_tracks) { in gst_audio_cd_src_convert()
631 GST_LOG_OBJECT (src, "duration: %d tracks", src->priv->num_tracks); in gst_audio_cd_src_query()
632 gst_query_set_duration (query, track_format, src->priv->num_tracks); in gst_audio_cd_src_query()
637 || src->priv->cur_track >= src->priv->num_tracks) in gst_audio_cd_src_query()
644 sectors = src->priv->tracks[src->priv->num_tracks - 1].end - in gst_audio_cd_src_query()
679 || src->priv->cur_track >= src->priv->num_tracks) in gst_audio_cd_src_query()
[all …]
/third_party/alsa-utils/seq/aplaymidi/
Daplaymidi.c75 static int num_tracks; variable
471 num_tracks = read_int(2); in read_smf()
472 if (num_tracks < 1 || num_tracks > 1000) { in read_smf()
473 errormsg("%s: invalid number of tracks (%d)", file_name, num_tracks); in read_smf()
474 num_tracks = 0; in read_smf()
477 tracks = calloc(num_tracks, sizeof(struct track)); in read_smf()
480 num_tracks = 0; in read_smf()
533 for (i = 0; i < num_tracks; ++i) { in read_smf()
598 for (i = 0; i < num_tracks; ++i) { in cleanup_file_data()
606 num_tracks = 0; in cleanup_file_data()
[all …]
Darecordmidi.c75 static int num_tracks; variable
265 num_tracks = port_count; in init_tracks()
269 num_tracks *= TRACKS_PER_PORT; in init_tracks()
271 tracks = calloc(num_tracks, sizeof(struct smf_track)); in init_tracks()
273 for (i = 0; i < num_tracks; ++i) in init_tracks()
444 for (i = 0; i < num_tracks; ++i) { in record_port_numbers()
477 if (i >= num_tracks) in record_event()
613 for (i = 1; i < num_tracks; ++i) { in finish_tracks()
627 for (i = 0; i < num_tracks; ++i) in write_file()
645 for (i = 0; i < num_tracks; ++i) { in write_file()
/third_party/gstreamer/gstplugins_good/gst/replaygain/
Dgstrganalysis.c284 filter->num_tracks = 0; in gst_rg_analysis_init()
302 filter->num_tracks = g_value_get_int (value); in gst_rg_analysis_set_property()
329 g_value_set_int (value, filter->num_tracks); in gst_rg_analysis_get_property()
534 gboolean album_processing = (filter->num_tracks > 0); in gst_rg_analysis_handle_tags()
591 gboolean album_processing = (filter->num_tracks > 0); in gst_rg_analysis_handle_eos()
592 gboolean album_finished = (filter->num_tracks == 1); in gst_rg_analysis_handle_eos()
638 filter->num_tracks--; in gst_rg_analysis_handle_eos()
642 filter->num_tracks); in gst_rg_analysis_handle_eos()
Dgstrganalysis.h63 guint num_tracks; member
/third_party/ffmpeg/libavformat/
Dvividas.c539 int num_tracks; in viv_read_header() local
554 num_tracks = avio_r8(pb); in viv_read_header()
556 if (num_tracks != 1) { in viv_read_header()
557 av_log(s, AV_LOG_ERROR, "number of tracks %d is not 1\n", num_tracks); in viv_read_header()
Dmatroskaenc.c555 mkv_cues *cues, mkv_track *tracks, int num_tracks) in mkv_assemble_cues() argument
574 for (int j = 0; j < num_tracks; j++) in mkv_assemble_cues()
580 av_assert0(idx >= 0 && idx < num_tracks); in mkv_assemble_cues()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Daudiocdsrc.c148 guint num_tracks; member
227 for (i = 0; i < src->cur_test->num_tracks; ++i) { in gst_cd_foo_src_open()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drganalysis.c423 fail_unless_num_tracks (GstElement * element, guint num_tracks) in fail_unless_num_tracks() argument
428 fail_unless (current == num_tracks, in fail_unless_num_tracks()
430 current, num_tracks); in fail_unless_num_tracks()
/third_party/gstreamer/gstplugins_good/ext/flac/
Dgstflacenc.c550 if (cs->num_tracks <= 0) in add_cuesheet()
559 if (!FLAC__metadata_object_cuesheet_insert_track (cuesheet, cs->num_tracks, in add_cuesheet()