Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Date: Sat, 19 Aug 2006 00:13:54 +0200
From: Hans de Goede Subject: PATCH: add volume control to playmus interactive mode Hi, First a short intro I'm a Linux enthousiast and developer, mainly working on Linux gaming related stuff. I've been working on getting d1x (descent 3d-shooter linux port) to play the music from the original game. Now, 2 full days further I'm getting there (as in nearly finished). Because of <insert long story here if you really want to know ask> I cannot use SDL_mixer directly from d1x, so I'm using popen("playmus -i xxxx", "w") to start playmus todo the playback and I control it (-i is interactive mode) by writing the nescesarry commands to the stdin FILE * returned by popen. However by default playmus' interactive mode doesn't allow changing the volume, which I need to be able todo. The attached patch adds this capability to playmus, and is otherwise harmless. I hope you can incorperate this patch into playmus, so that I don't have to ship a modified version as part of the d1x package. Thanks & Regards, Hans
- Loading branch information