| 1 | /* |
| 2 | =========================================================================== |
| 3 | Copyright (C) 1999-2005 Id Software, Inc. |
| 4 | |
| 5 | This file is part of Quake III Arena source code. |
| 6 | |
| 7 | Quake III Arena source code is free software; you can redistribute it |
| 8 | and/or modify it under the terms of the GNU General Public License as |
| 9 | published by the Free Software Foundation; either version 2 of the License, |
| 10 | or (at your option) any later version. |
| 11 | |
| 12 | Quake III Arena source code is distributed in the hope that it will be |
| 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | GNU General Public License for more details. |
| 16 | |
| 17 | You should have received a copy of the GNU General Public License |
| 18 | along with Quake III Arena source code; if not, write to the Free Software |
| 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | =========================================================================== |
| 21 | */ |
| 22 | |
| 23 | // snddma_null.c |
| 24 | // all other sound mixing is portable |
| 25 | |
| 26 | #include "../qcommon/q_shared.h" |
| 27 | #include "../qcommon/qcommon.h" |
| 28 | |
| 29 | qboolean SNDDMA_Init(void) |
| 30 | { |
| 31 | return qfalse; |
| 32 | } |
| 33 | |
| 34 | int SNDDMA_GetDMAPos(void) |
| 35 | { |
| 36 | return 0; |
| 37 | } |
| 38 | |
| 39 | void SNDDMA_Shutdown(void) |
| 40 | { |
| 41 | } |
| 42 | |
| 43 | void SNDDMA_BeginPainting (void) |
| 44 | { |
| 45 | } |
| 46 | |
| 47 | void SNDDMA_Submit(void) |
| 48 | { |
| 49 | } |
| 50 | |
| 51 | #ifdef USE_VOIP |
| 52 | void SNDDMA_StartCapture(void) |
| 53 | { |
| 54 | } |
| 55 | |
| 56 | int SNDDMA_AvailableCaptureSamples(void) |
| 57 | { |
| 58 | return 0; |
| 59 | } |
| 60 | |
| 61 | void SNDDMA_Capture(int samples, byte *data) |
| 62 | { |
| 63 | } |
| 64 | |
| 65 | void SNDDMA_StopCapture(void) |
| 66 | { |
| 67 | } |
| 68 | |
| 69 | void SNDDMA_MasterGain( float val ) |
| 70 | { |
| 71 | } |
| 72 | #endif |
| 73 | |
| 74 | |
| 75 | sfxHandle_t S_RegisterSound( const char *name, qboolean compressed ) |
| 76 | { |
| 77 | return 0; |
| 78 | } |
| 79 | |
| 80 | void S_StartLocalSound( sfxHandle_t sfxHandle, int channelNum ) { |
| 81 | } |
| 82 | |
| 83 | void S_ClearSoundBuffer( void ) { |
| 84 | } |