Mercurial > pidgin.yaz
annotate src/mediastreamer/osscard.h @ 12869:45c7f6510baa
[gaim-migrate @ 15221]
ranma42 got me his name.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 14 Jan 2006 00:32:31 +0000 |
parents | 1c771536a032 |
children |
rev | line source |
---|---|
12024 | 1 /* |
2 The mediastreamer library aims at providing modular media processing and I/O | |
3 for linphone, but also for any telephony application. | |
4 Copyright (C) 2001 Simon MORLAT simon.morlat@linphone.org | |
5 | |
6 This library is free software; you can redistribute it and/or | |
7 modify it under the terms of the GNU Lesser General Public | |
8 License as published by the Free Software Foundation; either | |
9 version 2.1 of the License, or (at your option) any later version. | |
10 | |
11 This library 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 GNU | |
14 Lesser General Public License for more details. | |
15 | |
16 You should have received a copy of the GNU Lesser General Public | |
17 License along with this library; if not, write to the Free Software | |
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
19 */ | |
20 /* An implementation of SndCard : the OssCard */ | |
21 | |
22 #ifndef OSS_CARD_H | |
23 #define OSS_CARD_H | |
24 | |
25 #include "sndcard.h" | |
26 | |
27 #define OSS_CARD_BUFFERS 3 | |
28 struct _OssCard | |
29 { | |
30 SndCard parent; | |
31 gchar *dev_name; /* /dev/dsp0 for example */ | |
32 gchar *mixdev_name; /* /dev/mixer0 for example */ | |
33 gint fd; /* the file descriptor of the open soundcard, 0 if not open*/ | |
34 gint ref; | |
35 gchar *readbuf; | |
36 gint readpos; | |
37 gchar *writebuf; | |
38 gint writepos; | |
39 }; | |
40 | |
41 typedef struct _OssCard OssCard; | |
42 | |
43 SndCard * oss_card_new(char *devname, char *mixdev_name); | |
44 | |
45 typedef OssCard HpuxSndCard; | |
46 | |
12029
1c771536a032
[gaim-migrate @ 14322]
Gary Kramlich <grim@reaperworld.com>
parents:
12024
diff
changeset
|
47 gint oss_card_manager_init(SndCardManager *manager, gint tabindex); |
1c771536a032
[gaim-migrate @ 14322]
Gary Kramlich <grim@reaperworld.com>
parents:
12024
diff
changeset
|
48 |
12024 | 49 #endif |