Public Types | Signals | Public Member Functions

QWSSoundClient Class Reference

Search for all occurrences

Detailed Description

Definition at line 88 of file qsoundqss_qws.h.

#include <qsoundqss_qws.h>

Inheritance diagram for QWSSoundClient:
Inheritance graph
[legend]

List of all members.

Public Types

enum   SoundFlags { Priority = 0x01, Streaming = 0x02 }
enum   DeviceErrors { ErrOpeningAudioDevice = 0x01, ErrOpeningFile = 0x02, ErrReadingFile = 0x04 }

Signals

void  soundCompleted (int)
void  deviceReady (int id)
void  deviceError (int id, QWSSoundClient::DeviceErrors)

Public Member Functions

  QWSSoundClient (QObject *parent=0)
  ~QWSSoundClient ()
void  reconnect ()
void  play (int id, const QString &filename)
void  play (int id, const QString &filename, int volume, int flags=0)
void  playRaw (int id, const QString &, int, int, int, int flags=0)
void  pause (int id)
void  stop (int id)
void  resume (int id)
void  setVolume (int id, int left, int right)
void  setMute (int id, bool m)
void  playPriorityOnly (bool)
void  setSilent (bool)

Member Enumeration Documentation

enum SoundFlags
Enumerator:
Priority 
Streaming 

Definition at line 92 of file qsoundqss_qws.h.

                    {
    Priority = 0x01,
    Streaming = 0x02  // currently ignored, but but could set up so both Raw and non raw can be done streaming or not.
    };
Enumerator:
ErrOpeningAudioDevice 
ErrOpeningFile 
ErrReadingFile 

Definition at line 96 of file qsoundqss_qws.h.


Constructor & Destructor Documentation

QWSSoundClient ( QObject parent = 0 ) [explicit]

Member Function Documentation

void reconnect ( )
void play ( int  id,
const QString filename 
)
void play ( int  id,
const QString filename,
int  volume,
int  flags = 0 
)
void playRaw ( int  id,
const QString ,
int  ,
int  ,
int  ,
int  flags = 0 
)
void pause ( int  id )
void stop ( int  id )
void resume ( int  id )
void setVolume ( int  id,
int  left,
int  right 
)
void setMute ( int  id,
bool  m 
)
void playPriorityOnly ( bool  )
void setSilent ( bool  )
void soundCompleted ( int  ) [signal]
void deviceReady ( int  id ) [signal]
void deviceError ( int  id,
QWSSoundClient::DeviceErrors   
) [signal]

The documentation for this class was generated from the following file:

QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient
QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient QWSSoundClient