mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -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
				
			
		| 
						 | 
				
			
			@ -39,7 +39,7 @@ struct pa_io_event {
 | 
			
		|||
    guint source;
 | 
			
		||||
    GIOCondition io_condition;
 | 
			
		||||
    int fd;
 | 
			
		||||
    void (*callback) (pa_mainloop_api*m, pa_io_event *e, int fd, pa_io_event_flags f, void *userdata);
 | 
			
		||||
    void (*callback) (pa_mainloop_api*m, pa_io_event *e, int fd, pa_io_event_flags_t f, void *userdata);
 | 
			
		||||
    void *userdata;
 | 
			
		||||
    void (*destroy_callback) (pa_mainloop_api *m, pa_io_event*e, void *userdata);
 | 
			
		||||
    pa_io_event *next, *prev;
 | 
			
		||||
| 
						 | 
				
			
			@ -76,9 +76,9 @@ struct pa_glib_mainloop {
 | 
			
		|||
 | 
			
		||||
static void schedule_free_dead_events(pa_glib_mainloop *g);
 | 
			
		||||
 | 
			
		||||
static void glib_io_enable(pa_io_event*e, pa_io_event_flags f);
 | 
			
		||||
static void glib_io_enable(pa_io_event*e, pa_io_event_flags_t f);
 | 
			
		||||
 | 
			
		||||
static pa_io_event* glib_io_new(pa_mainloop_api*m, int fd, pa_io_event_flags f, void (*callback) (pa_mainloop_api*m, pa_io_event*e, int fd, pa_io_event_flags f, void *userdata), void *userdata) {
 | 
			
		||||
static pa_io_event* glib_io_new(pa_mainloop_api*m, int fd, pa_io_event_flags_t f, void (*callback) (pa_mainloop_api*m, pa_io_event*e, int fd, pa_io_event_flags_t f, void *userdata), void *userdata) {
 | 
			
		||||
    pa_io_event *e;
 | 
			
		||||
    pa_glib_mainloop *g;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -110,7 +110,7 @@ static pa_io_event* glib_io_new(pa_mainloop_api*m, int fd, pa_io_event_flags f,
 | 
			
		|||
 | 
			
		||||
static gboolean io_cb(GIOChannel *source, GIOCondition condition, gpointer data) {
 | 
			
		||||
    pa_io_event *e = data;
 | 
			
		||||
    pa_io_event_flags f;
 | 
			
		||||
    pa_io_event_flags_t f;
 | 
			
		||||
    assert(source && e && e->io_channel == source);
 | 
			
		||||
 | 
			
		||||
    f = (condition & G_IO_IN ? PA_IO_EVENT_INPUT : 0) |
 | 
			
		||||
| 
						 | 
				
			
			@ -122,7 +122,7 @@ static gboolean io_cb(GIOChannel *source, GIOCondition condition, gpointer data)
 | 
			
		|||
    return TRUE;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void glib_io_enable(pa_io_event*e, pa_io_event_flags f) {
 | 
			
		||||
static void glib_io_enable(pa_io_event*e, pa_io_event_flags_t f) {
 | 
			
		||||
    GIOCondition c;
 | 
			
		||||
    assert(e && !e->dead);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue