~ubuntu-branches/ubuntu/utopic/oss4/utopic

« back to all changes in this revision

Viewing changes to kernel/framework/audio/ulaw.h

  • Committer: Bazaar Package Importer
  • Author(s): Romain Beauxis, Samuel Thibault, Romain Beauxis, Sebastien NOEL
  • Date: 2011-06-14 10:06:56 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110614100656-cx4oc7u426zn812z
Tags: 4.2-build2004-1
[ Samuel Thibault ]
* debian/control: Add liboss4-salsa2, liboss4-salsa-dev and
  liboss4-salsa-asound2 packages, equivalent to (and will replace) those from
  the oss-libsalsa package (Closes: #589127).
* debian/patches/liboss4-salsa.patch: New patch to rename libsalsa into
  liboss4-salsa to avoid conflicts in the archive for no good reason.
* debian/rules: Make in libOSSlib and libsalsa.
* debian/liboss4-salsa-dev.install, debian/liboss4-salsa2.install,
  debian/liboss4-salsa-asound2.links, debian/liboss4-salsa-dev.links:
  Install liboss4-salsa libraries like was done in the oss-libsalsa package.
* include-alsa: Add a copy of ALSA 1.0.5 headers: Cf ALSA_1.0.* symbols in
  libsalsa, this is the roughly supported version.
* debian/copyright: Update for new include-alsa files.
* alsa.pc: New file for compatibility with libasound-dev.
* debian/control:
  - Add Vcs-Browser and Vcs-Svn fields.
  - Use linux-any instead of the list of Linux archs (Closes: #604679).
  - Make dkms dependency linux-any only.
* debian/patches/hurd_iot.patch: New patch to fix soundcard.h usage in
  libsalsa on hurd-i386.
* debian/patches/libsalsa_fixes.patch: New patch to fix some printf usages
  and ioctl declaration in libsalsa.
* debian/patches/no_EBADE.patch: New patch to cope with hurd-i386 not having
  EBADE.
* debian/patches/CFLAGS.patch: New patch to make oss4 take debian/rules
  CFLAGS into account.
* debian/patches/snd_asoundlib_version.patch: New patch to add
  snd_asoundlib_version().
* debian/patches/generic_srccconf.patch: New patch to fix source
  configuration on unknown archs.

[ Romain Beauxis ]
* Fixed README.Debian to only mention dkms' modules.
* Switch to dpkg-source 3.0 (quilt) format
* Added DM-Upload-Allowed: yes

[ Sebastien NOEL ]
* New upstream release (Closes: #595298, #619272).
* Fix typo in initscript (Closes: #627149).
* debian/control: adjust linux-headers dependencies (Closes: #628879).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Purpose: u-Law to and from 8 bit unsigned linear audio conversion tables
 
3
 */
 
4
/*
 
5
 *
 
6
 * This file is part of Open Sound System.
 
7
 *
 
8
 * Copyright (C) 4Front Technologies 1996-2008.
 
9
 *
 
10
 * This this source file is released under GPL v2 license (no other versions).
 
11
 * See the COPYING file included in the main directory of this source
 
12
 * distribution for the license terms and conditions.
 
13
 *
 
14
 */
 
15
static unsigned char ulaw_dsp[] = {
 
16
  3, 7, 11, 15, 19, 23, 27, 31,
 
17
  35, 39, 43, 47, 51, 55, 59, 63,
 
18
  66, 68, 70, 72, 74, 76, 78, 80,
 
19
  82, 84, 86, 88, 90, 92, 94, 96,
 
20
  98, 99, 100, 101, 102, 103, 104, 105,
 
21
  106, 107, 108, 109, 110, 111, 112, 113,
 
22
  113, 114, 114, 115, 115, 116, 116, 117,
 
23
  117, 118, 118, 119, 119, 120, 120, 121,
 
24
  121, 121, 122, 122, 122, 122, 123, 123,
 
25
  123, 123, 124, 124, 124, 124, 125, 125,
 
26
  125, 125, 125, 125, 126, 126, 126, 126,
 
27
  126, 126, 126, 126, 127, 127, 127, 127,
 
28
  127, 127, 127, 127, 127, 127, 127, 127,
 
29
  128, 128, 128, 128, 128, 128, 128, 128,
 
30
  128, 128, 128, 128, 128, 128, 128, 128,
 
31
  128, 128, 128, 128, 128, 128, 128, 128,
 
32
  253, 249, 245, 241, 237, 233, 229, 225,
 
33
  221, 217, 213, 209, 205, 201, 197, 193,
 
34
  190, 188, 186, 184, 182, 180, 178, 176,
 
35
  174, 172, 170, 168, 166, 164, 162, 160,
 
36
  158, 157, 156, 155, 154, 153, 152, 151,
 
37
  150, 149, 148, 147, 146, 145, 144, 143,
 
38
  143, 142, 142, 141, 141, 140, 140, 139,
 
39
  139, 138, 138, 137, 137, 136, 136, 135,
 
40
  135, 135, 134, 134, 134, 134, 133, 133,
 
41
  133, 133, 132, 132, 132, 132, 131, 131,
 
42
  131, 131, 131, 131, 130, 130, 130, 130,
 
43
  130, 130, 130, 130, 129, 129, 129, 129,
 
44
  129, 129, 129, 129, 129, 129, 129, 129,
 
45
  128, 128, 128, 128, 128, 128, 128, 128,
 
46
  128, 128, 128, 128, 128, 128, 128, 128,
 
47
  128, 128, 128, 128, 128, 128, 128, 128,
 
48
};
 
49
 
 
50
static unsigned char dsp_ulaw[] = {
 
51
  0, 0, 0, 0, 0, 1, 1, 1,
 
52
  1, 2, 2, 2, 2, 3, 3, 3,
 
53
  3, 4, 4, 4, 4, 5, 5, 5,
 
54
  5, 6, 6, 6, 6, 7, 7, 7,
 
55
  7, 8, 8, 8, 8, 9, 9, 9,
 
56
  9, 10, 10, 10, 10, 11, 11, 11,
 
57
  11, 12, 12, 12, 12, 13, 13, 13,
 
58
  13, 14, 14, 14, 14, 15, 15, 15,
 
59
  15, 16, 16, 17, 17, 18, 18, 19,
 
60
  19, 20, 20, 21, 21, 22, 22, 23,
 
61
  23, 24, 24, 25, 25, 26, 26, 27,
 
62
  27, 28, 28, 29, 29, 30, 30, 31,
 
63
  31, 32, 33, 34, 35, 36, 37, 38,
 
64
  39, 40, 41, 42, 43, 44, 45, 46,
 
65
  47, 49, 51, 53, 55, 57, 59, 61,
 
66
  63, 66, 70, 74, 78, 84, 92, 104,
 
67
  254, 231, 219, 211, 205, 201, 197, 193,
 
68
  190, 188, 186, 184, 182, 180, 178, 176,
 
69
  175, 174, 173, 172, 171, 170, 169, 168,
 
70
  167, 166, 165, 164, 163, 162, 161, 160,
 
71
  159, 159, 158, 158, 157, 157, 156, 156,
 
72
  155, 155, 154, 154, 153, 153, 152, 152,
 
73
  151, 151, 150, 150, 149, 149, 148, 148,
 
74
  147, 147, 146, 146, 145, 145, 144, 144,
 
75
  143, 143, 143, 143, 142, 142, 142, 142,
 
76
  141, 141, 141, 141, 140, 140, 140, 140,
 
77
  139, 139, 139, 139, 138, 138, 138, 138,
 
78
  137, 137, 137, 137, 136, 136, 136, 136,
 
79
  135, 135, 135, 135, 134, 134, 134, 134,
 
80
  133, 133, 133, 133, 132, 132, 132, 132,
 
81
  131, 131, 131, 131, 130, 130, 130, 130,
 
82
  129, 129, 129, 129, 128, 128, 128, 128,
 
83
};