~ppsspp/ppsspp/ffmpeg

« back to all changes in this revision

Viewing changes to libavcodec/audioconvert.h

  • Committer: Henrik Rydgård
  • Date: 2014-01-03 10:44:32 UTC
  • Revision ID: git-v1:87c6c126784b1718bfa448ecf2e6a9fef781eb4e
Update our ffmpeg snapshot to a clone of the official repository.

This is because Maxim's at3plus support has been officially merged!

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
/**
27
27
 * @file
28
28
 * Audio format conversion routines
 
29
 * This interface is deprecated and will be dropped in a future
 
30
 * version. You should use the libswresample library instead.
29
31
 */
30
32
 
 
33
#if FF_API_AUDIO_CONVERT
31
34
 
32
35
#include "libavutil/cpu.h"
33
36
#include "avcodec.h"
45
48
 * @param[in] matrix Channel mixing matrix (of dimension in_channel*out_channels). Set to NULL to ignore.
46
49
 * @param flags See AV_CPU_FLAG_xx
47
50
 * @return NULL on error
 
51
 * @deprecated See libswresample
48
52
 */
 
53
 
 
54
attribute_deprecated
49
55
AVAudioConvert *av_audio_convert_alloc(enum AVSampleFormat out_fmt, int out_channels,
50
56
                                       enum AVSampleFormat in_fmt, int in_channels,
51
57
                                       const float *matrix, int flags);
52
58
 
53
59
/**
54
60
 * Free audio sample format converter context
 
61
 * @deprecated See libswresample
55
62
 */
 
63
 
 
64
attribute_deprecated
56
65
void av_audio_convert_free(AVAudioConvert *ctx);
57
66
 
58
67
/**
62
71
 * @param[in] in array of input buffers for each channel
63
72
 * @param[in] in_stride distance between consecutive input samples (measured in bytes)
64
73
 * @param len length of audio frame size (measured in samples)
 
74
 * @deprecated See libswresample
65
75
 */
 
76
 
 
77
attribute_deprecated
66
78
int av_audio_convert(AVAudioConvert *ctx,
67
79
                           void * const out[6], const int out_stride[6],
68
80
                     const void * const  in[6], const int  in_stride[6], int len);
69
81
 
 
82
#endif /* FF_API_AUDIO_CONVERT */
 
83
 
70
84
#endif /* AVCODEC_AUDIOCONVERT_H */