Branch: refs/heads/master
Home: https://github.com/mltframework/mlt
Commit: 2bb88cc39a6be13fc71356d423bdb1bd04aa84de
https://github.com/mltframework/mlt/commit/2bb88cc39a6be13fc71356d423bdb1bd04aa84de
Author: Brian Matherly <c...@brianmatherly.com>
Date: 2018-02-05 (Mon, 05 Feb 2018)
Changed paths:
M src/modules/sdl/consumer_sdl.c
M src/modules/sdl/consumer_sdl.yml
M src/modules/sdl/consumer_sdl_audio.c
M src/modules/sdl2/consumer_sdl2.c
M src/modules/sdl2/consumer_sdl2.yml
Log Message:
-----------
Fix mulit-channel audio. (#294)
* Fix mulit-channel audio.
At some framerates, audio with > 6 channels would result in an audio
buffer larger than that allocated for SDL. This change will copy from the
buffer in pieces if it won't all fit at once.
* Unify consumer_play_audio() in sdl consumers.
Use the same code for all 3 implementations.
Affected features (all have these now):
* Handling audio frames larger than the sdl audio buffer
* Audio scrubbing
* "audio_offset" property
* Handling more or fewer channels than requested
* Default scrub_audio to 1 for sdl and sdl2 consumers.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel