Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-11-16 11:00:31 +0400
committerClément Bœsch <ubitux@gmail.com>2011-11-17 13:16:07 +0400
commitfc6351d019047ecd8f2fcd0a5aadedfac9fc617b (patch)
tree9879135649454708882d652ea23f34d578240b79 /libswresample/audioconvert.h
parent3a5fc3857435ee1653379e4c8e60d254563a82c9 (diff)
swr: make audio convert code explicitely private.
Only what's declared in libswresample/swresample.h is public.
Diffstat (limited to 'libswresample/audioconvert.h')
-rw-r--r--libswresample/audioconvert.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/libswresample/audioconvert.h b/libswresample/audioconvert.h
index 6909a05059..6d09271b35 100644
--- a/libswresample/audioconvert.h
+++ b/libswresample/audioconvert.h
@@ -33,8 +33,8 @@
#include "libavutil/cpu.h"
#include "libavutil/audioconvert.h"
-struct AVAudioConvert;
-typedef struct AVAudioConvert AVAudioConvert;
+struct AudioConvert;
+typedef struct AudioConvert AudioConvert;
/**
* Create an audio sample format converter context
@@ -46,16 +46,16 @@ typedef struct AVAudioConvert AVAudioConvert;
* if all channels must be selected
* @return NULL on error
*/
-AVAudioConvert *swr_audio_convert_alloc(enum AVSampleFormat out_fmt,
- enum AVSampleFormat in_fmt,
- int channels, const int *ch_map,
- int flags);
+AudioConvert *swri_audio_convert_alloc(enum AVSampleFormat out_fmt,
+ enum AVSampleFormat in_fmt,
+ int channels, const int *ch_map,
+ int flags);
/**
* Free audio sample format converter context.
* and set the pointer to NULL
*/
-void swr_audio_convert_free(AVAudioConvert **ctx);
+void swri_audio_convert_free(AudioConvert **ctx);
/**
* Convert between audio sample formats
@@ -63,6 +63,6 @@ void swr_audio_convert_free(AVAudioConvert **ctx);
* @param[in] in array of input buffers for each channel
* @param len length of audio frame size (measured in samples)
*/
-int swr_audio_convert(AVAudioConvert *ctx, AudioData *out, AudioData *in, int len);
+int swri_audio_convert(AudioConvert *ctx, AudioData *out, AudioData *in, int len);
#endif /* AUDIOCONVERT_H */