Stefano Sabatini
34ff361921
examples: apply doxy entries consistency fixes
...
Use consistent format for the @file field and file description.
2 years ago
James Almer
f5ef91e020
doc/examples: convert to new channel layout-API
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Mark Thompson
10bcc41bb4
examples: Don't call deprecated functions which don't do anything
7 years ago
Michael Niedermayer
59b8c2a4e6
doc/examples/encode_audio: Favor a sample rate close to 44khz instead of the maximum sample rate
...
This is an example, people will copy and use this. The maximum supported is quite
unreasonable as a default choice
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Clément Bœsch
944e5ce3ec
doc/examples/{de,en}code_audio: fix includes
...
Consistent with other examples.
8 years ago
Clément Bœsch
9bed10afb8
doc/examples/encode_audio: add missing return
8 years ago
Anton Khirnov
f27e262dbd
examples/encode_audio: switch to the new audio encoding API
8 years ago
Anton Khirnov
f76698e759
examples/encode_audio: use the AVFrame API for allocating the data
...
It is simpler and more efficient.
8 years ago
Anton Khirnov
c00a11ab38
examples/encode_audio: constify AVCodec instances
8 years ago
Anton Khirnov
40aaa8dadf
examples/avcodec: split audio encoding into a separate example
...
The four examples (audio/video encoding/decoding) are completely
independent so it makes little sense to have them all in one file.
8 years ago