mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
bluez5: enable logging for codecs
Add codec->set_log for setting the logging object for each codec. Bump codec API.
This commit is contained in:
parent
d29aafd857
commit
889d507e9c
2 changed files with 7 additions and 1 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include <spa/support/plugin.h>
|
||||
#include <spa/pod/pod.h>
|
||||
#include <spa/pod/builder.h>
|
||||
#include <spa/support/log.h>
|
||||
|
||||
#include "a2dp-codec-caps.h"
|
||||
|
||||
|
|
@ -43,7 +44,7 @@
|
|||
|
||||
#define SPA_TYPE_INTERFACE_Bluez5CodecA2DP SPA_TYPE_INFO_INTERFACE_BASE "Bluez5:Codec:A2DP:Private"
|
||||
|
||||
#define SPA_VERSION_BLUEZ5_CODEC_A2DP 4
|
||||
#define SPA_VERSION_BLUEZ5_CODEC_A2DP 5
|
||||
|
||||
struct spa_bluez5_codec_a2dp {
|
||||
struct spa_interface iface;
|
||||
|
|
@ -146,6 +147,8 @@ struct a2dp_codec {
|
|||
|
||||
int (*reduce_bitpool) (void *data);
|
||||
int (*increase_bitpool) (void *data);
|
||||
|
||||
void (*set_log) (struct spa_log *global_log);
|
||||
};
|
||||
|
||||
struct a2dp_codec_config {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue