Switch to unified view
a/mpd2src/fiforeader.h | b/mpd2src/fiforeader.h | ||
---|---|---|---|
... |
... |
||
31 | int sampleRate, int bitsPerSample, bool needswap, bool blocking); |
31 | int sampleRate, int bitsPerSample, bool needswap, bool blocking); |
32 | 32 | ||
33 | ~FifoReader(); |
33 | ~FifoReader(); |
34 | bool open(); |
34 | bool open(); |
35 | bool isblocking() {return m_blocking;} |
35 | bool isblocking() {return m_blocking;} |
36 | const unsigned char *data(size_t size); |
36 | const unsigned char *data(size_t size, ssize_t &nread);
|
37 | 37 | ||
38 | private: |
38 | private: |
39 | std::string m_fn; |
39 | std::string m_fn; |
40 | bool m_needswap; |
40 | bool m_needswap; |
41 | bool m_blocking; |
41 | bool m_blocking; |