summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_out.h
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-10-24 17:51:30 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-10-24 17:51:30 +0000
commitaaf25c79cff81c8b9fc31554b4e3a325c0af2803 (patch)
tree41c1409b85490cb490c91cb3cc215c2907a2a28c /src/xine-engine/audio_out.h
parent7b3b35c3616e4de1eaa85afd72237cb35f9c82a5 (diff)
downloadxine-lib-aaf25c79cff81c8b9fc31554b4e3a325c0af2803.tar.gz
xine-lib-aaf25c79cff81c8b9fc31554b4e3a325c0af2803.tar.bz2
fix identiation, implement an audio compressor filter (yeah, i know a big concept for audio filter plugins is needed but sorry, this has been on my todo-list for too long)
CVS patchset: 2990 CVS date: 2002/10/24 17:51:30
Diffstat (limited to 'src/xine-engine/audio_out.h')
-rw-r--r--src/xine-engine/audio_out.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xine-engine/audio_out.h b/src/xine-engine/audio_out.h
index c3d7d1090..b22f1a7bc 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.38 2002/10/17 17:43:44 mroi Exp $
+ * $Id: audio_out.h,v 1.39 2002/10/24 17:51:30 guenter Exp $
*/
#ifndef HAVE_AUDIO_OUT_H
#define HAVE_AUDIO_OUT_H
@@ -232,6 +232,10 @@ struct ao_instance_s {
int16_t *zero_space;
int64_t passthrough_offset;
+
+ int do_compress;
+ double compression_factor; /* current compression */
+ double compression_factor_max; /* user limit on compression */
};
typedef struct audio_driver_class_s audio_driver_class_t;
@@ -294,6 +298,7 @@ ao_instance_t *ao_new_instance (xine_ao_driver_t *driver,
#define AO_PROP_MIXER_VOL 0
#define AO_PROP_PCM_VOL 1
#define AO_PROP_MUTE_VOL 2
+#define AO_PROP_COMPRESSOR 3
/* audio device control ops */