mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Added snd_*_card() functions.
This commit is contained in:
parent
c268a4bf56
commit
9acdef38c9
31 changed files with 140 additions and 12 deletions
|
|
@ -261,6 +261,12 @@ ssize_t snd_pcm_readv(snd_pcm_t *pcm, const struct iovec *vector, int count)
|
|||
return snd_pcm_readn(pcm, bufs, vector[0].iov_len);
|
||||
}
|
||||
|
||||
int snd_pcm_card(snd_pcm_t *pcm)
|
||||
{
|
||||
assert(pcm);
|
||||
return pcm->ops->card(pcm->op_arg);
|
||||
}
|
||||
|
||||
/* FIXME */
|
||||
#define snd_pcm_link_descriptor snd_pcm_poll_descriptor
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue