[FFmpeg-devel] [PATCHv2 1/2] ffplay: add support for interactive volume control

Clément Bœsch u at pkh.me
Sun Sep 27 15:57:31 CEST 2015


On Sat, Sep 26, 2015 at 11:36:42AM -0400, Ganesh Ajjanagadde wrote:
[...]
> -        memcpy(stream, (uint8_t *)is->audio_buf + is->audio_buf_index, len1);
> +        if (is->muted)
> +            memset(stream, 0, len1);

This doesn't work with u8 sampling.

Would it make sense to insert + reconfigure a volume filter instead or
it's too complicated?

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150927/01f6dd14/attachment.sig>


More information about the ffmpeg-devel mailing list