mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
rtp: Add some logging to know what backend is being used
Should make debugging any issues that come up easier.
This commit is contained in:
parent
a34d2e547b
commit
a17cc55c4c
2 changed files with 8 additions and 0 deletions
|
|
@ -165,6 +165,8 @@ pa_rtp_context* pa_rtp_context_new_send(int fd, uint8_t payload, size_t mtu, con
|
|||
|
||||
pa_assert(fd >= 0);
|
||||
|
||||
pa_log_info("Initialising GStreamer RTP backend for send");
|
||||
|
||||
c = pa_xnew0(pa_rtp_context, 1);
|
||||
|
||||
c->ss = *ss;
|
||||
|
|
@ -406,6 +408,8 @@ pa_rtp_context* pa_rtp_context_new_recv(int fd, uint8_t payload, const pa_sample
|
|||
|
||||
pa_assert(fd >= 0);
|
||||
|
||||
pa_log_info("Initialising GStreamer RTP backend for receive");
|
||||
|
||||
c = pa_xnew0(pa_rtp_context, 1);
|
||||
|
||||
c->fdsem = pa_fdsem_new();
|
||||
|
|
|
|||
|
|
@ -63,6 +63,8 @@ pa_rtp_context* pa_rtp_context_new_send(int fd, uint8_t payload, size_t mtu, con
|
|||
|
||||
pa_assert(fd >= 0);
|
||||
|
||||
pa_log_info("Initialising native RTP backend for send");
|
||||
|
||||
c = pa_xnew0(pa_rtp_context, 1);
|
||||
|
||||
c->fd = fd;
|
||||
|
|
@ -172,6 +174,8 @@ int pa_rtp_send(pa_rtp_context *c, pa_memblockq *q) {
|
|||
pa_rtp_context* pa_rtp_context_new_recv(int fd, uint8_t payload, const pa_sample_spec *ss) {
|
||||
pa_rtp_context *c;
|
||||
|
||||
pa_log_info("Initialising native RTP backend for receive");
|
||||
|
||||
c = pa_xnew0(pa_rtp_context, 1);
|
||||
|
||||
c->fd = fd;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue