summaryrefslogtreecommitdiffstats
path: root/plugins/lib/bluealsa/hal-bluealsa-transports.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/lib/bluealsa/hal-bluealsa-transports.c')
-rw-r--r--plugins/lib/bluealsa/hal-bluealsa-transports.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/lib/bluealsa/hal-bluealsa-transports.c b/plugins/lib/bluealsa/hal-bluealsa-transports.c
index 590ab5d..b528212 100644
--- a/plugins/lib/bluealsa/hal-bluealsa-transports.c
+++ b/plugins/lib/bluealsa/hal-bluealsa-transports.c
@@ -147,9 +147,11 @@ char * halBlueAlsaTransportAsString(char * buff, size_t len, const struct ba_msg
char addr[18];
ba2str(&transport->addr, addr);
- snprintf(buff, len, "%s,%s,%s", addr,
+ snprintf(buff, len, "%s,%s,%s sampling %d codec %d", addr,
transport->type & BA_PCM_TYPE_A2DP?"a2dp":"sco",
- transport->type & BA_PCM_STREAM_PLAYBACK?"playback":"capture");
+ transport->type & BA_PCM_STREAM_PLAYBACK?"playback":"capture",
+ transport->sampling,
+ transport->codec);
return buff;
}