2 Copyright 2004-2005 Chris Tallon
4 This file is part of VOMP.
6 VOMP is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 VOMP is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with VOMP; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
33 int AudioWin::init(UCHAR tstreamType)
35 if (initted) return 0;
40 int AudioWin::shutdown()
42 if (!initted) return 0;
52 int AudioWin::write(char *buf, int len)
54 return 0; //write(fdAudio, buf, len);
57 int AudioWin::setStreamType(UCHAR type)
59 if (!initted) return 0;
63 int AudioWin::setChannel()
65 if (!initted) return 0;
69 int AudioWin::setSource()
71 if (!initted) return 0;
77 if (!initted) return 0;
83 if (!initted) return 0;
89 if (!initted) return 0;
95 if (!initted) return 0;
99 int AudioWin::unPause()
101 if (!initted) return 0;
105 int AudioWin::reset()
107 if (!initted) return 0;
111 int AudioWin::setVolume(int tvolume)
113 // parameter: 0 for silence, 20 for full
114 if ((tvolume < 0) || (tvolume > 20)) return 0;
120 if (!initted) return 0;
124 int AudioWin::unMute()
126 if (!initted) return 0;