History

lavfi: prefer nb_samples over size in AVFilterBufferRefAudioProps

Remove AVFilterBufferRefAudioProps.size, and use nb_samples in avfilter_get_audio_buffer() and avfilter_default_get_audio_buffer() in place of size. This is required as the size in the audio buffer may be aligned, so it may not contain a well defined number of samples.

Stefano Sabatini committed 15 years ago

Commit 95a02421 parent 0bc2cca4 files · +24 −20Browse files

Showing the changes to doc/APIchanges (1 of 4 files). Show all

Unified · Split

doc/APIchanges+5−0
@@ -13,6 +13,11 @@ libavutil: 2011-04-18 · 12 unmodified lines
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162011-06-06 - xxxxxx - lavfi 2.14.0 - AVFilterBufferRefAudioProps
17 Remove AVFilterBufferRefAudioProps.size, and use nb_samples in
18 avfilter_get_audio_buffer() and avfilter_default_get_audio_buffer() in
19 place of size.
20
162011-06-06 - xxxxxx - lavu 51.6.0 - av_samples_alloc()212011-06-06 - xxxxxx - lavu 51.6.0 - av_samples_alloc()
17 Switch nb_channels and nb_samples parameters order in22 Switch nb_channels and nb_samples parameters order in
18 av_samples_alloc().23 av_samples_alloc().

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t