Forgotten after b8f74ee57a6e9e75a507adcddf30f84dd4a39d39.
Unified · Split
| @@ -998,20 +998,20 @@ static av_cold void uninit(AVFilterContext *ctx) · 997 unmodified lines | ||
| 998 | 998 | yae_release_buffers(atempo); |
| 999 | 999 | } |
| 1000 | 1000 | |
| 1001 | − // WSOLA necessitates an internal sliding window ring buffer | |
| 1002 | − // for incoming audio stream. | |
| 1003 | − // | |
| 1004 | − // Planar sample formats are too cumbersome to store in a ring buffer, | |
| 1005 | − // therefore planar sample formats are not supported. | |
| 1006 | − // | |
| 1007 | − static const enum AVSampleFormat sample_fmts[] = { | |
| 1008 | − AV_SAMPLE_FMT_U8, | |
| 1009 | − AV_SAMPLE_FMT_S16, | |
| 1010 | − AV_SAMPLE_FMT_S32, | |
| 1011 | − AV_SAMPLE_FMT_FLT, | |
| 1012 | − AV_SAMPLE_FMT_DBL, | |
| 1013 | − AV_SAMPLE_FMT_NONE | |
| 1014 | − }; | |
| 1001 | +// WSOLA necessitates an internal sliding window ring buffer | |
| 1002 | +// for incoming audio stream. | |
| 1003 | +// | |
| 1004 | +// Planar sample formats are too cumbersome to store in a ring buffer, | |
| 1005 | +// therefore planar sample formats are not supported. | |
| 1006 | +// | |
| 1007 | +static const enum AVSampleFormat sample_fmts[] = { | |
| 1008 | + AV_SAMPLE_FMT_U8, | |
| 1009 | + AV_SAMPLE_FMT_S16, | |
| 1010 | + AV_SAMPLE_FMT_S32, | |
| 1011 | + AV_SAMPLE_FMT_FLT, | |
| 1012 | + AV_SAMPLE_FMT_DBL, | |
| 1013 | + AV_SAMPLE_FMT_NONE | |
| 1014 | +}; | |
| 1015 | 1015 | |
| 1016 | 1016 | static int config_props(AVFilterLink *inlink) |
| 1017 | 1017 | { |