?? kara.h
字號:
/* Copyright 1996, ESS Technology, Inc. *//* SCCSID @(#)kara.h 1.24 4/15/98 *//* * $Log$ */#ifndef _KARA_H_#define _KARA_H_#include "common.h"/************************************************************ * Export Variables ************************************************************/struct ObjectKara { int karaokey; /* local copy of vcx_karaokey */ int break_on_crossfade; int key_shift_offset ; int vp_port; int tail_ptr;/* int* rdptr; int* wrptr;*/};#ifdef MAINstruct ObjectKara KARAvcd;#elseextern struct ObjectKara KARAvcd;#endif/************************************************************ * Export function ************************************************************/EXPORT void karaoke_init(struct ObjectKara *p);EXPORT int karaoke_is_ready(struct ObjectKara p);EXPORT int karaoke_shift(struct ObjectKara *p);/************************************************************ * Import function ************************************************************//*IMPORT void VP_load_ucode(RAMCODE name);*/IMPORT void LOW_set_buscon_dma_width3(ushort new_value);/************************************************************ * Import Variables ************************************************************/IMPORT int * vp_key_port;/************************************************************ * Constant define ************************************************************/#ifdef SPATIAL#define DIFF_start (2112+ADJUST_4_LINE) /* DW addr */#define DIFF_size 8 /* unit in DW */#define DIFF_end (DIFF_start+DIFF_size)#define BP_filter DIFF_end#define BP_size (2*(DIFF_size+1)) /* unit in DW */#define DM_OFFSET 256 /* (16*32)/2 unit in words */#define DP_OFFSET 96*4+DIFF_size*4#define HIST_OFFSET 448 /* (32*16 + 96*4)/2 */#endif /* end of #ifdef SPATIAL *//************************************************************ * global variables ************************************************************/#ifdef SPATIAL/* * Do_spa is no longer used. Please set level via SPA_set_level */#ifndef CUST_SPATIAL#define SPA_OFF 0 /* Normal */#define SPA_SURROUND 1 /* Surround sound */#define SPA_3D 2 /* 3D surround sound */#define SPA_HALL 3 /* Hall (widest) */#define SPA_VOCAL_CUT 4 /* Vocal cut */#else#define SPA_OFF 3 /* Normal */#define SPA_SURROUND 4 /* Surround sound */#define SPA_3D 5 /* 3D surround sound */#define SPA_HALL 6 /* Hall (widest) */#define SPA_VOCAL_CUT 7 /* Vocal cut */#endif#ifdef CUST71#define ECHO_MODE 8 /* echo mode for cust's 8.x */#endifGBLDEF(int SPA_level, SPA_OFF); /* Keep track of spatializer */extern char * SPA_set_level(int);#endif#endif /* _KARA_H_ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -