tag_pmp_music_t Struct Reference
[PMPlib music API]
Interface for organizing music files.
More...
#include <pmp.h>
Data Fields | |
void * | instance |
Pointer for the internal use. | |
pmp_t * | pmp |
The pointer to pmp_t interface. | |
result_t(* | set_records )(pmp_music_t *music, const pmp_music_record_t *records, uint32_t num_records) |
Set a list of music records. | |
result_t(* | get_records )(pmp_music_t *music, pmp_music_record_t *records, uint32_t *num_records) |
Get a list of music records. | |
result_t(* | set_playlists )(pmp_music_t *music, const pmp_playlist_t *playlists, uint32_t num_playlists) |
Set a list of music playlists. | |
result_t(* | get_playlists )(pmp_music_t *music, pmp_playlist_t *playlists, uint32_t *num_playlists) |
Get a list of music playlists. | |
result_t(* | dump )(pmp_music_t *music, FILE *fp, int flag) |
Dump the music database. |
Detailed Description
Interface for organizing music files.This interface is responsible for several operations relevant to music files in a portable media device. The major operations are:
- setting a list of music records for building a music database
- getting a list of music records from the existing music database
- dumping the existing music database in a text format
- setting a list of music files for generating
- getting a list of music playlists used by the device
You cannot create an instance of this structure by yourself. Access pmp_t::music member to obtain this interface.
Definition at line 510 of file pmp.h.
Field Documentation
The documentation for this struct was generated from the following file: