Commit 0c8bebc1 authored by Adrian Knoth's avatar Adrian Knoth
Browse files

Allow firewire device be selected via -d

Patch by Thomas Brand <> and in accordance with jackd1
code base.
parent 0279a2d6
......@@ -403,6 +403,11 @@ JackFFADODriver::ffado_driver_new (const char *name,
// driver->client = client;
driver->engine = NULL;
//from jack1 ffado_driver.c: put arg -dxxx to ffado device_info_t struct
driver->device_info.device_spec_strings=(char**)calloc(1, sizeof(char *));
memset(&driver->device_options, 0, sizeof(driver->device_options));
driver->device_options.sample_rate = params->sample_rate;
driver->device_options.period_size = params->period_size;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment