Mercurial > mplayer.hg
view mixer.h @ 3231:4bc4354ec88e
Added support for upsampling since dxr3/h+ only supports 44100Hz and 48000Hz, currently it only works on 44100/(2*ratio)
Reverted get_delay to return a properly calculated value instead of 0.0
author | mswitch |
---|---|
date | Fri, 30 Nov 2001 22:18:51 +0000 |
parents | b36fb1ae4b53 |
children | d678ce495a75 |
line wrap: on
line source
#ifndef __MPLAYER_MIXER #define __MPLAYER_MIXER #define DEV_MIXER "/dev/mixer" extern int mixer_usemaster; extern char * mixer_device; extern void mixer_getvolume( float *l,float *r ); extern void mixer_setvolume( float l,float r ); extern void mixer_incvolume( void ); extern void mixer_decvolume( void ); extern float mixer_getbothvolume( void ); //extern void mixer_setbothvolume( int v ); #define mixer_setbothvolume( v ) mixer_setvolume( v,v ) #endif