On Wed, March 4, 2015 3:50 am, sub wrote:
...
>> By using the snd_pcm_hw_params_set_rate_near () ALSA function.
...
> This sounds interesting.
> But how could i use this parameter? Any specifical command i should use
> into the shell?
That function is in the ALSA library, so not directly applicable (you
mentioned using the firewire backend with JACK, so I assume you are using
FFADO directly and not the new ALSA support for Firewire devices).
I looked through the FFADO sources and did not see something directly
equivalent, but it really isn't necessary, you should know what sample
rates your device supports and just set the correct rate. I think the
ALSA function is just there to support multiple audio devices where you
may switch from one audio device to another which does not support the
same capabilities. That doesn't really work in a production setting since
for example the Ardour project rate would then no longer match the running
sample rate. More for general desktop use.
Probably the most useful items from FFADO would be ffado-mixer to show the
current sample rate settings of the hardware, or let you set a particular
sample rate, and the ffado-test utilities to verify operation apart from
jackd.
-- Chris Caudle _______________________________________________ Linux-audio-user mailing list Linux-audio-user@email-addr-hidden http://lists.linuxaudio.org/listinfo/linux-audio-userReceived on Wed Mar 4 20:15:02 2015
This archive was generated by hypermail 2.1.8 : Wed Mar 04 2015 - 20:15:03 EET