summaryrefslogtreecommitdiff
path: root/voss_devctl_xm.c
diff options
context:
space:
mode:
Diffstat (limited to 'voss_devctl_xm.c')
-rw-r--r--voss_devctl_xm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/voss_devctl_xm.c b/voss_devctl_xm.c
index 1739b19..db86df6 100644
--- a/voss_devctl_xm.c
+++ b/voss_devctl_xm.c
@@ -155,7 +155,7 @@ void oss_enum_devs(int fd, int oss_numaudios)
if (ai.caps & (PCM_CAP_OUTPUT | PCM_CAP_VIRTUAL)) {
oss_devlist_add(&devs_play, &ai);
}
- if (ai.caps & PCM_CAP_INPUT) {
+ if (ai.caps & (PCM_CAP_INPUT | PCM_CAP_VIRTUAL)) {
oss_devlist_add(&devs_rec, &ai);
}
}