Commit 83d571b9 authored by Ghislain MARY's avatar Ghislain MARY

Fix build with new factory mechanism.

parent 18c5d7c5
......@@ -645,8 +645,8 @@ static MSFilter *ms_wasapi_snd_card_create_writer(MSSndCard *card) {
#define MS_PLUGIN_DECLARE(type) extern "C" type
#endif
MS_PLUGIN_DECLARE(void) libmswasapi_init(void) {
MSSndCardManager *manager = ms_snd_card_manager_get();
MS_PLUGIN_DECLARE(void) libmswasapi_init(MSFactory *factory) {
MSSndCardManager *manager = ms_factory_get_snd_manager(factory);
ms_snd_card_manager_register_desc(manager, &ms_wasapi_snd_card_desc);
ms_message("libmswasapi plugin loaded");
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment