Remove channels_mask. Implemented pcm_null

This commit is contained in:
Abramo Bagnara 2000-10-20 14:03:44 +00:00
parent 6b49620800
commit dba8c25e3c
10 changed files with 447 additions and 94 deletions

View file

@ -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;