mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
Remove channels_mask. Implemented pcm_null
This commit is contained in:
parent
6b49620800
commit
dba8c25e3c
10 changed files with 447 additions and 94 deletions
|
|
@ -203,6 +203,8 @@ int snd_pcm_start(snd_pcm_t *pcm)
|
|||
{
|
||||
assert(pcm);
|
||||
assert(pcm->valid_setup);
|
||||
assert(pcm->stream != SND_PCM_STREAM_PLAYBACK ||
|
||||
snd_pcm_mmap_avail(pcm) > 0);
|
||||
return pcm->fast_ops->start(pcm->fast_op_arg);
|
||||
}
|
||||
|
||||
|
|
@ -359,13 +361,6 @@ int snd_pcm_poll_descriptor(snd_pcm_t *pcm)
|
|||
return pcm->poll_fd;
|
||||
}
|
||||
|
||||
int snd_pcm_channels_mask(snd_pcm_t *pcm, bitset_t *cmask)
|
||||
{
|
||||
assert(pcm);
|
||||
assert(pcm->valid_setup);
|
||||
return pcm->fast_ops->channels_mask(pcm->fast_op_arg, cmask);
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
int value;
|
||||
const char* name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue