source: cmedia/trunk/Sblive/recmgr.h@ 354

Last change on this file since 354 was 354, checked in by stevenhl, 17 years ago

Import untested baseline cmedia sources, work products and binaries
Binaries and work products should be deleted from repository.
once new builds are verified to work.

File size: 2.0 KB
Line 
1/* $Id: recmgr.h,v 1.1 2000/04/23 14:55:46 ktk Exp $ */
2
3/*
4 **********************************************************************
5 * recmgr.h
6 * Copyright 1999, 2000 Creative Labs, Inc.
7 *
8 **********************************************************************
9 *
10 * Date Author Summary of changes
11 * ---- ------ ------------------
12 * October 20, 1999 Bertrand Lee base code release
13 *
14 **********************************************************************
15 *
16 * This program is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License as
18 * published by the Free Software Foundation; either version 2 of
19 * the License, or (at your option) any later version.
20 *
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU General Public License for more details.
25 *
26 * You should have received a copy of the GNU General Public
27 * License along with this program; if not, write to the Free
28 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
29 * USA.
30 *
31 **********************************************************************
32 */
33
34#ifndef _RECORDMGR_H
35#define _RECORDMGR_H
36
37struct record
38{
39 struct emu10k1_card *card;
40 u8 *recbuffer;
41 u32 recpos;
42 int is_stereo;
43 int is_16bit;
44 u32 recbufsize;
45 u32 bufsize;
46 u32 bufsizereg;
47 u32 bufaddrreg;
48 u32 bufidxreg;
49 u32 adcctl;
50 unsigned long busaddx;
51 u32 samplingrate;
52};
53
54/* Recording resources */
55#define WAVERECORD_AC97 0x01
56#define WAVERECORD_MIC 0x02
57#define WAVERECORD_FX 0x03
58
59void emu10k1_start_record(struct record *);
60void emu10k1_stop_record(struct record *);
61void emu10k1_set_record_src(struct record *, u8);
62
63
64#endif /* _RECORDMGR_H */
Note: See TracBrowser for help on using the repository browser.