~ubuntu-branches/ubuntu/jaunty/pulseaudio/jaunty-updates

« back to all changes in this revision

Viewing changes to src/pulsecore/resampler.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2007-12-04 00:56:08 UTC
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20071204005608-3lzrrrpxi186kgx4
Tags: upstream-0.9.8
ImportĀ upstreamĀ versionĀ 0.9.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef fooresamplerhfoo
2
2
#define fooresamplerhfoo
3
3
 
4
 
/* $Id: resampler.h 1971 2007-10-28 19:13:50Z lennart $ */
 
4
/* $Id: resampler.h 2044 2007-11-11 02:30:59Z lennart $ */
5
5
 
6
6
/***
7
7
  This file is part of PulseAudio.
49
49
    PA_RESAMPLER_MAX
50
50
} pa_resample_method_t;
51
51
 
 
52
typedef enum pa_resample_flags {
 
53
    PA_RESAMPLER_VARIABLE_RATE = 1,
 
54
    PA_RESAMPLER_NO_REMAP = 2,  /* implies NO_REMIX */
 
55
    PA_RESAMPLER_NO_REMIX = 4
 
56
} pa_resample_flags_t;
 
57
 
52
58
pa_resampler* pa_resampler_new(
53
59
        pa_mempool *pool,
54
60
        const pa_sample_spec *a,
56
62
        const pa_sample_spec *b,
57
63
        const pa_channel_map *bm,
58
64
        pa_resample_method_t resample_method,
59
 
        int variable_rate);
 
65
        pa_resample_flags_t flags);
60
66
 
61
67
void pa_resampler_free(pa_resampler *r);
62
68