~diwic/ubuntu/lucid/pulseaudio/bugfixes

« back to all changes in this revision

Viewing changes to src/pulse/gccmacro.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-05-05 14:18:20 UTC
  • mfrom: (1.2.4 upstream) (1.1.8 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090505141820-rrr2mtdd1jkllvr8
Tags: 1:0.9.15-1ubuntu1
* Merge from unreleased Debian pulseaudio git, remaining changes:
  - epoch (my stupid fault :S)
  - Don't build against, and create jack package. Jack is not in main
  - use linear resampler to work better with lack of PREEMPT in jaunty's
    -generic kernel config, also change buffer size
  - Add alsa configuration files to route alsa applications via pulseaudio
  - Move libasound2-plugins from Recommends to Depends
  - Add pm-utils sleep hook to suspend (and resume) users' pulseaudio
    daemons
  - patch to fix source/sink and suspend-on-idle race
  - Make initscript more informative in the default case of per-user
    sessions
  - create /var/run/pulse, and make restart more robust
  - add status check for system wide pulseaudio instance
  - LSB {Required-*,Should-*} should specify hal instead of dbus,
    since hal is required (and already requires dbus)
  - indicate that the system pulseaudio instance is being started from the init
    script
  - Install more upstream man pages
  - Link to pacat for parec man page
  - check whether pulseaudio is running before preloading the padsp library
  - Add DEB_OPT_FLAG = -O3 as per recommendation from
    pulseaudio-discuss/2007-December/001017.html
  - cache /usr/share/sounds/ubuntu/stereo/ wav files on pulseaudio load
  - disable glitch free (use tsched=0)
  - Generate a PO template on build
  - add special case to disable pulseaudio loading if accessibility/speech
    is being used
  - the sd wrapper script should not load pulseaudio if pulseaudio is being
    used as a system service
  - add a pulseaudio apport hook
  - fix some typos in README.Debian
  - demote paprefs to suggests
  - drop padevchooser(Recommends) and pavucontrol (Suggests)
  - drop libasyncns-dev build dependency, its in universe
* add libudev-dev as a build-dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
  PulseAudio is free software; you can redistribute it and/or modify
10
10
  it under the terms of the GNU Lesser General Public License as published
11
 
  by the Free Software Foundation; either version 2 of the License,
 
11
  by the Free Software Foundation; either version 2.1 of the License,
12
12
  or (at your option) any later version.
13
13
 
14
14
  PulseAudio is distributed in the hope that it will be useful, but
22
22
  USA.
23
23
***/
24
24
 
 
25
/** \file
 
26
 * GCC attribute macros */
 
27
 
25
28
#ifdef __GNUC__
26
29
#define PA_GCC_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b)))
27
30
#else
85
88
#endif
86
89
 
87
90
#ifndef PA_GCC_PACKED
88
 
#ifdef __GNUCC__
 
91
#ifdef __GNUC__
89
92
#define PA_GCC_PACKED __attribute__ ((packed))
90
93
#else
91
94
/** Structure shall be packed in memory **/
100
103
#else
101
104
/** Macro for usage of GCC's alloc_size attribute */
102
105
#define PA_GCC_ALLOC_SIZE(x)
 
106
/** Macro for usage of GCC's alloc_size attribute */
103
107
#define PA_GCC_ALLOC_SIZE2(x,y)
104
108
#endif
105
109
#endif
106
110
 
107
111
#ifndef PA_GCC_MALLOC
108
 
#ifdef __GNUCC__
 
112
#ifdef __GNUC__
109
113
#define PA_GCC_MALLOC __attribute__ ((malloc))
110
114
#else
111
115
/** Macro for usage of GCC's malloc attribute */
113
117
#endif
114
118
#endif
115
119
 
 
120
#ifndef PA_GCC_WEAKREF
 
121
#if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ > 1)) || (__GNUC__ > 4))
 
122
/** Macro for usgae of GCC's weakref attribute */
 
123
#define PA_GCC_WEAKREF(x) __attribute__((weakref(#x)));
 
124
#endif
 
125
#endif
 
126
 
116
127
#endif