Re: Problems with sample rate and recordings (Mackie onyx > 1640-i < Firewire > Debian )

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux