Searched refs:no_tracks (Results 1 – 10 of 10) sorted by relevance
/external/libmtp/examples/ |
D | getplaylist.c | 30 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()
|
D | sendtr.c | 125 tracks = (uint32_t *)malloc((found_album->no_tracks+1) * sizeof(uint32_t)); in add_track_to_album() 131 found_album->no_tracks++; in add_track_to_album() 133 memcpy(tracks, found_album->tracks, found_album->no_tracks * sizeof(uint32_t)); in add_track_to_album() 136 tracks[found_album->no_tracks-1] = trackmeta->item_id; in add_track_to_album() 146 albuminfo->no_tracks = 1; in add_track_to_album()
|
D | albums.c | 34 printf(" Tracks: %d\n\n",album->no_tracks); in dump_albuminfo()
|
D | playlists.c | 35 for (i = 0; i < pl->no_tracks; i++) { in dump_plinfo()
|
D | newplaylist.c | 91 playlist->no_tracks = idcount; in main()
|
D | albumart.c | 134 album->no_tracks = idcount;
|
/external/libmtp/src/ |
D | playlist-spl.c | 130 pl->no_tracks = 0; in spl_to_playlist_t() 161 pl->no_tracks = trackno_spl_text_t(p); in spl_to_playlist_t() 162 IF_DEBUG() printf("%u track%s found\n", pl->no_tracks, pl->no_tracks==1?"":"s"); in spl_to_playlist_t() 163 pl->tracks = malloc(sizeof(uint32_t)*(pl->no_tracks)); in spl_to_playlist_t() 211 IF_DEBUG() printf("%u track%s\n", pl->no_tracks, pl->no_tracks==1?"":"s"); in playlist_t_to_spl() 215 spl_text_t_from_tracks(&t, pl->tracks, pl->no_tracks, ver_major, ver_minor, NULL, folders, files); in playlist_t_to_spl() 277 if(old->no_tracks != newlist->no_tracks) in update_spl_playlist() 279 for(i=0;i<newlist->no_tracks && delta==0;i++) { in update_spl_playlist()
|
D | libmtp.c | 165 uint32_t const no_tracks); 174 uint32_t const no_tracks); 6846 new->no_tracks = 0; 6930 ret = ptp_mtp_getobjectreferences(params, pl->playlist_id, &pl->tracks, &pl->no_tracks); 6935 pl->no_tracks = 0; 7005 ret = ptp_mtp_getobjectreferences(params, pl->playlist_id, &pl->tracks, &pl->no_tracks); 7009 pl->no_tracks = 0; 7046 uint32_t const no_tracks) argument 7329 if (no_tracks > 0) { 7331 ret = ptp_mtp_setobjectreferences (params, *newid, (uint32_t *) tracks, no_tracks); [all …]
|
D | libmtp.h | 660 uint32_t no_tracks; /**< The number of tracks in this playlist */ member 676 uint32_t no_tracks; /**< The number of tracks in this album */ member
|
D | libmtp.h.in | 658 uint32_t no_tracks; /**< The number of tracks in this playlist */ member 674 uint32_t no_tracks; /**< The number of tracks in this album */ member
|