home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 Secrets / Secrets2.iso / Audio / WAV / MaplayP / _SETUP.1 / os2_obuffer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-12  |  1.4 KB  |  49 lines

  1. /*  os2_obuffer.h
  2.  *
  3.  *  @(#) obuffer.h 1.8, last edit: 6/15/94 16:51:56
  4.  *  @(#) Copyright (C) 1993, 1994 Tobias Bading (bading@cs.tu-berlin.de)
  5.  *  @(#) Berlin University of Technology
  6.  *
  7.  *  This program is free software; you can redistribute it and/or modify
  8.  *  it under the terms of the GNU General Public License as published by
  9.  *  the Free Software Foundation; either version 2 of the License, or
  10.  *  (at your option) any later version.
  11.  *
  12.  *  This program 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
  15.  *  GNU General Public License for more details.
  16.  *
  17.  *  You should have received a copy of the GNU General Public License
  18.  *  along with this program; if not, write to the Free Software
  19.  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  */
  21.  
  22. #ifndef OS2_OBUFFER_H
  23. #define OS2_OBUFFER_H
  24.  
  25. #include "all.h"
  26. #include "args.h"
  27. #include "header.h"
  28.  
  29. #ifdef OS2
  30. class OS2Obuffer : public Obuffer
  31. {
  32.   char   bigbuf[OBUFFERSIZE*10*2],*next;
  33.   static int audio_fd;
  34.  
  35.   static int open_audio_device (void);
  36.  
  37. public:
  38.     OS2Obuffer (uint32 number_of_channels, MPEG_Args *ma);
  39.        ~OS2Obuffer (void);
  40.  
  41.   void    append (uint32 channel, int16 value);
  42.   void    write_buffer (int dummy);
  43.  
  44. };
  45. #endif    // OS2
  46.  
  47. #endif
  48.  
  49.