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

  1. /* $Id: devsupp.h,v 4.3 1999/04/22 19:42:01 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 _DEVSUPP_H_
  24. #define _DEVSUPP_H_
  25.  
  26. #include <config.h>
  27. #include <CompilerSpecific.h>
  28. #include <devices/ahi.h>
  29.  
  30. #define RecArgs REG(d0, ULONG size),    \
  31.                 REG(d1, ULONG add),     \
  32.                 REG(a0, APTR src),      \
  33.                 REG(a2, ULONG *offset), \
  34.                 REG(a3, void **dest)
  35.  
  36. void ASMCALL  RecM8S( RecArgs );
  37. void ASMCALL  RecS8S( RecArgs );
  38. void ASMCALL RecM16S( RecArgs );
  39. void ASMCALL RecS16S( RecArgs );
  40. void ASMCALL RecM32S( RecArgs );
  41. void ASMCALL RecS32S( RecArgs );
  42.  
  43. ULONG ASMCALL 
  44. MultFixed ( REG(d0, ULONG a),
  45.             REG(d1, Fixed b) );
  46.  
  47. void ASMCALL
  48. asmRecordFunc ( REG(d0, ULONG samples),
  49.                 REG(a0, void *data),
  50.                 REG(a1, void *buffer) );
  51.  
  52. #endif /*_DEVSUPP_H_ */
  53.