SYNTAX
#include <Y2/Y.h>
#include <Y2/Ylib.h>
void YFreeAudioCDTracksList(
YAudioCDTrackStruct **list,
int count
)
ARGUMENTS
- list
- Specifies the audio CD tracks list to be freed.
- count
- Specifies the number of items in the list.
DESCRIPTION
The YFreeAudioCDTracksList function frees the specified audio CD tracks list which should have been returned by a previous call to YGetAudioCDTracks.
EXAMPLE
#include <stdio.h>
#include <Y2/Y.h>
#include <Y2/Ylib.h>
int main(int argc, char *argv[])
{
YAudioCDTrackStruct **list;
int count;
YConnection *con = YOpenConnection(
"/usr/sbin/starty",
"127.0.0.1:9433"
);
if(con == NULL)
return(1);
list = YGetAudioCDTracks(con, &count);
/* Iterate through list here. */
YFreeAudioCDTracksList(list, count);
YCloseConnection(con, False);
return(0);
}