1/* 2 * snd_android.c 3 * Android-specific sound interface 4 * 5 */ 6 7#include "quakedef.h" 8 9/* 10================== 11SNDDMA_Init 12 13Try to find a sound device to mix for. 14Returns false if nothing is found. 15================== 16*/ 17 18qboolean SNDDMA_Init(void) 19{ 20 return 0; 21} 22 23/* 24============== 25SNDDMA_GetDMAPos 26 27return the current sample position (in mono samples read) 28inside the recirculating dma buffer, so the mixing code will know 29how many sample are required to fill it up. 30=============== 31*/ 32int SNDDMA_GetDMAPos(void) 33{ 34 return 0; 35} 36 37/* 38============== 39SNDDMA_Submit 40 41Send sound to device if buffer isn't really the dma buffer 42=============== 43*/ 44void SNDDMA_Submit(void) 45{ 46} 47 48/* 49============== 50SNDDMA_Shutdown 51 52Reset the sound device for exiting 53=============== 54*/ 55void SNDDMA_Shutdown(void) 56{ 57} 58