Blue.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. ////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2016 RWS Inc, All Rights Reserved
  4. //
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of version 2 of the GNU General Public License as published by
  7. // the Free Software Foundation
  8. //
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU General Public License along
  15. // with this program; if not, write to the Free Software Foundation, Inc.,
  16. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. //
  18. ///////////////////////////////////////////////////////////////////////////////
  19. //
  20. // Blue.h
  21. //
  22. // History:
  23. // 07/19/96 JMI Started.
  24. //
  25. // 06/03/97 JMI Added error messages.
  26. //
  27. //////////////////////////////////////////////////////////////////////////////
  28. //
  29. // This file decides what platform you are on and #includes the correct
  30. // *Blue.h. If you #include the platform specific *Blue.h instead of this
  31. // one, you will get a compile error.
  32. //
  33. //////////////////////////////////////////////////////////////////////////////
  34. #ifndef BLUE_H
  35. #define BLUE_H
  36. #include "unix/UnixBlue.h"
  37. //////////////////////////////////////////////////////////////////////////////
  38. // Error messages.
  39. //////////////////////////////////////////////////////////////////////////////
  40. // Base for all Blue error returns.
  41. #define BLU_ERR_BASE 0x1000
  42. // Blue error returns ////////////////////////////////////////////////////////
  43. // Audio /////////////////////////////////////////////////////////////////////
  44. #define BLU_ERR_DEVICE_IN_USE (BLU_ERR_BASE + 1) // Device already in use.
  45. #define BLU_ERR_NO_DEVICE (BLU_ERR_BASE + 2) // Device (or driver for
  46. // device) not present.
  47. #define BLU_ERR_NOT_SUPPORTED (BLU_ERR_BASE + 3) // Format not supported.
  48. #endif // BLUE_H
  49. //////////////////////////////////////////////////////////////////////////////
  50. // EOF
  51. //////////////////////////////////////////////////////////////////////////////