]> git.sesse.net Git - ffmpeg/commitdiff
avresample: Document avresample_open() a little better
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 4 Nov 2015 08:16:46 +0000 (09:16 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 5 Nov 2015 16:25:46 +0000 (17:25 +0100)
Bug-Id: 911

libavresample/avresample.h

index b705a45cdebdaa5f1b6b13ba04b0d4f415f18b88..1dca6e4c699e7c6b8efeff5c307fb88ba75b175f 100644 (file)
@@ -167,9 +167,13 @@ AVAudioResampleContext *avresample_alloc_context(void);
 /**
  * Initialize AVAudioResampleContext.
  * @note The context must be configured using the AVOption API.
+ * @note The fields "in_channel_layout", "out_channel_layout",
+ *       "in_sample_rate", "out_sample_rate", "in_sample_fmt",
+ *       "out_sample_fmt" must be set.
  *
  * @see av_opt_set_int()
  * @see av_opt_set_dict()
+ * @see av_get_default_channel_layout()
  *
  * @param avr  audio resample context
  * @return     0 on success, negative AVERROR code on failure