Poster of Linux kernelThe best gift for a Linux geek
YFreeAudioModesList

YFreeAudioModesList

Section: Y Version 2 (3) Updated: Release 14
Local index Up
 

NAME

YFreeAudioModesList - frees an Audio modes list  

SYNTAX

#include <Y2/Y.h>
#include <Y2/Ylib.h>

void YFreeAudioModesList(

        YAudioModeValuesStruct **list,

        int count
)  

ARGUMENTS

list
Specifies the Audio modes list to be freed.
count
Specifies the number of items in the list.
 

DESCRIPTION

The YFreeAudioModesList function frees the specified Audio modes list which should have been returned by a previous call to YGetAudioModes.  

EXAMPLE

#include <stdio.h>
#include <Y2/Y.h>
#include <Y2/Ylib.h>

int main(int argc, char *argv[])
{

        YAudioModeValuesStruct **list;

        int count;

        YConnection *con = YOpenConnection(

                "/usr/sbin/starty",

                "127.0.0.1:9433"

        );

        if(con == NULL)

                return(1);


        list = YGetAudioModes(con, &count);


        YFreeAudioModesList(list, count);


        YCloseConnection(con, False);


        return(0);
}  

SEE ALSO

YGetAudioModes(3) YChangeAudioModePreset(3)


 

Index

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
EXAMPLE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:59:21 GMT, April 16, 2011