Commit 314e0d6e authored by Sylvain Berfini's avatar Sylvain Berfini 🐮
Browse files

Added logs

parent 1bed605f
......@@ -407,6 +407,7 @@ MSFilter *android_snd_card_create_writer(MSSndCard *card) {
MSFilter *f = ms_android_snd_write_new(ms_snd_card_get_factory(card));
AAudioOutputContext *octx = static_cast<AAudioOutputContext*>(f->data);
octx->soundCard = ms_snd_card_ref(card);
ms_message("[AAudio] Created using device ID: %s (%i)", octx->soundCard->id, octx->soundCard->internal_id);
octx->setContext((AAudioContext*)card->data);
return f;
}
......@@ -433,6 +433,7 @@ MSFilter *android_snd_card_create_reader(MSSndCard *card) {
MSFilter *f = ms_android_snd_read_new(ms_snd_card_get_factory(card));
AAudioInputContext *ictx = static_cast<AAudioInputContext*>(f->data);
ictx->soundCard = ms_snd_card_ref(card);
ms_message("[AAudio] Created using device ID: %s (%i)", ictx->soundCard->id, ictx->soundCard->internal_id);
ictx->setContext((AAudioContext*)card->data);
return f;
}
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