#include <sys/atom.h>
#include <sys/event.h>
#include <sys/timer.h>
#include <sys/heap.h>
#include <cfg/arch/gpio.h>
#include <cfg/audio.h>
#include <dev/irqreg.h>
#include <contrib/hxmp3/mp3dec.h>
#include <contrib/hxmp3/hermite.h>
#include <dev/hxcodec.h>
#include <dev/tlv320dac.h>
#include <sys/bankmem.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <memdebug.h>
Go to the source code of this file.
Data Structures | |
struct | _HXDCB |
struct | _MP3PLAYERINFO |
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) |
Typedefs | |
typedef struct _HXDCB | HXDCB |
typedef struct _MP3PLAYERINFO | MP3PLAYERINFO |
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 HXCODEC0_MAX_OUTPUT_BUFSIZ 16384 |
#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 |