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

« back to all changes in this revision

Viewing changes to src/pulsecore/endianmacros.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 fooendianmacroshfoo
2
2
#define fooendianmacroshfoo
3
3
 
4
 
/* $Id: endianmacros.h 1971 2007-10-28 19:13:50Z lennart $ */
 
4
/* $Id: endianmacros.h 2034 2007-11-09 01:30:25Z lennart $ */
5
5
 
6
6
/***
7
7
  This file is part of PulseAudio.
63
63
 #define PA_UINT16_FROM_LE(x) PA_UINT16_SWAP(x)
64
64
 #define PA_UINT16_FROM_BE(x) ((uint16_t)(x))
65
65
 
 
66
 #define PA_UINT16_TO_LE(x) PA_UINT16_SWAP(x)
 
67
 #define PA_UINT16_TO_BE(x) ((uint16_t)(x))
 
68
 
66
69
 #define PA_INT32_FROM_LE(x) PA_INT32_SWAP(x)
67
70
 #define PA_INT32_FROM_BE(x) ((int32_t)(x))
68
71
 
 
72
 #define PA_INT32_TO_LE(x) PA_INT32_SWAP(x)
 
73
 #define PA_INT32_TO_BE(x) ((int32_t)(x))
 
74
 
69
75
 #define PA_UINT32_FROM_LE(x) PA_UINT32_SWAP(x)
70
76
 #define PA_UINT32_FROM_BE(x) ((uint32_t)(x))
71
77
 
81
87
 #define PA_UINT16_FROM_LE(x) ((uint16_t)(x))
82
88
 #define PA_UINT16_FROM_BE(x) PA_UINT16_SWAP(x)
83
89
 
 
90
 #define PA_UINT16_TO_LE(x) ((uint16_t)(x))
 
91
 #define PA_UINT16_TO_BE(x) PA_UINT16_SWAP(x)
 
92
 
84
93
 #define PA_INT32_FROM_LE(x) ((int32_t)(x))
85
94
 #define PA_INT32_FROM_BE(x) PA_INT32_SWAP(x)
86
95
 
 
96
 #define PA_INT32_TO_LE(x) ((int32_t)(x))
 
97
 #define PA_INT32_TO_BE(x) PA_INT32_SWAP(x)
 
98
 
87
99
 #define PA_UINT32_FROM_LE(x) ((uint32_t)(x))
88
100
 #define PA_UINT32_FROM_BE(x) PA_UINT32_SWAP(x)
89
101