Rename VideoPlayer to VideoStreamPlayer for consistency
It's a player for `VideoStream` resources, just like `AudioStreamPlayer` is a player for `AudioStream` resources. Closes https://github.com/godotengine/godot-proposals/issues/3624.
This commit is contained in:
parent
75ac048e4b
commit
7ac9ea75cc
7 changed files with 85 additions and 85 deletions
|
|
@ -43,7 +43,7 @@ int AudioRBResampler::get_channel_count() const {
|
|||
|
||||
// Linear interpolation based sample rate conversion (low quality)
|
||||
// Note that AudioStreamPlaybackResampled::mix has better algorithm,
|
||||
// but it wasn't obvious to integrate that with VideoPlayer
|
||||
// but it wasn't obvious to integrate that with VideoStreamPlayer
|
||||
template <int C>
|
||||
uint32_t AudioRBResampler::_resample(AudioFrame *p_dest, int p_todo, int32_t p_increment) {
|
||||
uint32_t read = offset & MIX_FRAC_MASK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue