mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
* remove a lot of compiler warnings introduced by using some new GCC flags
* add typedefs for public structs and enums and drop the struct/enum prefixs from all uses where it makes sense git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@447 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
6c512fb5a3
commit
1f0961368f
200 changed files with 3582 additions and 3468 deletions
|
|
@ -27,18 +27,18 @@
|
|||
#include "memchunk.h"
|
||||
|
||||
|
||||
struct pa_memblock *pa_silence_memblock(struct pa_memblock* b, const struct pa_sample_spec *spec);
|
||||
void pa_silence_memchunk(struct pa_memchunk *c, const struct pa_sample_spec *spec);
|
||||
void pa_silence_memory(void *p, size_t length, const struct pa_sample_spec *spec);
|
||||
pa_memblock *pa_silence_memblock(pa_memblock* b, const pa_sample_spec *spec);
|
||||
void pa_silence_memchunk(pa_memchunk *c, const pa_sample_spec *spec);
|
||||
void pa_silence_memory(void *p, size_t length, const pa_sample_spec *spec);
|
||||
|
||||
struct pa_mix_info {
|
||||
struct pa_memchunk chunk;
|
||||
typedef struct pa_mix_info {
|
||||
pa_memchunk chunk;
|
||||
pa_volume_t volume;
|
||||
void *userdata;
|
||||
};
|
||||
} pa_mix_info ;
|
||||
|
||||
size_t pa_mix(struct pa_mix_info channels[], unsigned nchannels, void *data, size_t length, const struct pa_sample_spec *spec, pa_volume_t volume);
|
||||
size_t pa_mix(pa_mix_info channels[], unsigned nchannels, void *data, size_t length, const pa_sample_spec *spec, pa_volume_t volume);
|
||||
|
||||
void pa_volume_memchunk(struct pa_memchunk*c, const struct pa_sample_spec *spec, pa_volume_t volume);
|
||||
void pa_volume_memchunk(pa_memchunk*c, const pa_sample_spec *spec, pa_volume_t volume);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue