Permalink
Browse files

Add missing sdl_sound.h file

  • Loading branch information...
xycaleth committed Jun 9, 2018
1 parent 63e31e8 commit 7cb9015d7fe86ddff8265d56d5fa6d6077f23afc
Showing with 35 additions and 0 deletions.
  1. +35 −0 shared/sdl/sdl_sound.h
View
@@ -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);

0 comments on commit 7cb9015

Please sign in to comment.