forked from PAWPAW-Mirror/lib_xua
Whitespace tidy only
This commit is contained in:
@@ -85,10 +85,10 @@
|
||||
#if defined(NATIVE_DSD) && (NATIVE_DSD == 0)
|
||||
#undef NATIVE_DSD
|
||||
#else
|
||||
#define NATIVE_DSD 1 /* Always enable Native DSD when DSD mode is enabled */
|
||||
#define NATIVE_DSD (1) /* Always enable Native DSD when DSD mode is enabled */
|
||||
#endif
|
||||
#else
|
||||
#define DSD_CHANS_DAC 0
|
||||
#define DSD_CHANS_DAC (0)
|
||||
#endif
|
||||
|
||||
#define XUA_PCM_FORMAT_I2S (0)
|
||||
@@ -114,9 +114,9 @@
|
||||
**/
|
||||
#ifndef I2S_CHANS_PER_FRAME
|
||||
#if (XUA_PCM_FORMAT == XUA_PCM_FORMAT_TDM)
|
||||
#define I2S_CHANS_PER_FRAME 8
|
||||
#define I2S_CHANS_PER_FRAME (8)
|
||||
#else
|
||||
#define I2S_CHANS_PER_FRAME 2
|
||||
#define I2S_CHANS_PER_FRAME (2)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -257,14 +257,16 @@
|
||||
* Default: 2 (Audio Class version 2.0)
|
||||
*/
|
||||
#ifndef AUDIO_CLASS
|
||||
#define AUDIO_CLASS 2
|
||||
#define AUDIO_CLASS (2)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Whether or not to fall back to Audio Class 1.0 in USB Full-speed. Default: 0 (Disabled)
|
||||
* @brief Whether or not to fall back to Audio Class 1.0 in USB Full-speed.
|
||||
*
|
||||
* Default: 0 (Disabled i.e. do not fall back to UAC 1.0
|
||||
*/
|
||||
#ifndef AUDIO_CLASS_FALLBACK
|
||||
#define AUDIO_CLASS_FALLBACK 0 /* Default to not falling back to UAC 1 */
|
||||
#define AUDIO_CLASS_FALLBACK (0)
|
||||
#endif
|
||||
|
||||
/**
|
||||
@@ -276,7 +278,7 @@
|
||||
#if (AUDIO_CLASS == 2)
|
||||
/* Whether to run in Audio Class 2.0 mode in USB Full-speed */
|
||||
#if !defined(FULL_SPEED_AUDIO_2) && (AUDIO_CLASS_FALLBACK == 0)
|
||||
#define FULL_SPEED_AUDIO_2 1 /* Default to falling back to UAC2 */
|
||||
#define FULL_SPEED_AUDIO_2 (1) /* Default to falling back to UAC2 */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user