You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
715 B
C
27 lines
715 B
C
#ifndef _RINGCONFIG_H_
|
|
#define _RINGCONFIG_H_
|
|
|
|
// <<< Use Configuration Wizard in Context Menu >>>
|
|
|
|
|
|
// <h>Ring Buffer Configuration
|
|
// <o>Number of buffers <2=> 2 <4=> 4 <8=> 8 <16=> 16 <32=> 32
|
|
#ifndef RING_NBBUFS
|
|
#define RING_NBBUFS 4
|
|
#endif
|
|
// </h>
|
|
|
|
// <<< end of configuration section >>>
|
|
|
|
#if defined(CGSTATIC_AUDIO_CONFIG)
|
|
#define RING_BUFSIZE_RX (AUDIO_DRV_NBSAMPLES_RX * AUDIO_DRV_NBCHANNELS_RX * AUDIO_DRV_CHANNEL_ENCODING_RX)
|
|
#define RING_BUFSIZE_TX (AUDIO_DRV_NBSAMPLES_TX * AUDIO_DRV_NBCHANNELS_TX * AUDIO_DRV_CHANNEL_ENCODING_TX)
|
|
#endif
|
|
|
|
#if defined(CGSTATIC_VIDEO_CONFIG)
|
|
#define RING_BUFSIZE_RX (VIDEO_DRV_WIDTH * VIDEO_DRV_HEIGHT * VIDEO_DRV_PIXEL_SIZE)
|
|
#define RING_BUFSIZE_TX 0
|
|
#endif
|
|
|
|
#endif
|