mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
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:
parent
b4c391ee5e
commit
38ded3bb31
1 changed files with 5 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue