コード例 #1
0
ファイル: snd_linux.c プロジェクト: jogi1/camquake
int SNDDMA_GetDMAPos(void)
{
    return
#ifndef __FreeBSD__
        SNDDMA_ALSA ? SNDDMA_GetDMAPos_ALSA() :
#endif
        SNDDMA_GetDMAPos_OSS();
}
コード例 #2
0
ファイル: snd_linux.c プロジェクト: hifi-unmaintained/aprq2
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;
}
コード例 #3
0
int SNDDMA_GetDMAPos(void)
{
    if( snd_inited )
    {
        if( SNDDMA_ALSA )
	    return SNDDMA_GetDMAPos_ALSA();
        else
	    return SNDDMA_GetDMAPos_OSS();
    }
    else
        return 0;
}