hxcodec.c File Reference

Go to the source code of this file.

Defines

#define NUT_THREAD_HXCODEC0STACK   768
#define HXCODEC0_MAX_OUTPUT_BUFSIZ   16384
 Output buffer size limit.
#define DAC_OUTPUT_RATE   8000
#define MP3_BUFSIZ   (4 * MAINBUF_SIZE)

Functions

void FeederThread (void *arg)

Variables

NUTDEVICE devHelixCodec
 Device information structure.

Internal Command Flags



#define HXREQ_PLAY   0x00000001
 Force immediate player start.
#define HXREQ_CANCEL   0x00000002
 Force immediate player stop.
#define HXREQ_VOLUPD   0x00000004
 Volume update.
#define HXREQ_BEEP   0x00000008
 Sine wave test.


Define Documentation

#define NUT_THREAD_HXCODEC0STACK   768

Definition at line 82 of file hxcodec.c.

#define HXCODEC0_MAX_OUTPUT_BUFSIZ   16384

Output buffer size limit.

Definition at line 87 of file hxcodec.c.

#define DAC_OUTPUT_RATE   8000

Definition at line 94 of file hxcodec.c.

#define MP3_BUFSIZ   (4 * MAINBUF_SIZE)

Definition at line 102 of file hxcodec.c.

#define HXREQ_PLAY   0x00000001

Force immediate player start.

Definition at line 114 of file hxcodec.c.

Referenced by FeederThread().

#define HXREQ_CANCEL   0x00000002

Force immediate player stop.

Definition at line 116 of file hxcodec.c.

Referenced by FeederThread().

#define HXREQ_VOLUPD   0x00000004

Volume update.

Definition at line 118 of file hxcodec.c.

Referenced by FeederThread().

#define HXREQ_BEEP   0x00000008

Sine wave test.

Definition at line 120 of file hxcodec.c.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/