os_ai.h (2364B)
1 2 /*==================================================================== 3 * os_ai.h 4 * 5 * Copyright 1995, Silicon Graphics, Inc. 6 * All Rights Reserved. 7 * 8 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, 9 * Inc.; the contents of this file may not be disclosed to third 10 * parties, copied or duplicated in any form, in whole or in part, 11 * without the prior written permission of Silicon Graphics, Inc. 12 * 13 * RESTRICTED RIGHTS LEGEND: 14 * Use, duplication or disclosure by the Government is subject to 15 * restrictions as set forth in subdivision (c)(1)(ii) of the Rights 16 * in Technical Data and Computer Software clause at DFARS 17 * 252.227-7013, and/or in similar or successor clauses in the FAR, 18 * DOD or NASA FAR Supplement. Unpublished - rights reserved under the 19 * Copyright Laws of the United States. 20 *====================================================================*/ 21 22 /*---------------------------------------------------------------------* 23 Copyright (C) 1998 Nintendo. (Originated by SGI) 24 25 $RCSfile: os_ai.h,v $ 26 $Revision: 1.1 $ 27 $Date: 1998/10/09 08:01:04 $ 28 *---------------------------------------------------------------------*/ 29 30 #ifndef _OS_AI_H_ 31 #define _OS_AI_H_ 32 33 #ifdef _LANGUAGE_C_PLUS_PLUS 34 extern "C" { 35 #endif 36 37 #include <PR/ultratypes.h> 38 39 #if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) 40 41 /************************************************************************** 42 * 43 * Type definitions 44 * 45 */ 46 47 48 #endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */ 49 50 /************************************************************************** 51 * 52 * Global definitions 53 * 54 */ 55 56 57 #if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) 58 59 /************************************************************************** 60 * 61 * Macro definitions 62 * 63 */ 64 65 66 /************************************************************************** 67 * 68 * Extern variables 69 * 70 */ 71 72 73 /************************************************************************** 74 * 75 * Function prototypes 76 * 77 */ 78 79 /* Audio interface (Ai) */ 80 extern u32 osAiGetStatus(void); 81 extern u32 osAiGetLength(void); 82 extern s32 osAiSetFrequency(u32); 83 extern s32 osAiSetNextBuffer(void *, u32); 84 85 86 #endif /* defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) */ 87 88 #ifdef _LANGUAGE_C_PLUS_PLUS 89 } 90 #endif 91 92 #endif /* !_OS_AI_H_ */