mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 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
|
|
@ -22,16 +22,16 @@
|
|||
USA.
|
||||
***/
|
||||
|
||||
typedef struct pa_subscription pa_subscription;
|
||||
typedef struct pa_subscription_event pa_subscription_event;
|
||||
|
||||
#include "core.h"
|
||||
#include "native-common.h"
|
||||
|
||||
struct pa_subscription;
|
||||
struct pa_subscription_event;
|
||||
pa_subscription* pa_subscription_new(pa_core *c, pa_subscription_mask m, void (*callback)(pa_core *c, pa_subscription_event_type t, uint32_t index, void *userdata), void *userdata);
|
||||
void pa_subscription_free(pa_subscription*s);
|
||||
void pa_subscription_free_all(pa_core *c);
|
||||
|
||||
struct pa_subscription* pa_subscription_new(struct pa_core *c, enum pa_subscription_mask m, void (*callback)(struct pa_core *c, enum pa_subscription_event_type t, uint32_t index, void *userdata), void *userdata);
|
||||
void pa_subscription_free(struct pa_subscription*s);
|
||||
void pa_subscription_free_all(struct pa_core *c);
|
||||
|
||||
void pa_subscription_post(struct pa_core *c, enum pa_subscription_event_type t, uint32_t index);
|
||||
void pa_subscription_post(pa_core *c, pa_subscription_event_type t, uint32_t idx);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue