Commit 793311eb authored by François Grisez's avatar François Grisez
Browse files

Add trace when an stream is connected and display its parameters

parent 4c8f954f
......@@ -199,6 +199,11 @@ static bool_t stream_connect(Stream *s, StreamType type) {
s->stream = NULL;
return FALSE;
}
ms_message("pulseaudio %s stream connected (%dHz, %dch)",
type == STREAM_TYPE_PLAYBACK ? "playback" : "record",
s->sampleSpec.rate,
s->sampleSpec.channels);
return TRUE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment