Home
last modified time | relevance | path

Searched refs:no_tracks (Results 1 – 9 of 9) sorted by relevance

/external/libmtp/src/
Dplaylist-spl.c131 pl->no_tracks = 0; in spl_to_playlist_t()
162 pl->no_tracks = trackno_spl_text_t(p); in spl_to_playlist_t()
163 LIBMTP_PLST_DEBUG("%u track%s found\n", pl->no_tracks, pl->no_tracks==1?"":"s"); in spl_to_playlist_t()
164 pl->tracks = malloc(sizeof(uint32_t)*(pl->no_tracks)); in spl_to_playlist_t()
212 LIBMTP_PLST_DEBUG("%u track%s\n", pl->no_tracks, pl->no_tracks==1?"":"s"); in playlist_t_to_spl()
216 spl_text_t_from_tracks(&t, pl->tracks, pl->no_tracks, ver_major, ver_minor, NULL, folders, files); in playlist_t_to_spl()
278 if(old->no_tracks != newlist->no_tracks) in update_spl_playlist()
280 for(i=0;i<newlist->no_tracks && delta==0;i++) { in update_spl_playlist()
Dlibmtp.c205 uint32_t const no_tracks);
214 uint32_t const no_tracks);
7462 new->no_tracks = 0;
7546 ret = ptp_mtp_getobjectreferences(params, pl->playlist_id, &pl->tracks, &pl->no_tracks);
7551 pl->no_tracks = 0;
7621 ret = ptp_mtp_getobjectreferences(params, pl->playlist_id, &pl->tracks, &pl->no_tracks);
7625 pl->no_tracks = 0;
7662 uint32_t const no_tracks) argument
7957 if (no_tracks > 0) {
7959 ret = ptp_mtp_setobjectreferences (params, *newid, (uint32_t *) tracks, no_tracks);
[all …]
Dlibmtp.h.in733 uint32_t no_tracks; /**< The number of tracks in this playlist */ member
749 uint32_t no_tracks; /**< The number of tracks in this album */ member
/external/libmtp/examples/
Dgetplaylist.c30 printf("Number of items: %u\n", pl->no_tracks); in dump_playlist()
31 if(pl->no_tracks > 0) { in dump_playlist()
32 for(i=0;i<pl->no_tracks;i++) { in dump_playlist()
Dsendtr.c137 tracks = (uint32_t *)malloc((found_album->no_tracks+1) * sizeof(uint32_t)); in add_track_to_album()
143 found_album->no_tracks++; in add_track_to_album()
145 memcpy(tracks, found_album->tracks, found_album->no_tracks * sizeof(uint32_t)); in add_track_to_album()
148 tracks[found_album->no_tracks-1] = trackmeta->item_id; in add_track_to_album()
157 albuminfo->no_tracks = 1; in add_track_to_album()
Dplaylists.c35 for (i = 0; i < pl->no_tracks; i++) { in dump_plinfo()
Dnewplaylist.c99 playlist->no_tracks = idcount; in main()
Dalbums.c34 printf(" Tracks: %d\n\n",album->no_tracks); in dump_albuminfo()
Dalbumart.c147 album->no_tracks = idcount;