📄 wmplatformdefs.h
字号:
/*-----------------------------------------------------------------------------
* Copyright (c) Wolfson Microelectronics plc. All rights reserved.
*
* This software as well as any related documentation is furnished under
* license and may only be used or copied in accordance with the terms of the
* license. The information in this file is furnished for informational use
* only, is subject to change without notice, and should not be construed as
* a commitment by Wolfson Microelectronics plc. Wolfson Microelectronics plc
* assumes no responsibility or liability for any errors or inaccuracies that
* may appear in this document or any software that may be provided in
* association with this document.
*
* Except as permitted by such license, no part of this document may be
* reproduced, stored in a retrieval system, or transmitted in any form or by
* any means without the express written consent of Wolfson Microelectronics plc.
*
* $Id: WMPlatformDefs.h 1403 2005-03-14 15:20:12Z ib $
*
* Common definitions to hide platform differences.
*
* This is file contains definitions which are platform-specific.
*
* Warning:
* This driver is specifically written for Wolfson Codecs. It is not a
* general CODEC device driver.
*
*---------------------------------------------------------------------------*/
#ifndef __WMPLATFORMDEFS_H__
#define __WMPLATFORMDEFS_H__
/*
* Include files
*/
/*
* Definitions
*/
/*
* What a sample looks like.
*/
typedef short WM_AUDIO_SAMPLE;
typedef union tagWM_AUDIO_STEREO_SAMPLE
{
unsigned int sampleVal;
struct
{
WM_AUDIO_SAMPLE left;
WM_AUDIO_SAMPLE right;
} stereo;
WM_AUDIO_SAMPLE mono;
} WM_AUDIO_STEREO_SAMPLE;
/*
* Function prototypes
*/
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* __WMPLATFORMDEFS_H__ */
/*------------------------------ END OF FILE ---------------------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -