2 AHI - Hardware independent audio subsystem
3 Copyright (C) 1996-2005 Martin Blom <martin@blom.org>
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with this library; if not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330, Cambridge,
27 #include "addroutines.h"
31 InitMixroutine ( struct AHIPrivAudioCtrl
*audioctrl
);
35 CleanUpMixroutine ( struct AHIPrivAudioCtrl
*audioctrl
);
39 SelectAddRoutine ( Fixed VolumeLeft
,
42 struct AHIPrivAudioCtrl
*audioctrl
,
45 ADDFUNC
**AddRoutine
);
49 MixerFunc( struct Hook
* hook
,
50 struct AHIPrivAudioCtrl
* audioctrl
,
55 Mix( struct Hook
* unused_Hook
,
56 struct AHIPrivAudioCtrl
* audioctrl
,
60 DoMasterVolume ( void *buffer
,
61 struct AHIPrivAudioCtrl
*audioctrl
);
65 DoOutputBuffer ( void *buffer
,
66 struct AHIPrivAudioCtrl
*audioctrl
);
70 DoChannelInfo ( struct AHIPrivAudioCtrl
*audioctrl
);
74 CalcSamples ( Fixed64 Add
,
79 #endif /* ahi_mixer_h */