diff options
author | anders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-13 12:32:42 +0000 |
---|---|---|
committer | anders <anders@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-03-13 12:32:42 +0000 |
commit | ead9372b404a31ec231796338aed148e63ff3d77 (patch) | |
tree | 5725e31b092a5b37e4fc55594e8b13b6aa28149e /libao2/audio_plugin.h | |
parent | 54610a5997817c34b51c5c25342b502438b4fa7f (diff) | |
download | mpv-ead9372b404a31ec231796338aed148e63ff3d77.tar.bz2 mpv-ead9372b404a31ec231796338aed148e63ff3d77.tar.xz |
Added soft clipping for software volume control
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5064 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/audio_plugin.h')
-rw-r--r-- | libao2/audio_plugin.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libao2/audio_plugin.h b/libao2/audio_plugin.h index 4d31c19bf2..2ff06591b5 100644 --- a/libao2/audio_plugin.h +++ b/libao2/audio_plugin.h @@ -37,6 +37,7 @@ typedef struct ao_plugin_cfg_s int pl_resample_fout; // Output frequency from resampling int pl_volume_volume; // Initial volume setting float pl_extrastereo_mul; // Stereo enhancer multiplier + int pl_volume_softclip; // Enable soft clipping } ao_plugin_cfg_t; extern ao_plugin_cfg_t ao_plugin_cfg; @@ -47,8 +48,9 @@ extern ao_plugin_cfg_t ao_plugin_cfg; AFMT_S16_LE, \ 0, \ 48000, \ - 255, \ - 2.5 \ + 101, \ + 2.5, \ + 0 \ }; // This block should not be available in the pl_xxxx files |