Home
last modified time | relevance | path

Searched refs:pa_pstream (Results 1 – 12 of 12) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dpstream.h37 typedef struct pa_pstream pa_pstream; typedef
39 typedef void (*pa_pstream_packet_cb_t)(pa_pstream *p, pa_packet *packet, pa_cmsg_ancil_data *ancil_…
40 typedef void (*pa_pstream_memblock_cb_t)(pa_pstream *p, uint32_t channel, int64_t offset, pa_seek_m…
41 typedef void (*pa_pstream_notify_cb_t)(pa_pstream *p, void *userdata);
42 typedef void (*pa_pstream_block_id_cb_t)(pa_pstream *p, uint32_t block_id, void *userdata);
44 pa_pstream* pa_pstream_new(pa_mainloop_api *m, pa_iochannel *io, pa_mempool *p);
46 pa_pstream* pa_pstream_ref(pa_pstream*p);
47 void pa_pstream_unref(pa_pstream*p);
49 void pa_pstream_unlink(pa_pstream *p);
51 int pa_pstream_attach_memfd_shmid(pa_pstream *p, unsigned shm_id, int memfd_fd);
[all …]
Dpstream.c121 struct pa_pstream { struct
236 static int do_write(pa_pstream *p);
237 static int do_read(pa_pstream *p, struct pstream_read *re);
239 static void do_pstream_read_write(pa_pstream *p) { in do_pstream_read_write()
288 pa_pstream *p = userdata; in srb_callback()
307 pa_pstream *p = userdata; in io_callback()
317 pa_pstream *p = userdata; in defer_callback()
329 pa_pstream *pa_pstream_new(pa_mainloop_api *m, pa_iochannel *io, pa_mempool *pool) { in pa_pstream_new()
330 pa_pstream *p; in pa_pstream_new()
336 p = pa_xnew0(pa_pstream, 1); in pa_pstream_new()
[all …]
Dpstream-util.c33 static void pa_pstream_send_tagstruct_with_ancil_data(pa_pstream *p, pa_tagstruct *t, pa_cmsg_ancil… in pa_pstream_send_tagstruct_with_ancil_data()
51 void pa_pstream_send_tagstruct_with_creds(pa_pstream *p, pa_tagstruct *t, const pa_creds *creds) { in pa_pstream_send_tagstruct_with_creds()
71 void pa_pstream_send_tagstruct_with_fds(pa_pstream *p, pa_tagstruct *t, int nfd, const int *fds, in pa_pstream_send_tagstruct_with_fds()
89 void pa_pstream_send_tagstruct_with_creds(pa_pstream *p, pa_tagstruct *t, const pa_creds *creds) { in pa_pstream_send_tagstruct_with_creds()
93 void PA_GCC_NORETURN pa_pstream_send_tagstruct_with_fds(pa_pstream *p, pa_tagstruct *t, int nfd, co… in pa_pstream_send_tagstruct_with_fds()
100 void pa_pstream_send_error(pa_pstream *p, uint32_t tag, uint32_t error) { in pa_pstream_send_error()
110 void pa_pstream_send_simple_ack(pa_pstream *p, uint32_t tag) { in pa_pstream_send_simple_ack()
132 int pa_pstream_register_memfd_mempool(pa_pstream *p, pa_mempool *pool, const char **fail_reason) { in pa_pstream_register_memfd_mempool()
Dpstream-util.h29 void pa_pstream_send_tagstruct_with_creds(pa_pstream *p, pa_tagstruct *t, const pa_creds *creds);
30 void pa_pstream_send_tagstruct_with_fds(pa_pstream *p, pa_tagstruct *t, int nfd, const int *fds, bo…
34 void pa_pstream_send_error(pa_pstream *p, uint32_t tag, uint32_t error);
35 void pa_pstream_send_simple_ack(pa_pstream *p, uint32_t tag);
37 int pa_pstream_register_memfd_mempool(pa_pstream *p, pa_mempool *pool, const char **fail_reason);
Dnative-common.c38 int pa_common_command_register_memfd_shmid(pa_pstream *p, pa_pdispatch *pd, uint32_t version, in pa_common_command_register_memfd_shmid()
Dprotocol-native.h80 pa_pstream* pa_native_connection_get_pstream(pa_native_connection *c);
Dnative-common.h210 int pa_common_command_register_memfd_shmid(pa_pstream *p, pa_pdispatch *pd, uint32_t version,
Dprotocol-native.c190 pa_pstream *pstream;
5096 static void pstream_packet_callback(pa_pstream *p, pa_packet *packet, pa_cmsg_ancil_data *ancil_dat… in pstream_packet_callback()
5109 static void pstream_memblock_callback(pa_pstream *p, uint32_t channel, int64_t offset, pa_seek_mode… in pstream_memblock_callback()
5190 static void pstream_die_callback(pa_pstream *p, void *userdata) { in pstream_die_callback()
5200 static void pstream_drain_callback(pa_pstream *p, void *userdata) { in pstream_drain_callback()
5209 static void pstream_revoke_callback(pa_pstream *p, uint32_t block_id, void *userdata) { in pstream_revoke_callback()
5218 static void pstream_release_callback(pa_pstream *p, uint32_t block_id, void *userdata) { in pstream_release_callback()
5620 pa_pstream* pa_native_connection_get_pstream(pa_native_connection *c) { in pa_native_connection_get_pstream()
/third_party/pulseaudio/src/tests/
Dsrbchannel-test.c37 static void packet_received(pa_pstream *p, pa_packet *packet, pa_cmsg_ancil_data *ancil_data, void … in packet_received()
50 …d packet_test(unsigned npackets, size_t plength, pa_mainloop *ml, pa_pstream *p1, pa_pstream *p2) { in packet_test()
90 pa_pstream *p1, *p2; in START_TEST()
/third_party/pulseaudio/src/pulse/
Dcontext.c352 static void pstream_die_callback(pa_pstream *p, void *userdata) { in pstream_die_callback()
361 static void pstream_packet_callback(pa_pstream *p, pa_packet *packet, pa_cmsg_ancil_data *ancil_dat… in pstream_packet_callback()
417 static void pstream_memblock_callback(pa_pstream *p, uint32_t channel, int64_t offset, pa_seek_mode… in pstream_memblock_callback()
1158 static void pstream_drain_callback(pa_pstream *s, void *userdata) {
Dinternal.h80 pa_pstream *pstream;
/third_party/pulseaudio/src/modules/
Dmodule-tunnel.c224 pa_pstream *pstream;
1938 static void pstream_die_callback(pa_pstream *p, void *userdata) { in pstream_die_callback()
1949 static void pstream_packet_callback(pa_pstream *p, pa_packet *packet, pa_cmsg_ancil_data *ancil_dat… in pstream_packet_callback()
1965 static void pstream_memblock_callback(pa_pstream *p, uint32_t channel, int64_t offset, pa_seek_mode… in pstream_memblock_callback()