Last change
on this file since 172 was 142, checked in by ktk, 25 years ago |
Import
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.7 KB
|
Line | |
---|
1 | /* $Id: wavehw.hpp 142 2000-04-23 14:55:46Z ktk $ */
|
---|
2 |
|
---|
3 | /* SCCSID = %W% %E% */
|
---|
4 | /****************************************************************************
|
---|
5 | * *
|
---|
6 | * Copyright (c) IBM Corporation 1994 - 1997. *
|
---|
7 | * *
|
---|
8 | * The following IBM OS/2 source code is provided to you solely for the *
|
---|
9 | * the purpose of assisting you in your development of OS/2 device drivers. *
|
---|
10 | * You may use this code in accordance with the IBM License Agreement *
|
---|
11 | * provided in the IBM Device Driver Source Kit for OS/2. *
|
---|
12 | * *
|
---|
13 | ****************************************************************************/
|
---|
14 | /**@internal %W%
|
---|
15 | * Defines, class definations and prototypes for
|
---|
16 | * @version %I%
|
---|
17 | * @context Unless otherwise noted, all interfaces are Ring-0, 16-bit,
|
---|
18 | * <stack context>.
|
---|
19 | * @history
|
---|
20 | *
|
---|
21 | */
|
---|
22 | #ifndef WAVEHW_INCLUDED
|
---|
23 | #define WAVEHW_INCLUDED
|
---|
24 |
|
---|
25 | #ifndef OS2_INCLUDED
|
---|
26 | #define INCL_NOPMAPI
|
---|
27 | #include <os2.h>
|
---|
28 | #include <audio.h>
|
---|
29 | #endif
|
---|
30 |
|
---|
31 | #include "waudio.hpp"
|
---|
32 |
|
---|
33 |
|
---|
34 | class WAVEPLAY : public WAVEAUDIO {
|
---|
35 | public:
|
---|
36 | virtual int Start(STREAM *stream); // Start the operation
|
---|
37 | virtual int Stop(STREAM *stream); // Stop the operation
|
---|
38 |
|
---|
39 | virtual void ConfigDev(STREAM *stream, PWAVECONFIGINFO pConfigInfo);
|
---|
40 |
|
---|
41 | WAVEPLAY();
|
---|
42 | };
|
---|
43 | typedef WAVEPLAY *PWAVEPLAY;
|
---|
44 |
|
---|
45 | class WAVEREC : public WAVEAUDIO {
|
---|
46 | public:
|
---|
47 | virtual int Start(STREAM *stream); // Start the operation
|
---|
48 | virtual int Stop(STREAM *stream); // Stop the operation
|
---|
49 |
|
---|
50 | virtual void ConfigDev(STREAM *stream, PWAVECONFIGINFO pConfigInfo);
|
---|
51 |
|
---|
52 | WAVEREC();
|
---|
53 | };
|
---|
54 | typedef WAVEREC *PWAVEREC;
|
---|
55 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.