Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | ********************************************************************** |
| 3 | * recmgr.h |
| 4 | * Copyright 1999, 2000 Creative Labs, Inc. |
| 5 | * |
| 6 | ********************************************************************** |
| 7 | * |
| 8 | * Date Author Summary of changes |
| 9 | * ---- ------ ------------------ |
| 10 | * October 20, 1999 Bertrand Lee base code release |
| 11 | * |
| 12 | ********************************************************************** |
| 13 | * |
| 14 | * This program is free software; you can redistribute it and/or |
| 15 | * modify it under the terms of the GNU General Public License as |
| 16 | * published by the Free Software Foundation; either version 2 of |
| 17 | * the License, or (at your option) any later version. |
| 18 | * |
| 19 | * This program is distributed in the hope that it will be useful, |
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 22 | * GNU General Public License for more details. |
| 23 | * |
| 24 | * You should have received a copy of the GNU General Public |
| 25 | * License along with this program; if not, write to the Free |
| 26 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, |
| 27 | * USA. |
| 28 | * |
| 29 | ********************************************************************** |
| 30 | */ |
| 31 | |
| 32 | #ifndef _RECORDMGR_H |
| 33 | #define _RECORDMGR_H |
| 34 | |
| 35 | #include "hwaccess.h" |
| 36 | #include "cardwi.h" |
| 37 | |
| 38 | /* Recording resources */ |
| 39 | #define WAVERECORD_AC97 0x01 |
| 40 | #define WAVERECORD_MIC 0x02 |
| 41 | #define WAVERECORD_FX 0x03 |
| 42 | |
| 43 | void emu10k1_reset_record(struct emu10k1_card *card, struct wavein_buffer *buffer); |
| 44 | void emu10k1_start_record(struct emu10k1_card *, struct wavein_buffer *); |
| 45 | void emu10k1_stop_record(struct emu10k1_card *, struct wavein_buffer *); |
| 46 | void emu10k1_set_record_src(struct emu10k1_card *, struct wiinst *wiinst); |
| 47 | |
| 48 | #endif /* _RECORDMGR_H */ |