* - The current implementation silently accepts sample count limits beyond
* 1024, just won't provide more than 1024 samples to the session. A
* future implementation could cap the settings upon reception. Apps
* - The current implementation silently accepts sample count limits beyond
* 1024, just won't provide more than 1024 samples to the session. A
* future implementation could cap the settings upon reception. Apps
* 2000 instead (the latter results in 1024 getting used).
* - The manual suggests that users can assign names to devices. The
* current implementation supports conn= specs with USB VID:PID pairs
* 2000 instead (the latter results in 1024 getting used).
* - The manual suggests that users can assign names to devices. The
* current implementation supports conn= specs with USB VID:PID pairs
cg = g_malloc0(sizeof(*cg));
sdi->channel_groups = g_slist_append(NULL, cg);
cg->name = g_strdup("Logic");
cg = g_malloc0(sizeof(*cg));
sdi->channel_groups = g_slist_append(NULL, cg);
cg->name = g_strdup("Logic");
for (ch_idx = 0; ch_idx < ch_count; ch_idx++) {
ch = sr_channel_new(sdi, ch_idx, SR_CHANNEL_LOGIC,
for (ch_idx = 0; ch_idx < ch_count; ch_idx++) {
ch = sr_channel_new(sdi, ch_idx, SR_CHANNEL_LOGIC,