home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xmcd-1.4 / libdi.d / vu_chin.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-10  |  1.8 KB  |  64 lines

  1. /*
  2.  *   libdi - CD Audio Player Device Interface Library
  3.  *
  4.  *   Copyright (C) 1995  Ti Kan
  5.  *   E-mail: ti@amb.org
  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.  *   The name "Chinon" is a trademark of Chinon Industries, and is
  22.  *   used here for identification purposes only.  This software and
  23.  *   its author are not affiliated in any way with Chinon.
  24.  *
  25.  */
  26. #ifndef __VU_CHIN_H__
  27. #define __VU_CHIN_H__
  28.  
  29. #ifdef VENDOR_CHINON
  30.  
  31. #ifndef LINT
  32. static char *_vu_chin_h_ident_ = "@(#)vu_chin.h    5.2 94/12/28";
  33. #endif
  34.  
  35.  
  36. /* Chinon vendor-unique commands */
  37. #define OP_VC_EJECT        0xc0    /* Chinon eject disc */
  38. #define OP_VC_STOP        0xc6    /* Chinon audio stop */
  39.  
  40.  
  41. /* Chinon audio status codes */
  42. #define CAUD_INVALID        0x00
  43. #define CAUD_PLAYING        0x11
  44. #define CAUD_PAUSED        0x15
  45.  
  46.  
  47. /* Public function prototypes */
  48. extern bool_t    chin_playaudio(byte_t, word32_t, word32_t, msf_t *, msf_t *,
  49.             byte_t, byte_t);
  50. extern bool_t    chin_start_stop(bool_t, bool_t);
  51. extern bool_t    chin_get_playstatus(curstat_t *, byte_t *);
  52. extern bool_t    chin_get_toc(curstat_t *);
  53. extern bool_t    chin_eject(void);
  54. extern void    chin_init(void);
  55.  
  56. #else
  57.  
  58. #define chin_init    NULL
  59.  
  60. #endif    /* VENDOR_CHINON */
  61.  
  62. #endif    /* __VU_CHIN_H__ */
  63.  
  64.