~diwic/ubuntu/lucid/pulseaudio/bugfixes

« back to all changes in this revision

Viewing changes to src/pulsecore/x11wrap.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2008-11-04 15:46:00 UTC
  • mfrom: (1.2.1 upstream) (1.1.6 lenny)
  • Revision ID: james.westby@ubuntu.com-20081104154600-hlzknpcazaam0nxm
Tags: 0.9.13-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Don't build against, and create jack package. Jack is not in main.
  - Remove --disable-per-user-esound-socket from configure flags, as we still
    want per user esound sockets.
  - Remove stop links from rc0 and rc6.
  - Change default resample algorithm and bubffer size.
  - Add alsa configuration files to route alsa applications via pulseaudio.
  - Move libasound2-plugins from Recommends to Depends.
* debian/pulseaudio.preinst: When upgrading from intrepid, remove
  /etc/X11/Xsession.d/70pulseaudio, as this was used to minimize a race
  condition when starting GNOME in intrepid. This race should not exist in
  jaunty once libcanberra is built to use pulseaudio as a backend.
* Do not spawn a pulseaudio server if clients fail to find a running server.
* Remove explicit version dependency for libspeex-dev to allow the package
  to be built for now.
* Regenerate autotools files to work with Ubuntu's newer libtool/libltdl.
* debian/control: libpulsecore5 -> libpulsecore8 to match the library
  soname.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef foox11wraphfoo
2
2
#define foox11wraphfoo
3
3
 
4
 
/* $Id: x11wrap.h 1426 2007-02-13 15:35:19Z ossman $ */
5
 
 
6
4
/***
7
5
  This file is part of PulseAudio.
8
6
 
30
28
 
31
29
typedef struct pa_x11_wrapper pa_x11_wrapper;
32
30
 
 
31
typedef struct pa_x11_client pa_x11_client;
 
32
 
 
33
typedef int (*pa_x11_event_cb_t)(pa_x11_wrapper *w, XEvent *e, void *userdata);
 
34
typedef void (*pa_x11_kill_cb_t)(pa_x11_wrapper *w, void *userdata);
 
35
 
33
36
/* Return the X11 wrapper for this core. In case no wrapper was
34
37
    existant before, allocate a new one */
35
38
pa_x11_wrapper* pa_x11_wrapper_get(pa_core *c, const char *name);
43
46
/* Return the X11 display object for this connection */
44
47
Display *pa_x11_wrapper_get_display(pa_x11_wrapper *w);
45
48
 
46
 
typedef struct pa_x11_client pa_x11_client;
 
49
/* Kill the connection to the X11 display */
 
50
void pa_x11_wrapper_kill(pa_x11_wrapper *w);
47
51
 
48
52
/* Register an X11 client, that is called for each X11 event */
49
 
pa_x11_client* pa_x11_client_new(pa_x11_wrapper *w, int (*cb)(pa_x11_wrapper *w, XEvent *e, void *userdata), void *userdata);
 
53
pa_x11_client* pa_x11_client_new(pa_x11_wrapper *w, pa_x11_event_cb_t event_cb, pa_x11_kill_cb_t kill_cb, void *userdata);
50
54
 
51
55
/* Free an X11 client object */
52
56
void pa_x11_client_free(pa_x11_client *c);