annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
441
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
1
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
2 #ifndef __MPLAYER_MIXER
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
3 #define __MPLAYER_MIXER
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
4
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
5 #define DEV_MIXER "/dev/mixer"
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
6
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
7 extern int mixer_usemaster;
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
8 extern char * mixer_device;
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
9
1038
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 441
diff changeset
10 extern void mixer_getvolume( float *l,float *r );
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 441
diff changeset
11 extern void mixer_setvolume( float l,float r );
441
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
12 extern void mixer_incvolume( void );
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
13 extern void mixer_decvolume( void );
1038
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 441
diff changeset
14 extern float mixer_getbothvolume( void );
441
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
15
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
16 //extern void mixer_setbothvolume( int v );
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
17 #define mixer_setbothvolume( v ) mixer_setvolume( v,v )
c4b4e2aac9de ups, I missed'em..
gabucino
parents:
diff changeset
18
1038
b36fb1ae4b53 applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents: 441
diff changeset
19 #endif