summaryrefslogtreecommitdiff
path: root/src/i_sound.h
diff options
context:
space:
mode:
authorSimon Howard2014-03-23 00:55:13 -0400
committerSimon Howard2014-03-23 00:55:13 -0400
commit765ca3a04dafe63b8803443067293ee46f53b951 (patch)
treea8f9fea996d5551748088c51149f8013fd7c78fd /src/i_sound.h
parenta3e2dbc78825378307509201f904a1de3bf8bab8 (diff)
downloadchocolate-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.h1
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);