Lines Matching refs:ml
50 static void packet_test(unsigned npackets, size_t plength, pa_mainloop *ml, pa_pstream *p1, pa_pstr… in packet_test() argument
72 pa_mainloop_iterate(ml, 0, NULL); in packet_test()
76 pa_mainloop_iterate(ml, 1, NULL); in packet_test()
87 pa_mainloop *ml = pa_mainloop_new(); in START_TEST() local
96 io1 = pa_iochannel_new(pa_mainloop_get_api(ml), pipefd[2], pipefd[1]); in START_TEST()
97 io2 = pa_iochannel_new(pa_mainloop_get_api(ml), pipefd[0], pipefd[3]); in START_TEST()
98 p1 = pa_pstream_new(pa_mainloop_get_api(ml), io1, mp); in START_TEST()
99 p2 = pa_pstream_new(pa_mainloop_get_api(ml), io2, mp); in START_TEST()
103 packet_test(250, 5, ml, p1, p2); in START_TEST()
104 packet_test(10, 1234567, ml, p1, p2); in START_TEST()
108 sr1 = pa_srbchannel_new(pa_mainloop_get_api(ml), mp); in START_TEST()
111 sr2 = pa_srbchannel_new_from_template(pa_mainloop_get_api(ml), &srt); in START_TEST()
114 packet_test(250, 5, ml, p1, p2); in START_TEST()
115 packet_test(10, 1234567, ml, p1, p2); in START_TEST()
120 pa_mainloop_free(ml); in START_TEST()