int SNDDMA_GetDMAPos(void) { return #ifndef __FreeBSD__ SNDDMA_ALSA ? SNDDMA_GetDMAPos_ALSA() : #endif SNDDMA_GetDMAPos_OSS(); }
int SNDDMA_GetDMAPos(void) { if (snd_inited == SND_ALSA) return SNDDMA_GetDMAPos_ALSA(); else if(snd_inited == SND_OSS) return SNDDMA_GetDMAPos_OSS(); else return 0; }
int SNDDMA_GetDMAPos(void) { if( snd_inited ) { if( SNDDMA_ALSA ) return SNDDMA_GetDMAPos_ALSA(); else return SNDDMA_GetDMAPos_OSS(); } else return 0; }