コード例 #1
0
ファイル: snd_linux.c プロジェクト: jogi1/camquake
//Send sound to device if buffer isn't really the dma buffer
void SNDDMA_Submit(void)
{
#ifndef __FreeBSD__
    if (SNDDMA_ALSA)
        SNDDMA_Submit_ALSA();
#endif
    // OSS doesn't use this so no need to call it.
}
コード例 #2
0
/*
==============
SNDDMA_Submit

Send sound to device if buffer isn't really the dma buffer
===============
*/
void SNDDMA_Submit(void)
{
    if( snd_inited )
    {
        if( SNDDMA_ALSA )
            SNDDMA_Submit_ALSA();
        // OSS doesn't use this so no need to call it.
    }
}
コード例 #3
0
ファイル: snd_linux.c プロジェクト: hifi-unmaintained/aprq2
/*
==============
SNDDMA_Submit

Send sound to device if buffer isn't really the dma buffer
===============
*/
void SNDDMA_Submit(void)
{
	if (snd_inited == SND_ALSA)
		SNDDMA_Submit_ALSA();
#if 0 //oss doesnt use this
	else if(snd_inited == SND_OSS)
		SNDDMA_Submit_OSS();
#endif
}