forked from JACoders/OpenJK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
52 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
=========================================================================== | ||
Copyright (C) 2013 - 2018, OpenJK contributors | ||
This file is part of the OpenJK source code. | ||
OpenJK is free software; you can redistribute it and/or modify it | ||
under the terms of the GNU General Public License version 2 as | ||
published by the Free Software Foundation. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
=========================================================================== | ||
*/ | ||
#pragma once | ||
|
||
#include "qcommon/q_shared.h" | ||
|
||
// initializes cycling through a DMA buffer and returns information on it | ||
qboolean SNDDMA_Init(int sampleFrequencyInKHz); | ||
|
||
// gets the current DMA position | ||
int SNDDMA_GetDMAPos(void); | ||
|
||
// shutdown the DMA xfer. | ||
void SNDDMA_Shutdown(void); | ||
|
||
void SNDDMA_BeginPainting (void); | ||
|
||
void SNDDMA_Submit(void); |