bluetooth: print SBC encoder implementation info

The encoder initialization is done lazily, so we can only get the
information once encoding start. This is abit annoying..
This commit is contained in:
Marc-André Lureau 2009-02-13 15:09:16 +02:00
parent b4c391ee5e
commit 38ded3bb31

View file

@ -904,6 +904,11 @@ static int a2dp_process_render(struct userdata *u) {
(void*) p, u->write_memchunk.length,
d, left,
&written);
PA_ONCE_BEGIN {
pa_log_debug("Using SBC encoder implementation: %s", pa_strnull(sbc_get_implementation_info(&a2dp->sbc)));
} PA_ONCE_END;
pa_memblock_release(u->write_memchunk.memblock);
if (encoded <= 0) {