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

« back to all changes in this revision

Viewing changes to src/modules/alsa-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 fooalsautilhfoo
2
2
#define fooalsautilhfoo
3
3
 
4
 
/* $Id: alsa-util.h 1971 2007-10-28 19:13:50Z lennart $ */
 
4
/* $Id: alsa-util.h 2055 2007-11-13 23:42:15Z lennart $ */
5
5
 
6
6
/***
7
7
  This file is part of PulseAudio.
38
38
void pa_alsa_fdlist_free(struct pa_alsa_fdlist *fdl);
39
39
int pa_alsa_fdlist_set_mixer(struct pa_alsa_fdlist *fdl, snd_mixer_t *mixer_handle, pa_mainloop_api* m);
40
40
 
41
 
int pa_alsa_set_hw_params(snd_pcm_t *pcm_handle, pa_sample_spec *ss, uint32_t *periods, snd_pcm_uframes_t *period_size, int *use_mmap);
 
41
int pa_alsa_set_hw_params(
 
42
        snd_pcm_t *pcm_handle,
 
43
        pa_sample_spec *ss,
 
44
        uint32_t *periods,
 
45
        snd_pcm_uframes_t *period_size,
 
46
        pa_bool_t *use_mmap,
 
47
        pa_bool_t require_exact_channel_number);
 
48
 
42
49
int pa_alsa_set_sw_params(snd_pcm_t *pcm);
43
50
 
44
51
int pa_alsa_prepare_mixer(snd_mixer_t *mixer, const char *dev);
45
52
snd_mixer_elem_t *pa_alsa_find_elem(snd_mixer_t *mixer, const char *name, const char *fallback);
46
53
 
 
54
snd_pcm_t *pa_alsa_open_by_device_id(
 
55
        const char *dev_id,
 
56
        char **dev,
 
57
        pa_sample_spec *ss,
 
58
        pa_channel_map* map,
 
59
        int mode,
 
60
        uint32_t *nfrags,
 
61
        snd_pcm_uframes_t *period_size,
 
62
        pa_bool_t *use_mmap);
 
63
 
 
64
snd_pcm_t *pa_alsa_open_by_device_string(
 
65
        const char *device,
 
66
        char **dev,
 
67
        pa_sample_spec *ss,
 
68
        pa_channel_map* map,
 
69
        int mode,
 
70
        uint32_t *nfrags,
 
71
        snd_pcm_uframes_t *period_size,
 
72
        pa_bool_t *use_mmap);
 
73
 
 
74
int pa_alsa_calc_mixer_map(snd_mixer_elem_t *elem, const pa_channel_map *channel_map, snd_mixer_selem_channel_id_t mixer_map[], pa_bool_t playback);
 
75
 
47
76
#endif