|
a/mpd2src/wavreader.h |
|
b/mpd2src/wavreader.h |
|
... |
|
... |
42 |
|
42 |
|
43 |
bool open();
|
43 |
bool open();
|
44 |
|
44 |
|
45 |
// Get pointer to data at offset. Caller is supposed to know how
|
45 |
// Get pointer to data at offset. Caller is supposed to know how
|
46 |
// much there is ahead.
|
46 |
// much there is ahead.
|
47 |
const unsigned char *data(size_t size);
|
47 |
const unsigned char *data(size_t size, ssize_t &nread);
|
48 |
|
48 |
|
49 |
unsigned int subChunk2Size() {
|
49 |
unsigned int subChunk2Size() {
|
50 |
return m_subChunk2Size;
|
50 |
return m_subChunk2Size;
|
51 |
}
|
51 |
}
|
52 |
unsigned int sampleCount() {
|
52 |
unsigned int sampleCount() {
|