int channels = 0;
for( uint64_t mask=channel_mask; mask!=0; mask>>=1 ) channels += mask & 1;
if( channels < 1 ) channels = 1;
- if( channels > 6 ) channels = 6;
+ if( channels > MAXCHANNELS ) channels = MAXCHANNELS;
session->audio_tracks = session->audio_channels = channels;
int *achannel_positions = preferences->channel_positions[session->audio_channels-1];
[ include ])
PKG_3RD([libsndfile],[auto],
- [libsndfile-1.0.28],
+ [libsndfile-1.2.2],
[ src/.libs/libsndfile.a \
src/.libs/libcommon.a \
src/G72x/.libs/libg72x.a \
x265.cfg_params?= -DENABLE_SHARED=no -DENABLE_CLI=no
libvpx.cfg_params?= --enable-pic --disable-avx512 --enable-vp9-highbitdepth --disable-examples --disable-unit_tests
libdpx.cfg_vars?= libtoolize; aclocal; autoconf; automake -a;
+libsndfile.cfg_params+= --disable-shared --enable-static --disable-sqlite --disable-mpeg
DS:=$$$$$$$$
pkg_cfg=$(call bld_path,$(1),usr/local/lib/pkgconfig):