view libaf/config.h @ 15559:9f157ca7e3c2

Make sure that samplesize is at least 2, as some demuxers set it to 1 (demux_ogg for ac3 in ogm) or possibly even 0, and it causes preinit to set audio_out_minsize too low, which causes overflow (assert).
author hzoli
date Tue, 24 May 2005 06:54:19 +0000
parents ade823c5c294
children
line wrap: on
line source

/*=============================================================================
//	
//  This software has been released under the terms of the GNU General Public
//  license. See http://www.gnu.org/copyleft/gpl.html for details.
//
//  Copyright 2002 Anders Johansson ajh@watri.uwa.edu.au
//
//=============================================================================
*/

#ifndef __af_config_h__
#define __af_config_h__

#include "../config.h" // WORDS_BIGENDIAN

#ifndef MPLAYER_CONFIG_H
#error Mandatory WORDS_BIGENDIAN does not contain 0 nor 1
#endif

// Number of channels
#ifndef AF_NCH
#define AF_NCH 6
#endif

#endif /* __af_config_h__ */