~ubuntu-branches/ubuntu/vivid/oss4/vivid

« back to all changes in this revision

Viewing changes to lib/libsalsa/stubs.c

  • 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
#include <stdio.h>
 
2
extern int alib_verbose;
 
3
 
 
4
#define STUB(x) \
 
5
int x(void) \
 
6
{ \
 
7
  if (alib_verbose>0)printf("libsalsa: Stub for " #x " called.\n"); \
 
8
  return -53; \
 
9
}
 
10
 
 
11
#define STUB_NULL(x) \
 
12
void* x(void) \
 
13
{ \
 
14
  if (alib_verbose>0)printf("libsalsa: Stub for " #x " called.\n"); \
 
15
  return (void*)0; \
 
16
}
 
17
 
 
18
STUB (snd_ctl_elem_info_get_count)
 
19
STUB (snd_hctl_elem_write)
 
20
STUB (snd_hctl_first_elem)
 
21
STUB (snd_ctl_elem_info_get_item_name)
 
22
STUB (snd_hctl_elem_get_callback_private)
 
23
STUB_NULL (snd_ctl_card_info_get_driver)
 
24
STUB (snd_ctl_elem_value_get_enumerated)
 
25
STUB (snd_hctl_set_callback)
 
26
STUB (snd_ctl_elem_info_set_item)
 
27
STUB (snd_hctl_load)
 
28
STUB (snd_ctl_elem_info_get_step)
 
29
STUB (snd_ctl_elem_value_set_enumerated)
 
30
STUB (snd_ctl_elem_info_get_name)
 
31
STUB (snd_hctl_handle_events)
 
32
STUB (snd_ctl_elem_info_sizeof)
 
33
STUB (snd_ctl_elem_value_get_boolean)
 
34
STUB (snd_ctl_elem_value_malloc)
 
35
STUB (snd_ctl_elem_id_set_index)
 
36
STUB (snd_ctl_elem_value_get_integer)
 
37
STUB (snd_hctl_nonblock)
 
38
STUB (snd_hctl_get_count)
 
39
STUB (snd_ctl_card_info_get_longname)
 
40
STUB (snd_hctl_elem_next)
 
41
STUB (snd_ctl_elem_info_get_index)
 
42
STUB (snd_hctl_elem_read)
 
43
STUB (snd_hctl_find_elem)
 
44
STUB (snd_ctl_elem_value_set_integer)
 
45
STUB (snd_hctl_elem_set_callback)
 
46
STUB (snd_hctl_poll_descriptors)
 
47
STUB (snd_ctl_elem_info_get_items)
 
48
STUB (snd_ctl_elem_info_get_max)
 
49
STUB (snd_hctl_open)
 
50
STUB (snd_ctl_elem_value_set_boolean)
 
51
STUB (snd_ctl_elem_id_set_interface)
 
52
STUB (snd_hctl_set_callback_private)
 
53
STUB (snd_ctl_elem_id_sizeof)
 
54
STUB (snd_ctl_elem_info_get_type)
 
55
STUB (snd_hctl_close)
 
56
STUB (snd_ctl_elem_info_malloc)
 
57
STUB (snd_ctl_elem_info_get_min)
 
58
STUB (snd_hctl_elem_info)
 
59
STUB (snd_hctl_elem_set_callback_private) STUB (snd_ctl_elem_id_set_name)