File nut/include/dev/hxcodec.h


Included Files


Preprocessor definitions

#define _DEV_HXCODEC_H_

#define AUDIO_DAC_MIN_GAIN -73

#define AUDIO_DAC_MAX_GAIN 6

#define AUDIO_SETWRITETIMEOUT 0x010d

#define AUDIO_GETWRITETIMEOUT 0x010e

#define AUDIO_PLAY 0x3001

#define AUDIO_CANCEL 0x3002

#define AUDIO_GET_STATUS 0x3003

#define AUDIO_GET_PLAYGAIN 0x3004

#define AUDIO_SET_PLAYGAIN 0x3005

#define AUDIO_GET_PBSIZE 0x3006

#define AUDIO_SET_PBSIZE 0x3007

#define AUDIO_GET_PBLEVEL 0x3008

#define AUDIO_GET_PBWLOW 0x3009

#define AUDIO_SET_PBWLOW 0x300A

#define AUDIO_GET_PBWHIGH 0x300B

#define AUDIO_SET_PBWHIGH 0x300C

#define AUDIO_BEEP 0x300F

#define AUDIO_GET_DECINFO 0x3010

#define AUDIO_GET_DECCAPS 0x3011

#define AUDIO_GET_DECFMTS 0x3012

#define AUDIO_SET_DECFMTS 0x3013

#define AUDIO_GET_CODINFO 0x3014

#define AUDIO_GET_CODCAPS 0x3015

#define AUDIO_GET_CODFMTS 0x3016

#define AUDIO_SET_CODFMTS 0x3017

#define AUDIO_GET_MIDINFO 0x3018

#define AUDIO_GET_MIDCAPS 0x3019

#define CODEC_STATUS_IDLE 0

#define CODEC_STATUS_PLAYING 1


External Variables

devHelixCodec
extern NUTDEVICE devHelixCodec
Defined in: nut/dev/hxcodec.c