2013-12-22 11:38:57 +00:00
|
|
|
/*
|
|
|
|
* This file is subject to the terms of the GFX License. If a copy of
|
|
|
|
* the license was not distributed with this file, you can obtain one at:
|
|
|
|
*
|
|
|
|
* http://ugfx.org/license.html
|
|
|
|
*/
|
|
|
|
|
2014-03-11 07:13:31 +00:00
|
|
|
#ifndef GAUDIO_RECORD_CONFIG_H
|
|
|
|
#define GAUDIO_RECORD_CONFIG_H
|
2013-12-22 11:38:57 +00:00
|
|
|
|
2014-03-11 07:13:31 +00:00
|
|
|
#if GFX_USE_GAUDIO && GAUDIO_NEED_RECORD
|
2013-12-22 11:38:57 +00:00
|
|
|
|
|
|
|
/*===========================================================================*/
|
|
|
|
/* Driver hardware support. */
|
|
|
|
/*===========================================================================*/
|
|
|
|
|
2014-03-11 07:13:31 +00:00
|
|
|
#define GAUDIO_RECORD_MAX_SAMPLE_FREQUENCY 44100
|
|
|
|
#define GAUDIO_RECORD_NUM_FORMATS 2
|
|
|
|
#define GAUDIO_RECORD_FORMAT1 ARRAY_DATA_16BITSIGNED
|
|
|
|
#define GAUDIO_RECORD_FORMAT2 ARRAY_DATA_8BITUNSIGNED
|
|
|
|
#define GAUDIO_RECORD_NUM_CHANNELS 2
|
|
|
|
#define GAUDIO_RECORD_CHANNEL0_IS_STEREO FALSE
|
|
|
|
#define GAUDIO_RECORD_CHANNEL1_IS_STEREO TRUE
|
|
|
|
#define GAUDIO_RECORD_MONO 0
|
|
|
|
#define GAUDIO_RECORD_STEREO 1
|
2013-12-22 11:38:57 +00:00
|
|
|
|
2014-03-11 07:13:31 +00:00
|
|
|
#endif /* GFX_USE_GAUDIO && GAUDIO_NEED_RECORD */
|
2013-12-22 11:38:57 +00:00
|
|
|
|
2014-03-11 07:13:31 +00:00
|
|
|
#endif /* GAUDIO_RECORD_CONFIG_H */
|