source:
code/branches/FICN/src/audio/_Ambient.cc
@
401
| Last change on this file since 401 was 389, checked in by nicolasc, 18 years ago | |
|---|---|
| File size: 239 bytes | |
| Rev | Line | |
|---|---|---|
| [327] | 1 | #include <iostream> |
| [338] | 2 | #include <string> |
| [327] | 3 | #include "Ambient.h" |
| 4 | ||
| 5 | namespace audio | |
| 6 | { | |
| [338] | 7 | Ambient::Ambient(std::string audioFile) |
| [327] | 8 | { |
| [338] | 9 | a = new AudioObject(audioFile); |
| [327] | 10 | } |
| 11 | ||
| [338] | 12 | Ambient::~Ambient() |
| 13 | { | |
| 14 | ||
| [335] | 15 | } |
| 16 | ||
| 17 | void Ambient::play() | |
| 18 | { | |
| [338] | 19 | a->play(); |
| [335] | 20 | } |
| [327] | 21 | } |
| 22 |
Note: See TracBrowser
for help on using the repository browser.










