commit | 15d58481e7633281e4d13fdabd12e1cec2605752 | [log] [tgz] |
---|---|---|
author | Taylor Holberton <taylorcholberton@gmail.com> | Thu Dec 01 17:46:29 2016 -0800 |
committer | Taylor Holberton <taylorcholberton@gmail.com> | Thu Dec 01 17:46:29 2016 -0800 |
tree | 4266ec223a07f3cd579e2b5445f0312962e0effc | |
parent | 94803b005511f8baf3281ec4e922be99f62b4186 [diff] [blame] |
added const specifier in function, pcm_is_ready
diff --git a/src/pcm.c b/src/pcm.c index 29c69a7..c32e8ab 100644 --- a/src/pcm.c +++ b/src/pcm.c
@@ -979,7 +979,7 @@ * Otherwise, the function returns one. * @ingroup libtinyalsa-pcm */ -int pcm_is_ready(struct pcm *pcm) +int pcm_is_ready(const struct pcm *pcm) { return pcm->fd >= 0; }