summaryrefslogtreecommitdiffstats
path: root/pcm/oss/pcm_oss.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-05-18 10:52:25 +0000
committerTakashi Iwai <tiwai@suse.de>2005-05-18 10:52:25 +0000
commite0d5051e2295287e4c599bf2f1b7b88f1225d533 (patch)
treeeb76133bb50728ebafcab23e7939f174c2de75c4 /pcm/oss/pcm_oss.c
parent7b56db21830a51fa5287f4477e8ba4949c178162 (diff)
Fill the new "version" field
Fill the new "version" field at initialization.
Diffstat (limited to 'pcm/oss/pcm_oss.c')
-rw-r--r--pcm/oss/pcm_oss.c2
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;