X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=cd_null.c;h=2ac9141fa8fa775b87822d44f8c1b463818b77fd;hb=a7dec84b2f42d22b1261bf88ac9244ac5cc9d4c4;hp=d5eeec8ad203b42258d8fdcbc46bab7ee587a6dc;hpb=62aa75f9c036135e81a85db85db00394aa80d575;p=xonotic%2Fdarkplaces.git diff --git a/cd_null.c b/cd_null.c index d5eeec8a..2ac9141f 100644 --- a/cd_null.c +++ b/cd_null.c @@ -8,7 +8,7 @@ of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -17,39 +17,75 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + #include "quakedef.h" +#include "cdaudio.h" + + +void CDAudio_SysEject (void) +{ +} + -void CDAudio_Play(byte track, qboolean looping) +void CDAudio_SysCloseDoor (void) { } -void CDAudio_Stop(void) +int CDAudio_SysGetAudioDiskInfo (void) { + return -1; } -void CDAudio_Pause(void) +float CDAudio_SysGetVolume (void) { + return -1.0f; } -void CDAudio_Resume(void) +void CDAudio_SysSetVolume (float fvolume) { } -void CDAudio_Update(void) +int CDAudio_SysPlay (int track) { + return -1; } -int CDAudio_Init(void) +int CDAudio_SysStop (void) { - return 0; + return -1; } -void CDAudio_Shutdown(void) +int CDAudio_SysPause (void) +{ + return -1; +} + +int CDAudio_SysResume (void) +{ + return -1; +} + +int CDAudio_SysUpdate (void) { -} \ No newline at end of file + return -1; +} + + +void CDAudio_SysInit (void) +{ +} + +int CDAudio_SysStartup (void) +{ + return -1; +} + +void CDAudio_SysShutdown (void) +{ +}