diff options
Diffstat (limited to 'pcm/oss/pcm_oss.c')
-rw-r--r-- | pcm/oss/pcm_oss.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pcm/oss/pcm_oss.c b/pcm/oss/pcm_oss.c index f84564f..fb520f8 100644 --- a/pcm/oss/pcm_oss.c +++ b/pcm/oss/pcm_oss.c @@ -390,6 +390,8 @@ SND_PCM_PLUGIN_DEFINE_FUNC(oss) SNDERR("Cannot open device %s", device); goto error; } + + oss->io.version = SND_PCM_IOPLUG_VERSION; oss->io.name = "ALSA <-> OSS PCM I/O Plugin"; oss->io.poll_fd = oss->fd; oss->io.poll_events = stream == SND_PCM_STREAM_PLAYBACK ? POLLOUT : POLLIN; |