diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-10-01 23:04:57 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-10-01 23:04:57 +0000 |
commit | c48149133f36b24fb87924209a950681be0727c7 (patch) | |
tree | 18a1126eeaecf6a6310fb9d74e91a531b2c62f40 /src/xine-engine/audio_out.h | |
parent | 9d7e1140adde62d0959af667474a54470d98968a (diff) | |
download | xine-lib-c48149133f36b24fb87924209a950681be0727c7.tar.gz xine-lib-c48149133f36b24fb87924209a950681be0727c7.tar.bz2 |
Add simple mixer control in xine-engine/ao plugins. Fixed some missings
in audio_decoder. xine-ui warn at compile time due of a #warning i
added, i will remove it pretty soon.
CVS patchset: 715
CVS date: 2001/10/01 23:04:57
Diffstat (limited to 'src/xine-engine/audio_out.h')
-rw-r--r-- | src/xine-engine/audio_out.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/xine-engine/audio_out.h b/src/xine-engine/audio_out.h index d23db13f5..501eac29a 100644 --- a/src/xine-engine/audio_out.h +++ b/src/xine-engine/audio_out.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_out.h,v 1.17 2001/09/14 20:44:01 jcdutton Exp $ + * $Id: audio_out.h,v 1.18 2001/10/01 23:04:57 f1rmb Exp $ */ #ifndef HAVE_AUDIO_OUT_H #define HAVE_AUDIO_OUT_H @@ -126,6 +126,14 @@ typedef struct ao_instance_s ao_instance_t; struct ao_instance_s { uint32_t (*get_capabilities) (ao_instance_t *this); /* for constants see below */ + /* + * Get/Set audio property + * + * See AO_PROP_* bellow + */ + int (*get_property) (ao_instance_t *this, int property); + int (*set_property) (ao_instance_t *this, int property, int value); + /* open audio driver for audio output * return value: 0:failure, >0:output sample rate */ |