diff options
author | Javier <dev.git@javispedro.com> | 2022-01-30 20:02:28 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-01-30 20:02:28 +0100 |
commit | 7bb77279bf5b76902c167923d57800e1f6f6073e (patch) | |
tree | 9c23a39b3ea2e6af094240780ce21206602a0c11 /pcmalsa.h | |
parent | 54b754ce040d5549d5c58428d2b9c095601e98dc (diff) | |
download | vmusic-7bb77279bf5b76902c167923d57800e1f6f6073e.tar.gz vmusic-7bb77279bf5b76902c167923d57800e1f6f6073e.zip |
Cleaning up Adlib module
Diffstat (limited to 'pcmalsa.h')
-rw-r--r-- | pcmalsa.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -27,11 +27,11 @@ typedef struct _snd_pcm snd_pcm_t; class PCMOutAlsa { public: - PCMOutAlsa(); - ~PCMOutAlsa(); + PCMOutAlsa(); + ~PCMOutAlsa(); int open(const char *dev, unsigned int sampleRate, unsigned int channels); - int close(); + int close(); ssize_t avail(); int wait(); @@ -42,7 +42,7 @@ private: int setParams(unsigned int sampleRate, unsigned int channels, unsigned int bufferTime, unsigned int periodTime); private: - snd_pcm_t * _pcm; + snd_pcm_t * _pcm; size_t _bufferSize; size_t _periodSize; }; |