~ubuntu-branches/ubuntu/oneiric/pulseaudio/oneiric

« back to all changes in this revision

Viewing changes to src/pulsecore/core-util.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2007-12-04 00:56:08 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071204005608-y1xqvcu45g1yxtlu
Tags: 0.9.8-1ubuntu1
"Hail our new PulseAudio overlords (part two)."

* Merge from Debian unstable.
* Ubuntu-specific changes:
  - debian/control:
    + Don't build-depend on libjack0.100.0-dev or build jack module
      packages,
    + Update pulseaudio's Recommends and Suggests to accomodate
      existing promoted main packages,
    + Explicitly mention pasuspender in pulseaudio-utils's long
      description,
    + Add Vcs-Bzr URI,
    + Adhere to DebianMaintainerField;
  - debian/rules: Use multiuser for update-rc.d;
  - debian/patches/series: Retain the exclusion of
    0001-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with.patch.
* Dropped Ubuntu-specific change (absorbed into Debian source):
  debian/patches/0002-Double-esound-maximum-sample-size.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef foocoreutilhfoo
2
2
#define foocoreutilhfoo
3
3
 
4
 
/* $Id: core-util.h 1974 2007-10-29 15:31:24Z lennart $ */
 
4
/* $Id: core-util.h 2014 2007-11-01 02:58:26Z lennart $ */
5
5
 
6
6
/***
7
7
  This file is part of PulseAudio.
31
31
#include <stdio.h>
32
32
 
33
33
#include <pulsecore/gccmacro.h>
 
34
#include <pulsecore/macro.h>
34
35
 
35
36
struct timeval;
36
37
 
56
57
 
57
58
char *pa_parent_dir(const char *fn);
58
59
 
59
 
void pa_make_realtime(void);
60
 
void pa_raise_priority(void);
 
60
int pa_make_realtime(int rtprio);
 
61
int pa_raise_priority(int nice_level);
61
62
void pa_reset_priority(void);
62
63
 
63
64
int pa_parse_boolean(const char *s) PA_GCC_PURE;
64
65
 
 
66
static inline const char *pa_yes_no(pa_bool_t b) {
 
67
    return b ? "yes" : "no";
 
68
}
 
69
 
65
70
char *pa_split(const char *c, const char*delimiters, const char **state);
66
71
char *pa_split_spaces(const char *c, const char **state);
67
72