Searched refs:rec_stream (Results 1 – 3 of 3) sorted by relevance
/third_party/pulseaudio/src/tests/ |
D | lo-test-util.c | 236 ctx->rec_stream = pa_stream_new(c, "loopback: rec", &ctx->sample_spec, NULL); in context_state_callback() 237 pa_assert(ctx->rec_stream != NULL); in context_state_callback() 238 pa_stream_set_state_callback(ctx->rec_stream, stream_state_callback, ctx); in context_state_callback() 239 pa_stream_set_read_callback(ctx->rec_stream, calibrate_read_cb, ctx); in context_state_callback() 240 pa_stream_set_overflow_callback(ctx->rec_stream, overflow_cb, userdata); in context_state_callback() 242 pa_stream_connect_record(ctx->rec_stream, getenv("TEST_SOURCE"), &buffer_attr, in context_state_callback() 304 if (ctx->rec_stream) { in pa_lo_test_deinit() 305 pa_stream_disconnect(ctx->rec_stream); in pa_lo_test_deinit() 306 pa_stream_unref(ctx->rec_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 | 88 pa_stream *rec_stream; member 275 !(i)->rec_stream || pa_stream_get_state((i)->rec_stream) != PA_STREAM_READY) { \ 397 if (i->rec_stream) { in fd_info_free() 398 pa_stream_disconnect(i->rec_stream); in fd_info_free() 399 pa_stream_unref(i->rec_stream); in fd_info_free() 566 if (i->rec_stream) { in atfork_child() 567 pa_stream_unref(i->rec_stream); in atfork_child() 568 i->rec_stream = NULL; in atfork_child() 638 i->rec_stream = NULL; in fd_info_new() 814 if (s == i->rec_stream) { in stream_request_cb() [all …]
|