• Home
  • Raw
  • Download

Lines Matching refs:rec_stream

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()
815 n = pa_stream_readable_size(i->rec_stream); in stream_request_cb()
858 if (!i->play_stream && !i->rec_stream) in fd_info_copy_data()
913 if ((i->rec_stream) && (pa_stream_get_state(i->rec_stream) == PA_STREAM_READY)) { in fd_info_copy_data()
914 n = pa_stream_readable_size(i->rec_stream); in fd_info_copy_data()
928 if (pa_stream_peek(i->rec_stream, &data, &len) < 0) { in fd_info_copy_data()
939 if (pa_stream_drop(i->rec_stream) < 0) { in fd_info_copy_data()
964 if (pa_stream_drop(i->rec_stream) < 0) { in fd_info_copy_data()
1012 } else if (s == i->rec_stream) { in stream_state_cb()
1016 pa_stream_unref(i->rec_stream); in stream_state_cb()
1017 i->rec_stream = NULL; in stream_state_cb()
1081 if (!(i->rec_stream = pa_stream_new(i->context, stream_name(), &i->sample_spec, NULL))) { in create_record_stream()
1086 pa_stream_set_state_callback(i->rec_stream, stream_state_cb, i); in create_record_stream()
1087 pa_stream_set_read_callback(i->rec_stream, stream_request_cb, i); in create_record_stream()
1088 pa_stream_set_latency_update_callback(i->rec_stream, stream_latency_update_cb, i); in create_record_stream()
1099 if (pa_stream_connect_record(i->rec_stream, NULL, &attr, flags) < 0) { in create_record_stream()
1125 if (i->rec_stream) { in free_streams()
1126 pa_stream_disconnect(i->rec_stream); in free_streams()
1127 pa_stream_unref(i->rec_stream); in free_streams()
1128 i->rec_stream = NULL; in free_streams()
1157 if (!i->rec_stream) { in io_event_cb()
1960 else if (s == i->rec_stream) in dsp_cork()
2222 if (i->rec_stream) { in dsp_ioctl()
2223 if (dsp_cork(i, i->rec_stream, !((*(int*) argp) & PCM_ENABLE_INPUT)) < 0) in dsp_ioctl()
2270 if (i->rec_stream) { in dsp_ioctl()
2271 if ((k = pa_stream_readable_size(i->rec_stream)) == (size_t) -1) in dsp_ioctl()