YFreeAudioCDTracksList3
Frees a audio cd tracks list
Usage
#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. |
Overview
The YFreeAudioCDTracksList function frees the specified audio CD tracks list which should have been returned by a previous call to YGetAudioCDTracks.
Examples
#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);
}
Releases
Unchanged in 4 releases since Debian 3.1 (Sarge).