2004-07-16 18:58:23 +00:00
|
|
|
#ifndef foopolyplibdefhfoo
|
|
|
|
|
#define foopolyplibdefhfoo
|
2004-06-23 23:17:30 +00:00
|
|
|
|
2004-07-16 19:56:36 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
|
|
/***
|
|
|
|
|
This file is part of polypaudio.
|
|
|
|
|
|
|
|
|
|
polypaudio is free software; you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as published
|
|
|
|
|
by the Free Software Foundation; either version 2 of the License,
|
|
|
|
|
or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
polypaudio is distributed in the hope that it will be useful, but
|
|
|
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with polypaudio; if not, write to the Free Software
|
|
|
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
|
|
USA.
|
|
|
|
|
***/
|
|
|
|
|
|
2004-06-23 23:17:30 +00:00
|
|
|
#include <inttypes.h>
|
|
|
|
|
|
2004-08-06 23:07:48 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2004-08-11 15:11:26 +00:00
|
|
|
#include "native-common.h"
|
|
|
|
|
|
2004-06-23 23:17:30 +00:00
|
|
|
enum pa_stream_direction {
|
|
|
|
|
PA_STREAM_PLAYBACK,
|
2004-08-03 19:26:56 +00:00
|
|
|
PA_STREAM_RECORD,
|
|
|
|
|
PA_STREAM_UPLOAD
|
2004-06-23 23:17:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct pa_buffer_attr {
|
2004-07-07 00:22:46 +00:00
|
|
|
uint32_t maxlength;
|
|
|
|
|
uint32_t tlength;
|
2004-06-23 23:17:30 +00:00
|
|
|
uint32_t prebuf;
|
2004-07-07 00:22:46 +00:00
|
|
|
uint32_t minreq;
|
2004-07-10 16:50:22 +00:00
|
|
|
uint32_t fragsize;
|
2004-06-23 23:17:30 +00:00
|
|
|
};
|
2004-08-11 15:11:26 +00:00
|
|
|
|
2004-08-06 23:07:48 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2004-06-23 23:17:30 +00:00
|
|
|
#endif
|