Renamed status field in state

This commit is contained in:
Abramo Bagnara 2000-06-05 11:38:02 +00:00
parent c323849bac
commit 0888689aec
4 changed files with 25 additions and 25 deletions

View file

@ -133,7 +133,7 @@ static ssize_t snd_pcm_hw_stream_state(snd_pcm_t *pcm, int stream)
status.stream = stream;
if (ioctl(fd, SND_PCM_IOCTL_STREAM_STATUS, status) < 0)
return -errno;
return status.status;
return status.state;
}
static ssize_t snd_pcm_hw_stream_byte_io(snd_pcm_t *pcm, int stream, int update UNUSED)