diff options
author | Simon Howard | 2014-03-23 00:55:13 -0400 |
---|---|---|
committer | Simon Howard | 2014-03-23 00:55:13 -0400 |
commit | 765ca3a04dafe63b8803443067293ee46f53b951 (patch) | |
tree | a8f9fea996d5551748088c51149f8013fd7c78fd /src/i_sound.h | |
parent | a3e2dbc78825378307509201f904a1de3bf8bab8 (diff) | |
download | chocolate-doom-765ca3a04dafe63b8803443067293ee46f53b951.tar.gz chocolate-doom-765ca3a04dafe63b8803443067293ee46f53b951.tar.bz2 chocolate-doom-765ca3a04dafe63b8803443067293ee46f53b951.zip |
music: Add config var for external music program.
Mix_SetMusicCMD() allows a program to be specified to configure an
external program to be invoked for music playback. Add a config
variable (snd_musiccmd) to allow this to be set from a configuration
file. Thanks to Holering for his comments on Doomworld about how to do
this.
Diffstat (limited to 'src/i_sound.h')
-rw-r--r-- | src/i_sound.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i_sound.h b/src/i_sound.h index db00ab5c..8990e9c1 100644 --- a/src/i_sound.h +++ b/src/i_sound.h @@ -234,6 +234,7 @@ extern int snd_musicdevice; extern int snd_samplerate; extern int snd_cachesize; extern int snd_maxslicetime_ms; +extern char *snd_musiccmd; void I_BindSoundVariables(void); |