Publish config key capabilities on session driver.

This commit is contained in:
Bert Vermeulen 2014-11-23 17:47:58 +01:00
parent 90cefe0cc7
commit 68ac991dba
1 changed files with 3 additions and 3 deletions

View File

@ -50,9 +50,9 @@ struct session_vdev {
};
static const uint32_t devopts[] = {
SR_CONF_CAPTUREFILE,
SR_CONF_CAPTURE_UNITSIZE,
SR_CONF_SAMPLERATE,
SR_CONF_CAPTUREFILE | SR_CONF_SET,
SR_CONF_CAPTURE_UNITSIZE | SR_CONF_GET | SR_CONF_SET,
SR_CONF_SAMPLERATE | SR_CONF_GET | SR_CONF_SET,
};
static int receive_data(int fd, int revents, void *cb_data)