forked from PAWPAW-Mirror/lib_xua
Added dsd_support.h
This commit is contained in:
16
module_usb_audio/dsd_support.h
Normal file
16
module_usb_audio/dsd_support.h
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
#ifndef _DSD_H_
|
||||
#define _DSD_H_
|
||||
|
||||
#define DSD_MODE_OFF 0
|
||||
#define DSD_MODE_DOP 1
|
||||
#define DSD_MODE_NATIVE 2
|
||||
|
||||
/* DoP defines */
|
||||
#define DSD_MARKER_1 0xFA
|
||||
#define DSD_MARKER_2 0x05
|
||||
#define DSD_MARKER_XOR 0xFF
|
||||
#define DSD_EN_THRESH 32 /* Number of consecutive DSD markers before switching to DSD mode */
|
||||
#define DSD_MASK(x) ((x >> 24) & 0xff)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user