~cyber-killer/ckrpgsfxplayer/trunk

« back to all changes in this revision

Viewing changes to ckrpgsfxplayer.cpp

  • Committer: Łukasz "Cyber Killer" Korpalski
  • Date: 2012-07-01 09:30:55 UTC
  • mfrom: (17.1.7 ckrpgsfxplyer-work)
  • Revision ID: cyberkiller8@gmail.com-20120701093055-cs2fqfjdqheyp5lk
merge from a working branch - a couple of small fixes and code improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <Phonon/MediaObject>
23
23
#include <Phonon/AudioOutput>
24
24
 
25
 
//#include <iostream>
26
 
 
27
25
ckrpgsfxplayer::ckrpgsfxplayer(QWidget *parent) :
28
26
        QWidget(parent),
29
27
        ui(new Ui::ckrpgsfxplayer)
31
29
        ui->setupUi(this);
32
30
 
33
31
        playedSound = new Phonon::MediaObject(this);
34
 
 
35
32
        audioOutput = new Phonon::AudioOutput(Phonon::MusicCategory, this);
36
33
        Phonon::Path path = Phonon::createPath(playedSound, audioOutput);
37
34
}