Changeset 3748:255ac9d65f87 in roaraudio for plugins/alsa
- Timestamp:
- 05/01/10 18:09:31 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/alsa/pcm.c
r3739 r3748 41 41 static int roar_pcm_start (snd_pcm_ioplug_t * io) { 42 42 struct roar_alsa_pcm * self = io->private_data; 43 int fh; 43 44 44 45 ROAR_DBG("roar_pcm_start(*) = ?"); … … 53 54 ) == -1 ) { 54 55 return -EINVAL; 56 } 57 58 if ( roar_vio_ctl(&(self->stream_vio), io->stream == SND_PCM_STREAM_PLAYBACK ? 59 ROAR_VIO_CTL_GET_SELECT_WRITE_FH : ROAR_VIO_CTL_GET_SELECT_READ_FH, 60 &fh) != -1 ) { 61 62 io->poll_fd = fh; 63 io->poll_events = io->stream == SND_PCM_STREAM_PLAYBACK ? POLLOUT : POLLIN; 64 65 snd_pcm_ioplug_reinit_status(io); 55 66 } 56 67
Note: See TracChangeset
for help on using the changeset viewer.