• Home
  • Raw
  • Download

Lines Matching refs:tracks

132   GstAudioCdSrcTrack *tracks;  member
372 } else if (track > 0 && src->priv->tracks != NULL) { in gst_audio_cd_src_set_property()
373 src->priv->cur_sector = src->priv->tracks[track - 1].start; in gst_audio_cd_src_set_property()
459 if (sector >= src->priv->tracks[i].start in gst_audio_cd_src_get_track_from_sector()
460 && sector <= src->priv->tracks[i].end) in gst_audio_cd_src_get_track_from_sector()
492 src_val = src->priv->tracks[src_val].start * (gint64) SAMPLES_PER_SECTOR; in gst_audio_cd_src_convert()
628 g_assert (src->priv->tracks != NULL); in gst_audio_cd_src_query()
641 sectors = src->priv->tracks[src->priv->cur_track].end - in gst_audio_cd_src_query()
642 src->priv->tracks[src->priv->cur_track].start + 1; in gst_audio_cd_src_query()
644 sectors = src->priv->tracks[src->priv->num_tracks - 1].end - in gst_audio_cd_src_query()
645 src->priv->tracks[0].start + 1; in gst_audio_cd_src_query()
670 g_assert (src->priv->tracks != NULL); in gst_audio_cd_src_query()
685 src->priv->tracks[src->priv->cur_track].start; in gst_audio_cd_src_query()
687 pos_sector = src->priv->cur_sector - src->priv->tracks[0].start; in gst_audio_cd_src_query()
752 seek_sector += src->priv->tracks[src->priv->cur_track].start; in gst_audio_cd_src_do_seek()
755 seek_sector += src->priv->tracks[0].start; in gst_audio_cd_src_do_seek()
868 src->priv->cur_sector = src->priv->tracks[start].start; in gst_audio_cd_src_handle_track_seek()
1031 && src->priv->tracks != NULL in gst_audio_cd_src_uri_set_uri()
1035 if (src->priv->uri_track > 0 && src->priv->tracks != NULL) { in gst_audio_cd_src_uri_set_uri()
1098 src->priv->tracks[src->priv->num_tracks - 1].end; in gst_audio_cd_src_add_track()
1109 src->priv->tracks = in gst_audio_cd_src_add_track()
1110 g_renew (GstAudioCdSrcTrack, src->priv->tracks, src->priv->num_tracks); in gst_audio_cd_src_add_track()
1111 src->priv->tracks[src->priv->num_tracks - 1] = *track; in gst_audio_cd_src_add_track()
1173 if (src->priv->tracks[i].is_audio) { in gst_audio_cd_src_calculate_musicbrainz_discid()
1174 last_audio_track = src->priv->tracks[i].num; in gst_audio_cd_src_calculate_musicbrainz_discid()
1179 src->priv->tracks[last_audio_track - 1].end + 1 + CD_MSF_OFFSET; in gst_audio_cd_src_calculate_musicbrainz_discid()
1183 g_snprintf (tmp, sizeof (tmp), "%02X", src->priv->tracks[0].num); in gst_audio_cd_src_calculate_musicbrainz_discid()
1184 g_string_append_printf (s, "%02X", src->priv->tracks[0].num); in gst_audio_cd_src_calculate_musicbrainz_discid()
1197 guint frame_offset = src->priv->tracks[i].start + CD_MSF_OFFSET; in gst_audio_cd_src_calculate_musicbrainz_discid()
1279 first_sector = src->priv->tracks[i].start + CD_MSF_OFFSET; in gst_audio_cd_src_calculate_cddb_id()
1281 last_sector = src->priv->tracks[i].end + CD_MSF_OFFSET + 1; in gst_audio_cd_src_calculate_cddb_id()
1284 lba_to_msf (src->priv->tracks[i].start + CD_MSF_OFFSET, NULL, NULL, NULL, in gst_audio_cd_src_calculate_cddb_id()
1288 (src->priv->tracks[i].end - src->priv->tracks[i].start + 1) / 75; in gst_audio_cd_src_calculate_cddb_id()
1292 num_audio_tracks, src->priv->tracks[i].start + CD_MSF_OFFSET, in gst_audio_cd_src_calculate_cddb_id()
1328 src->priv->tracks[i].start + CD_MSF_OFFSET); in gst_audio_cd_src_calculate_cddb_id()
1350 if (src->priv->tracks[i].tags == NULL) in gst_audio_cd_src_add_tags()
1351 src->priv->tracks[i].tags = gst_tag_list_new_empty (); in gst_audio_cd_src_add_tags()
1353 num_sectors = src->priv->tracks[i].end - src->priv->tracks[i].start + 1; in gst_audio_cd_src_add_tags()
1357 gst_tag_list_add (src->priv->tracks[i].tags, in gst_audio_cd_src_add_tags()
1378 GST_TAG_CDDA_TRACK_TAGS, src->priv->tracks[i].tags, NULL); in gst_audio_cd_src_add_tags()
1399 track = &src->priv->tracks[i]; in gst_audio_cd_src_make_toc()
1450 sector = src->priv->tracks[i].start;
1556 if (src->priv->num_tracks == 0 || src->priv->tracks == NULL) in gst_audio_cd_src_start()
1566 src->priv->toc_offset -= src->priv->tracks[0].start; in gst_audio_cd_src_start()
1569 src->priv->tracks[i].start += src->priv->toc_offset; in gst_audio_cd_src_start()
1570 src->priv->tracks[i].end += src->priv->toc_offset; in gst_audio_cd_src_start()
1578 g_qsort_with_data (src->priv->tracks, src->priv->num_tracks, in gst_audio_cd_src_start()
1582 && !src->priv->tracks[src->priv->num_tracks - 1].is_audio) in gst_audio_cd_src_start()
1606 src->priv->cur_sector = src->priv->tracks[src->priv->cur_track].start; in gst_audio_cd_src_start()
1634 if (src->priv->tracks != NULL) { in gst_audio_cd_src_clear_tracks()
1638 if (src->priv->tracks[i].tags) in gst_audio_cd_src_clear_tracks()
1639 gst_tag_list_unref (src->priv->tracks[i].tags); in gst_audio_cd_src_clear_tracks()
1642 g_free (src->priv->tracks); in gst_audio_cd_src_clear_tracks()
1643 src->priv->tracks = NULL; in gst_audio_cd_src_clear_tracks()
1697 (src->priv->cur_sector > src->priv->tracks[src->priv->cur_track].end); in gst_audio_cd_src_create()
1702 src->priv->tracks[src->priv->num_tracks - 1].end); in gst_audio_cd_src_create()
1728 src->priv->tracks[src->priv->cur_track].tags, GST_TAG_MERGE_REPLACE); in gst_audio_cd_src_create()