PEBL
2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
validator/PlatformAudioOut.h
Go to the documentation of this file.
1
//* -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- */
2
#ifndef __VALIDATOR_PLATFORMAUDIOOUT_H__
3
#define __VALIDATOR_PLATFORMAUDIOOUT_H__
4
5
#include "../../devices/PAudioOut.h"
6
#include "../../base/PEBLObject.h"
7
8
class
PlatformAudioOut
:
virtual
public
PAudioOut
,
public
PEBLObjectBase
{
9
public
:
10
PlatformAudioOut
();
11
PlatformAudioOut
(
const
std::string& filename);
12
virtual
~PlatformAudioOut
();
13
virtual
bool
LoadSoundFile
(
const
std::string& filename);
14
virtual
bool
Play
();
15
virtual
bool
Stop
();
16
virtual
int
SaveBufferToWave
(
const
std::string& filename) {
return
0; }
// Stub for validator
17
protected
:
18
virtual
std::ostream&
SendToStream
(std::ostream& out)
const
;
19
};
20
21
#endif
PAudioOut
Definition
PAudioOut.h:40
PEBLObjectBase
Definition
PEBLObject.h:73
PlatformAudioOut
Definition
PlatformAudio.h:42
PlatformAudioOut::~PlatformAudioOut
virtual ~PlatformAudioOut()
PlatformAudioOut::SaveBufferToWave
virtual int SaveBufferToWave(const std::string &filename)
Definition
validator/PlatformAudioOut.h:16
PlatformAudioOut::Play
virtual bool Play()
PlatformAudioOut::PlatformAudioOut
PlatformAudioOut()
PlatformAudioOut::PlatformAudioOut
PlatformAudioOut(const std::string &filename)
PlatformAudioOut::LoadSoundFile
virtual bool LoadSoundFile(const std::string &filename)
PlatformAudioOut::Stop
virtual bool Stop()
PlatformAudioOut::SendToStream
virtual std::ostream & SendToStream(std::ostream &out) const
Definition
validator/PlatformAudioOut.cpp:12
src
platforms
validator
PlatformAudioOut.h
Generated by
1.9.8