Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: WMCoolmon on October 16, 2005, 06:44:07 pm
-
So, I'm poking around today in the source and I see these two files named "RBAudio.h" and "RBAudio.cpp"
Me: :wtf:
So I open them and find out that Fs2_open seems to have an entire audio CD-playing API.
700 lines of code that've been completely forgotten by pretty much everyone. :lol:
A few of the functions are empty, based on the comments it looks like it was removed before the source was released.
-
I can see why we forgot about it...I personally see no use for it...better to have a Winampish jukebox built into the game for MP3s than a CD player methinks, but I suppose there might be some disk overhead to be saved by playing the FS2 soundtrack off of redbook tracks burnt to a CD rather than using the VP music files...but what's the point?
-
That functionality is better handled by a standard toolset anyway. It would be trivial (like less than 50 lines of code total) to implement a fairly feature complete CD Player interface under SDL. I can't imagine its any more difficult directly in DirectX. I can see why it was removed.
-
its probibly left over from descent 2. i bet you compair it with the d2 code its exactly the same.
-
Dynamic music is better, though I can see us wanting this for, say, the Star Wars mod.