3
Copyright (C) 2001 Martin Vogt
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU Library General Public License as published by
7
the Free Software Foundation.
9
For more information look at the file COPYRIGHT in this package
19
#include "audioFrame.h"
21
// this format has a sampleSize of 16, signed, endian==machine
23
class PCMFrame : public AudioFrame {
33
int getLen() { return len; }
34
void setLen(int len) { this->len=len; }
35
int getSize() { return size; }
36
short int* getData() { return data; }
38
void putFloatData(float* data,int len);
39
void putFloatData(float* left,float* right,int len);
41
void clearrawdata() { len=0; }