mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-15 09:21:36 +00:00
bgmusic.c, bgmusic.h: small updates and tidy-ups from uHexen2.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@417 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
55b04e9622
commit
c60898f79b
2 changed files with 4 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Background music handling for Quakespasm
|
||||
* Background music handling for Quakespasm (adapted from uHexen2)
|
||||
* Handles streaming music as raw sound samples and runs the midi driver
|
||||
*
|
||||
* Copyright (C) 1999-2005 Id Software, Inc.
|
||||
|
@ -37,8 +37,8 @@ static float old_volume = -1.0f;
|
|||
typedef enum _bgm_player
|
||||
{
|
||||
BGM_NONE = -1,
|
||||
BGM_MIDIDRV,
|
||||
BGM_STREAMER,
|
||||
BGM_MIDIDRV = 1,
|
||||
BGM_STREAMER
|
||||
} bgm_player_t;
|
||||
|
||||
typedef struct music_handler_s
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
/*
|
||||
* Background music handling for Quakespasm
|
||||
* Background music handling for Quakespasm (adapted from uHexen2)
|
||||
* Handles streaming music as raw sound samples and runs the midi driver
|
||||
*
|
||||
* Copyright (C) 1999-2005 Id Software, Inc.
|
||||
* Copyright (C) 2010-2011 O.Sezer <sezero@users.sourceforge.net>
|
||||
*
|
||||
* $Id: bgmusic.h 3818 2010-12-19 09:04:17Z sezero $
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or (at
|
||||
|
|
Loading…
Reference in a new issue