fx2lafw: Fix wide (16bit) sampling case.

This fixes bug #373.
This commit is contained in:
Uwe Hermann 2014-10-29 22:46:57 +01:00
parent e3594306a9
commit aab4b8cb70
1 changed files with 1 additions and 0 deletions

View File

@ -257,6 +257,7 @@ static GSList *scan(GSList *options)
devc = fx2lafw_dev_new();
devc->profile = prof;
devc->sample_wide = (prof->dev_caps & DEV_CAPS_16BIT) != 0;
sdi->priv = devc;
drvc->instances = g_slist_append(drvc->instances, sdi);
devices = g_slist_append(devices, sdi);