|
a/mpd2src/audioreader.h |
|
b/mpd2src/audioreader.h |
|
... |
|
... |
18 |
#ifndef _AUDIOREADER_H_INCLUDED_
|
18 |
#ifndef _AUDIOREADER_H_INCLUDED_
|
19 |
#define _AUDIOREADER_H_INCLUDED_
|
19 |
#define _AUDIOREADER_H_INCLUDED_
|
20 |
|
20 |
|
21 |
#include <string>
|
21 |
#include <string>
|
22 |
|
22 |
|
23 |
// This just somewhat encapsulates the code in the original
|
23 |
// Base class for things which read audio
|
24 |
// WavSender.cpp The file is still read and converted in memory at
|
|
|
25 |
// once, and held in a memory array
|
|
|
26 |
class AudioReader {
|
24 |
class AudioReader {
|
27 |
public:
|
25 |
public:
|
28 |
AudioReader() {
|
26 |
AudioReader() {
|
29 |
m_numChannels = m_sampleRate = 0;
|
27 |
m_numChannels = m_sampleRate = 0;
|
30 |
}
|
28 |
}
|