mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
improve debug
This commit is contained in:
parent
6d494c120f
commit
316a96d501
3 changed files with 24 additions and 9 deletions
|
|
@ -595,9 +595,10 @@ static void a2dp_on_timeout(struct spa_source *source)
|
|||
|
||||
static int do_start(struct impl *this)
|
||||
{
|
||||
int res, val;
|
||||
int i, res, val, size;
|
||||
struct port *port;
|
||||
socklen_t len;
|
||||
uint8_t *conf;
|
||||
|
||||
if (this->started)
|
||||
return 0;
|
||||
|
|
@ -613,6 +614,12 @@ static int do_start(struct impl *this)
|
|||
|
||||
port = &this->port;
|
||||
|
||||
conf = this->transport->configuration;
|
||||
size = this->transport->configuration_len;
|
||||
|
||||
for (i = 0; i < size; i++)
|
||||
spa_log_debug(this->log, " %d: %02x", i, conf[i]);
|
||||
|
||||
this->codec_data = this->codec->init(this->codec, 0,
|
||||
this->transport->configuration,
|
||||
this->transport->configuration_len,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue