home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 106 / EnigmaAmiga106CD.iso / software / sviluppo / ahisrc / device / debug.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-04-22  |  2.4 KB  |  93 lines

  1. /* $Id: debug.h,v 4.4 1999/04/22 19:41:51 lcs Exp $ */
  2.  
  3. /*
  4.      AHI - Hardware independent audio subsystem
  5.      Copyright (C) 1996-1999 Martin Blom <martin@blom.org>
  6.      
  7.      This library is free software; you can redistribute it and/or
  8.      modify it under the terms of the GNU Library General Public
  9.      License as published by the Free Software Foundation; either
  10.      version 2 of the License, or (at your option) any later version.
  11.      
  12.      This library is distributed in the hope that it will be useful,
  13.      but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15.      Library General Public License for more details.
  16.      
  17.      You should have received a copy of the GNU Library General Public
  18.      License along with this library; if not, write to the
  19.      Free Software Foundation, Inc., 59 Temple Place - Suite 330, Cambridge,
  20.      MA 02139, USA.
  21. */
  22.  
  23. #ifndef _DEBUG_H_
  24. #define _DEBUG_H_
  25.  
  26. #include <devices/ahi.h>
  27.  
  28. void
  29. Debug_AllocAudioA( struct TagItem *tags );
  30.  
  31. void
  32. Debug_FreeAudio( struct AHIPrivAudioCtrl *audioctrl );
  33.  
  34. void
  35. Debug_KillAudio( void );
  36.  
  37. void
  38. Debug_ControlAudioA( struct AHIPrivAudioCtrl *audioctrl, struct TagItem *tags );
  39.  
  40.  
  41. void
  42. Debug_SetVol( UWORD chan, Fixed vol, sposition pan, struct AHIPrivAudioCtrl *audioctrl, ULONG flags);
  43.  
  44. void
  45. Debug_SetFreq( UWORD chan, ULONG freq, struct AHIPrivAudioCtrl *audioctrl, ULONG flags);
  46.  
  47. void
  48. Debug_SetSound( UWORD chan, UWORD sound, ULONG offset, LONG length, struct AHIPrivAudioCtrl *audioctrl, ULONG flags);
  49.  
  50. void
  51. Debug_SetEffect( ULONG *effect, struct AHIPrivAudioCtrl *audioctrl );
  52.  
  53. void
  54. Debug_LoadSound( UWORD sound, ULONG type, APTR info, struct AHIPrivAudioCtrl *audioctrl );
  55.  
  56. void
  57. Debug_UnloadSound( UWORD sound, struct AHIPrivAudioCtrl *audioctrl );
  58.  
  59. void
  60. Debug_NextAudioID( ULONG id);
  61.  
  62. void
  63. Debug_GetAudioAttrsA( ULONG id, struct AHIAudioCtrlDrv *audioctrl, struct TagItem *tags );
  64.  
  65. void
  66. Debug_BestAudioIDA( struct TagItem *tags );
  67.  
  68. void
  69. Debug_AllocAudioRequestA( struct TagItem *tags );
  70.  
  71. void
  72. Debug_AudioRequestA( struct AHIAudioModeRequester *req, struct TagItem *tags );
  73.  
  74. void
  75. Debug_FreeAudioRequest( struct AHIAudioModeRequester *req );
  76.  
  77. void
  78. Debug_PlayA( struct AHIAudioCtrl *audioctrl, struct TagItem *tags );
  79.  
  80. void
  81. Debug_SampleFrameSize( ULONG sampletype);
  82.  
  83. void
  84. Debug_AddAudioMode(struct TagItem *tags );
  85.  
  86. void
  87. Debug_RemoveAudioMode( ULONG id);
  88.  
  89. void
  90. Debug_LoadModeFile( STRPTR name);
  91.  
  92. #endif /* _DEBUG_H_ */
  93.