Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TPF
jack2
Commits
0c8bebc1
Commit
0c8bebc1
authored
Jan 24, 2017
by
Adrian Knoth
Browse files
Allow firewire device be selected via -d
Patch by Thomas Brand <tom@trellis.ch> and in accordance with jackd1 code base.
parent
0279a2d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
linux/firewire/JackFFADODriver.cpp
View file @
0c8bebc1
...
...
@@ -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
.
nb_device_spec_strings
=
1
;
driver
->
device_info
.
device_spec_strings
=
(
char
**
)
calloc
(
1
,
sizeof
(
char
*
));
driver
->
device_info
.
device_spec_strings
[
0
]
=
strdup
(
params
->
device_info
);
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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment