1 // **************************************************************************** 2 // 3 // CEchoGals_mixer.h 4 // 5 // Set editor tabs to 3 for your viewing pleasure. 6 // 7 // ---------------------------------------------------------------------------- 8 // 9 // This file is part of Echo Digital Audio's generic driver library. 10 // Copyright Echo Digital Audio Corporation (c) 1998 - 2005 11 // All rights reserved 12 // www.echoaudio.com 13 // 14 // This library is free software; you can redistribute it and/or 15 // modify it under the terms of the GNU Lesser General Public 16 // License as published by the Free Software Foundation; either 17 // version 2.1 of the License, or (at your option) any later version. 18 // 19 // This library is distributed in the hope that it will be useful, 20 // but WITHOUT ANY WARRANTY; without even the implied warranty of 21 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 22 // Lesser General Public License for more details. 23 // 24 // You should have received a copy of the GNU Lesser General Public 25 // License along with this library; if not, write to the Free Software 26 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 27 // 28 // **************************************************************************** 29 30 #ifndef _CEchoGals_mixer_h_ 31 #define _CEchoGals_mixer_h_ 32 33 //=========================================================================== 34 // 35 // Mixer client stuff 36 // 37 //=========================================================================== 38 39 // 40 // Max number of notifies stored per card 41 // 42 #define MAX_MIXER_NOTIFIES 2048 43 44 // 45 // Structure describing a mixer client. The notifies are stored in a circular 46 // buffer 47 // 48 typedef struct tECHO_MIXER_CLIENT 49 { 50 NUINT Cookie; // Unique ID for this client 51 52 DWORD dwCount; 53 DWORD dwHead; 54 DWORD dwTail; 55 56 MIXER_NOTIFY Notifies[MAX_MIXER_NOTIFIES]; 57 58 struct tECHO_MIXER_CLIENT *pNext; 59 60 } ECHO_MIXER_CLIENT; 61 62 #endif // _CEchoGals_mixer_h_ 63