mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-03 06:20:57 +00:00
bgmusic.c, bgmusic.h: small updates and tidy-ups from uHexen2.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@417 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
fe70ba99ab
commit
f6683583c2
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
|
* Handles streaming music as raw sound samples and runs the midi driver
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999-2005 Id Software, Inc.
|
* Copyright (C) 1999-2005 Id Software, Inc.
|
||||||
|
@ -37,8 +37,8 @@ static float old_volume = -1.0f;
|
||||||
typedef enum _bgm_player
|
typedef enum _bgm_player
|
||||||
{
|
{
|
||||||
BGM_NONE = -1,
|
BGM_NONE = -1,
|
||||||
BGM_MIDIDRV,
|
BGM_MIDIDRV = 1,
|
||||||
BGM_STREAMER,
|
BGM_STREAMER
|
||||||
} bgm_player_t;
|
} bgm_player_t;
|
||||||
|
|
||||||
typedef struct music_handler_s
|
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
|
* Handles streaming music as raw sound samples and runs the midi driver
|
||||||
*
|
*
|
||||||
* Copyright (C) 1999-2005 Id Software, Inc.
|
* Copyright (C) 1999-2005 Id Software, Inc.
|
||||||
* Copyright (C) 2010-2011 O.Sezer <sezero@users.sourceforge.net>
|
* 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
|
* 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
|
* 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
|
* the Free Software Foundation; either version 2 of the License, or (at
|
||||||
|
|
Loading…
Reference in a new issue