a-mediastreamer2  5.2.0
Functions

Functions

MSSndCardManagerms_snd_card_manager_get (void)
 
void ms_snd_card_manager_destroy (void)
 
MSSndCardms_snd_card_manager_get_card (MSSndCardManager *m, const char *id)
 
MSSndCardms_snd_card_manager_get_default_card (MSSndCardManager *m)
 
MSSndCardms_snd_card_manager_get_default_capture_card (MSSndCardManager *m)
 
MSSndCardms_snd_card_manager_get_default_playback_card (MSSndCardManager *m)
 
const MSList * ms_snd_card_manager_get_list (MSSndCardManager *m)
 
void ms_snd_card_manager_add_card (MSSndCardManager *m, MSSndCard *c)
 
void ms_snd_card_manager_add_default_card (MSSndCardManager *m, MSSndCard *c)
 
void ms_snd_card_manager_register_desc (MSSndCardManager *m, MSSndCardDesc *desc)
 
void ms_snd_card_manager_reload (MSSndCardManager *m)
 

Detailed Description

Function Documentation

◆ ms_snd_card_manager_get()

MSSndCardManager* ms_snd_card_manager_get ( void  )

Retreive a sound card manager object.

Returns: MSSndCardManager if successful, NULL otherwise.

◆ ms_snd_card_manager_destroy()

void ms_snd_card_manager_destroy ( void  )

Destroy a sound card manager object.

◆ ms_snd_card_manager_get_card()

MSSndCard* ms_snd_card_manager_get_card ( MSSndCardManager m,
const char *  id 
)

Retreive a sound card object based on its name.

Parameters
mA sound card manager containing sound cards.
idA name for card to search.

Returns: MSSndCard if successful, NULL otherwise.

◆ ms_snd_card_manager_get_default_card()

MSSndCard* ms_snd_card_manager_get_default_card ( MSSndCardManager m)

Retreive the default sound card object.

Parameters
mA sound card manager containing sound cards.

Returns: MSSndCard if successful, NULL otherwise.

◆ ms_snd_card_manager_get_default_capture_card()

MSSndCard* ms_snd_card_manager_get_default_capture_card ( MSSndCardManager m)

Retreive the default capture sound card object.

Parameters
mA sound card manager containing sound cards.

Returns: MSSndCard if successful, NULL otherwise.

◆ ms_snd_card_manager_get_default_playback_card()

MSSndCard* ms_snd_card_manager_get_default_playback_card ( MSSndCardManager m)

Retreive the default playback sound card object.

Parameters
mA sound card manager containing sound cards.

Returns: MSSndCard if successful, NULL otherwise.

◆ ms_snd_card_manager_get_list()

const MSList* ms_snd_card_manager_get_list ( MSSndCardManager m)

Retreive the list of sound card objects.

Parameters
mA sound card manager containing sound cards.

Returns: MSList of cards if successful, NULL otherwise.

◆ ms_snd_card_manager_add_card()

void ms_snd_card_manager_add_card ( MSSndCardManager m,
MSSndCard c 
)

Add a sound card object in a sound card manager's list.

Parameters
mA sound card manager containing sound cards.
cA sound card object.

◆ ms_snd_card_manager_add_default_card()

void ms_snd_card_manager_add_default_card ( MSSndCardManager m,
MSSndCard c 
)

Add a default sound card object in a sound card manager's list.

Parameters
mA sound card manager containing sound cards.
cA sound card object.

◆ ms_snd_card_manager_register_desc()

void ms_snd_card_manager_register_desc ( MSSndCardManager m,
MSSndCardDesc desc 
)

Register a sound card description in a sound card manager.

Parameters
mA sound card manager containing sound cards.
descA sound card description object.

◆ ms_snd_card_manager_reload()

void ms_snd_card_manager_reload ( MSSndCardManager m)

Ask all registered MSSndCardDesc to re-detect their soundcards.

Parameters
mThe sound card manager.