mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
initial commit
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@3 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
b1c00dcd0a
commit
9cb0b933e2
47 changed files with 3425 additions and 0 deletions
22
src/pstream.h
Normal file
22
src/pstream.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef foopstreamhfoo
|
||||
#define foopstreamhfoo
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "packet.h"
|
||||
#include "memblock.h"
|
||||
#include "iochannel.h"
|
||||
|
||||
struct pstream;
|
||||
|
||||
struct pstream* pstream_new(struct mainloop *m, struct iochannel *io);
|
||||
void pstream_free(struct pstream*p);
|
||||
|
||||
void pstream_set_send_callback(struct pstream*p, void (*callback) (struct pstream *p, void *userdata), void *userdata);
|
||||
void pstream_send_packet(struct pstream*p, struct packet *packet);
|
||||
void pstream_send_memblock(struct pstream*p, uint32_t channel, int32_t delta, struct memchunk *chunk);
|
||||
|
||||
void pstream_set_recieve_packet_callback(struct pstream *p, void (*callback) (struct pstream *p, struct packet *packet, void *userdata), void *userdata);
|
||||
void pstream_set_recieve_memblock_callback(struct pstream *p, void (*callback) (struct pstream *p, uint32_t channel, int32_t delta, struct memchunk *chunk, void *userdata), void *userdata);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue