Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/sound/src/sound_test.cc @ 2793

Last change on this file since 2793 was 2793, checked in by simon, 20 years ago

in branches/sound: made a tester, which is not finished yet

File size: 792 bytes
RevLine 
[2793]1/*
2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
10
11   ### File Specific:
12   main-programmer: Simon Hofmann
13   co-programmer:
14*/
15
16
17#include "sound_test.h"
18#include "SDL.h"
19#include "SDL_mixer.h"
20
21using namespace std;
22
23
24SoundTest::SoundTest () {
25 
26}
27
28
29SoundTest::~SoundTest () {
30 
31}
32
33
34void main (void){
35  SDL_Surface *screen;
36  SDL_Init(SDL_INIT_VIDEO); 
37  screen = SDL_SetVideoMode(320, 240, 0, 0);
38  SoundControl* sound = new SoundControl;
39  sound.SoundControl();
40  sound->playOgg(music.ogg);
41  sound.~SoundControl();
42}
43 
Note: See TracBrowser for help on using the repository browser.