mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-24 08:56:42 -05:00
more work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@17 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
98f41f1e70
commit
78f386ad45
19 changed files with 269 additions and 201 deletions
10
src/sample.h
10
src/sample.h
|
|
@ -27,7 +27,15 @@ struct sample_spec {
|
|||
extern struct sample_spec default_sample_spec;
|
||||
|
||||
struct memblock *silence(struct memblock* b, struct sample_spec *spec);
|
||||
void add_clip(struct memchunk *target, struct memchunk *chunk, struct sample_spec *spec);
|
||||
|
||||
|
||||
struct mix_info {
|
||||
struct memchunk chunk;
|
||||
uint8_t volume;
|
||||
void *userdata;
|
||||
};
|
||||
|
||||
size_t mix_chunks(struct mix_info channels[], unsigned nchannels, void *data, size_t length, struct sample_spec *spec) {
|
||||
|
||||
size_t bytes_per_second(struct sample_spec *spec);
|
||||
size_t sample_size(struct sample_spec *spec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue