/* ========================================================================== */ /* */ /* main.cpp */ /* wildinc (c) 2006 Author */ /* */ /* Description */ /* simple media cente */ /* ========================================================================== */ #include #include #include "audiere.h" using namespace audiere; using namespace std; int main(int argc, char *argv[]) { cout<<"Wildinc's music player"<setVolume(volume); sound->play(); sound->setRepeat(true); char input=getch(); if(input=='i') volume=volume+0.1; if(input=='d') volume=volume-0.1; if(input=='m') volume=0.0; if(input=='r') sound->reset(); if (volume > 1.0) volume=1.0; if (volume < 0.0) volume=0.0; if(input == 'c') { sound->stop(); cout<<"Enter new file path"<setVolume(volume); sound->reset(); sound->play(); sound->setRepeat(true); if(input == 'h') { cout<<"To increase volume press 'i'"<