From e0d5051e2295287e4c599bf2f1b7b88f1225d533 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 18 May 2005 10:52:25 +0000 Subject: Fill the new "version" field Fill the new "version" field at initialization. --- pcm/oss/pcm_oss.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pcm/oss') 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; -- cgit