AWE32.H 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. Copyright (C) 1994-1995 Apogee Software, Ltd.
  3. This program is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU General Public License
  5. as published by the Free Software Foundation; either version 2
  6. of the License, or (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. See the GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program; if not, write to the Free Software
  13. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  14. */
  15. /**********************************************************************
  16. module: AWE32.H
  17. author: James R. Dose
  18. date: August 23, 1994
  19. Public header for AWE32.C Cover functions for calling the
  20. AWE32 low-level library.
  21. (c) Copyright 1994 James R. Dose. All Rights Reserved.
  22. **********************************************************************/
  23. #ifndef __AWE32_H
  24. #define __AWE32_H
  25. enum AWE32_ERRORS
  26. {
  27. AWE32_Warning = -2,
  28. AWE32_Error = -1,
  29. AWE32_Ok = 0,
  30. AWE32_SoundBlasterError,
  31. AWE32_NotDetected,
  32. AWE32_UnableToInitialize,
  33. AWE32_MPU401Error,
  34. AWE32_DPMI_Error
  35. };
  36. char *AWE32_ErrorString( int ErrorNumber );
  37. int AWE32_Init( void );
  38. void AWE32_Shutdown( void );
  39. void AWE32_NoteOff( int channel, int key, int velocity );
  40. void AWE32_NoteOn( int channel, int key, int velocity );
  41. void AWE32_PolyAftertouch( int channel, int key, int pressure );
  42. void AWE32_ChannelAftertouch( int channel, int pressure );
  43. void AWE32_ControlChange( int channel, int number, int value );
  44. void AWE32_ProgramChange( int channel, int program );
  45. void AWE32_PitchBend( int channel, int lsb, int msb );
  46. #endif