📄 storage.h
字号:
/*
* Copyright 2003 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
/* "@(#) XDSP_Audio 3.00.00.36 12-18-03 (swat-f30)" */
/*
* ======== storage.h ========
*
* Inteface for STORAGE module that stores compressed songs
*
*/
#ifndef STORAGE_
#define STORAGE_
typedef struct STORAGE_Obj {
Uns offset; /* offset to current block within the storage heap */
} STORAGE_Obj;
typedef STORAGE_Obj * STORAGE_Handle;
extern Void STORAGE_setup( Int heapIdentifier, Long storageSize );
extern Void STORAGE_new( STORAGE_Handle storageObjectAddress );
extern Void STORAGE_rewind( STORAGE_Handle handle );
extern Bool STORAGE_store( STORAGE_Handle handle, Ptr dataBuffer, Int bufferSize );
extern Bool STORAGE_retrieve( STORAGE_Handle handle, Ptr dataBuffer, Int bufferSize );
#endif /* THRENCODE_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -