示例#1
0
//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
/*
==============
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
}