Super Mario 64s source code (from a leak on 4chan so be careful)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
2.3 KiB

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