Searched refs:play_stream (Results 1 – 3 of 3) sorted by relevance
/third_party/pulseaudio/src/tests/ |
D | lo-test-util.c | 173 if (s == ctx->play_stream) { in stream_state_callback() 220 ctx->play_stream = pa_stream_new(c, "loopback: play", &ctx->sample_spec, NULL); in context_state_callback() 221 pa_assert(ctx->play_stream != NULL); in context_state_callback() 222 pa_stream_set_state_callback(ctx->play_stream, stream_state_callback, ctx); in context_state_callback() 223 pa_stream_set_write_callback(ctx->play_stream, calibrate_write_cb, ctx); in context_state_callback() 224 pa_stream_set_underflow_callback(ctx->play_stream, underflow_cb, userdata); in context_state_callback() 226 pa_stream_connect_playback(ctx->play_stream, getenv("TEST_SINK"), &buffer_attr, in context_state_callback() 299 if (ctx->play_stream) { in pa_lo_test_deinit() 300 pa_stream_disconnect(ctx->play_stream); in pa_lo_test_deinit() 301 pa_stream_unref(ctx->play_stream); in pa_lo_test_deinit()
|
D | lo-test-util.h | 41 pa_stream *play_stream, *rec_stream; member
|
/third_party/pulseaudio/src/utils/ |
D | padsp.c | 87 pa_stream *play_stream; member 267 !(i)->play_stream || pa_stream_get_state((i)->play_stream) != PA_STREAM_READY) { \ 392 if (i->play_stream) { in fd_info_free() 393 pa_stream_disconnect(i->play_stream); in fd_info_free() 394 pa_stream_unref(i->play_stream); in fd_info_free() 561 if (i->play_stream) { in atfork_child() 562 pa_stream_unref(i->play_stream); in atfork_child() 563 i->play_stream = NULL; in atfork_child() 637 i->play_stream = NULL; in fd_info_new() 801 if (s == i->play_stream) { in stream_request_cb() [all …]
|