AudioInterface.h 559 Bytes
Newer Older
daFischer's avatar
daFischer committed
1 2
/* 
 * File:   AudioInterface.h
3
 * Author: Johannes Fischer
daFischer's avatar
daFischer committed
4 5 6 7 8 9 10
 *
 * Created on July 13, 2014, 2:15 PM
 */

#ifndef AUDIOINTERFACE_H
#define	AUDIOINTERFACE_H

11
//using namespace std;
daFischer's avatar
daFischer committed
12 13 14 15 16

class AudioInterface {
public:
    AudioInterface();
    
17
    virtual void togglePlay();
daFischer's avatar
daFischer committed
18
    virtual int getPosition();
19
    virtual void setPosition(int pos);
daFischer's avatar
daFischer committed
20 21
    virtual int getDuration();
    virtual bool hasFailed();
22
    virtual void changeVolume(float volume);
23
    virtual void changeSpeed(float volume);
24
    virtual bool isPlaying();
daFischer's avatar
daFischer committed
25 26 27 28 29
    
};

#endif	/* AUDIOINTERFACE_H */