mediastreamer2 2.7.3
Functions
Sound Card Manager API
Sound Card API - manage audio capture/play filters.

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_register_desc (MSSndCardManager *m, MSSndCardDesc *desc)
void ms_snd_card_manager_reload (MSSndCardManager *m)

Function Documentation

MSSndCardManager* ms_snd_card_manager_get ( void  )

Retreive a sound card manager object.

Returns: MSSndCardManager if successfull, NULL otherwise.

void ms_snd_card_manager_destroy ( void  )

Destroy a sound card manager object.

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 successfull, NULL otherwise.

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 successfull, NULL otherwise.

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 successfull, NULL otherwise.

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 successfull, NULL otherwise.

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 successfull, NULL otherwise.

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.
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.
void ms_snd_card_manager_reload ( MSSndCardManager m)

Ask all registered MSSndCardDesc to re-detect their soundcards.

Parameters:
mThe sound card manager.