mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
Mega patch:
* implement inner loops using liboil * drop "typeid" stuff * add support for channel maps * add support for seperate volumes per channel * add support for hardware mixer settings (only module-oss implements this for now) * fix a lot of types for _t suffix git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@463 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
759721cbbc
commit
dd10c98241
114 changed files with 2584 additions and 1329 deletions
|
|
@ -31,12 +31,12 @@
|
|||
* memory blocks. */
|
||||
|
||||
/* The type of memory this block points to */
|
||||
typedef enum {
|
||||
typedef enum pa_memblock_type {
|
||||
PA_MEMBLOCK_FIXED, /* data is a pointer to fixed memory that needs not to be freed */
|
||||
PA_MEMBLOCK_APPENDED, /* The most common kind: the data is appended to the memory block */
|
||||
PA_MEMBLOCK_DYNAMIC, /* data is a pointer to some memory allocated with pa_xmalloc() */
|
||||
PA_MEMBLOCK_USER /* User supplied memory, to be freed with free_cb */
|
||||
} pa_memblock_type ;
|
||||
} pa_memblock_type_t;
|
||||
|
||||
/* A structure of keeping memory block statistics */
|
||||
/* Maintains statistics about memory blocks */
|
||||
|
|
@ -49,7 +49,7 @@ typedef struct pa_memblock_stat {
|
|||
} pa_memblock_stat;
|
||||
|
||||
typedef struct pa_memblock {
|
||||
pa_memblock_type type;
|
||||
pa_memblock_type_t type;
|
||||
unsigned ref; /* the reference counter */
|
||||
int read_only; /* boolean */
|
||||
size_t length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue