diff options
-rw-r--r-- | audio/out/ao_pulse.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/out/ao_pulse.c b/audio/out/ao_pulse.c index 487b706c1b..790ecb23dc 100644 --- a/audio/out/ao_pulse.c +++ b/audio/out/ao_pulse.c @@ -295,6 +295,12 @@ static int init(struct ao *ao) goto fail; } + MP_VERBOSE(ao, "Library version: %s\n", pa_get_library_version()); + MP_VERBOSE(ao, "Proto: %lu\n", + (long)pa_context_get_protocol_version(priv->context)); + MP_VERBOSE(ao, "Server proto: %lu\n", + (long)pa_context_get_server_protocol_version(priv->context)); + pa_context_set_state_callback(priv->context, context_state_cb, ao); if (pa_context_connect(priv->context, host, 0, NULL) < 0) |