aboutsummaryrefslogtreecommitdiff
path: root/pcmalsa.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-01-30 20:02:28 +0100
committerJavier <dev.git@javispedro.com>2022-01-30 20:02:28 +0100
commit7bb77279bf5b76902c167923d57800e1f6f6073e (patch)
tree9c23a39b3ea2e6af094240780ce21206602a0c11 /pcmalsa.h
parent54b754ce040d5549d5c58428d2b9c095601e98dc (diff)
downloadvmusic-7bb77279bf5b76902c167923d57800e1f6f6073e.tar.gz
vmusic-7bb77279bf5b76902c167923d57800e1f6f6073e.zip
Cleaning up Adlib module
Diffstat (limited to 'pcmalsa.h')
-rw-r--r--pcmalsa.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pcmalsa.h b/pcmalsa.h
index d9837c5..c314faf 100644
--- a/pcmalsa.h
+++ b/pcmalsa.h
@@ -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;
};