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

« back to all changes in this revision

Viewing changes to src/pulsecore/sconv-s16be.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 foosconv_s16befoo
2
2
#define foosconv_s16befoo
3
3
 
4
 
/* $Id: sconv-s16be.h 1971 2007-10-28 19:13:50Z lennart $ */
 
4
/* $Id: sconv-s16be.h 2037 2007-11-09 02:45:07Z lennart $ */
5
5
 
6
6
/***
7
7
  This file is part of PulseAudio.
31
31
void pa_sconv_s16be_to_float32re(unsigned n, const int16_t *a, float *b);
32
32
void pa_sconv_s16be_from_float32re(unsigned n, const float *a, int16_t *b);
33
33
 
 
34
void pa_sconv_s32be_to_float32ne(unsigned n, const int32_t *a, float *b);
 
35
void pa_sconv_s32be_from_float32ne(unsigned n, const float *a, int32_t *b);
 
36
void pa_sconv_s32be_to_float32re(unsigned n, const int32_t *a, float *b);
 
37
void pa_sconv_s32be_from_float32re(unsigned n, const float *a, int32_t *b);
 
38
 
 
39
void pa_sconv_s32be_to_s16ne(unsigned n, const int32_t *a, int16_t *b);
 
40
void pa_sconv_s32be_from_s16ne(unsigned n, const int16_t *a, int32_t *b);
 
41
void pa_sconv_s32be_to_s16re(unsigned n, const int32_t *a, int16_t *b);
 
42
void pa_sconv_s32be_from_s16re(unsigned n, const int16_t *a, int32_t *b);
 
43
 
34
44
#ifdef WORDS_BIGENDIAN
35
45
#define pa_sconv_float32be_to_s16ne pa_sconv_s16be_from_float32ne
36
46
#define pa_sconv_float32be_from_s16ne pa_sconv_s16be_to_float32ne
37
47
#define pa_sconv_float32le_to_s16ne pa_sconv_s16be_from_float32re
38
48
#define pa_sconv_float32le_from_s16ne pa_sconv_s16be_to_float32re
 
49
 
 
50
#define pa_sconv_float32be_to_s32ne pa_sconv_s32be_from_float32ne
 
51
#define pa_sconv_float32be_from_s32ne pa_sconv_s32be_to_float32ne
 
52
#define pa_sconv_float32le_to_s32ne pa_sconv_s32be_from_float32re
 
53
#define pa_sconv_float32le_from_s32ne pa_sconv_s32be_to_float32re
 
54
 
 
55
#define pa_sconv_s16be_to_s32ne pa_sconv_s32be_from_s16ne
 
56
#define pa_sconv_s16be_from_s32ne pa_sconv_s32be_to_s16ne
 
57
#define pa_sconv_s16le_to_s32ne pa_sconv_s32be_from_s16re
 
58
#define pa_sconv_s16le_from_s32ne pa_sconv_s32be_to_s16re
39
59
#endif
40
60
 
41
61
#endif