audio-format: add TRUNCATE_RANGE flag
authorWim Taymans <wtaymans@redhat.com>
Tue, 3 Nov 2015 10:59:09 +0000 (11:59 +0100)
committerWim Taymans <wtaymans@redhat.com>
Tue, 3 Nov 2015 11:12:08 +0000 (12:12 +0100)
commit801f7ca4640cb5667f8936b6fe15b30f2bfa5baf
treeecccc5261b025d8546dfe46e9db8c786db189410
parent914aa4aed14738616d2d0f61d857977f10a0cb02
audio-format: add TRUNCATE_RANGE flag

Add a TRUNCATE_RANGE flag for unpack functions to fill the least
significate bits with 0 (as did the old code). Also add functions
that don't truncate. Use the TRUNC flag in audioconvert for
backwards compatibility for now.
gst-libs/gst/audio/audio-format.c
gst-libs/gst/audio/audio-format.h
gst-libs/gst/audio/gstaudiopack.orc
gst/audioconvert/audioconvert.c