Clemens,
Thank you for your advice. The PCM rules in your Dice module also matches Fireworks. I apply your solution into my Fireworks module and my target device seems to work correctly in any sampling rate.
On this occasion, I have a question to you about your firewire-kernel-streaming branch in alsa-kprivate.git. There is no commit since last year and I'm anxious about the reason. If it's due to your personal, there is no matter (of cource!). But it's due to some technical issues or strategies against FFADO project, there is a large possibility that I may soon face them. If it's the latter, would you please inform me the details?
Regards
Takashi Sakamoto o-takashi@sakamocchi.jp
Now my Fireworks module can playback PCM stream in any sampling rates. (Mar 25 2013 04:12), Clemens Ladisch wrote:
Takashi Sakamoto wrote:
My device (AudioFirePre8) changes its channels according to sampling rate. For example: 32.0 - 48.0kHz : 16ch: efw->channels_sets[0] 88.2 - 96.0kHz : 12ch: efw->channels_sets[1] 176.4 - 192.0kHz : 10ch: efw->channels_sets[2] (but not available)
I managed to write this rule refering to rme9652.c but I cannot achieve my purpose.
These functions should be essentially identical with dice_*_constraint().
Regards, Clemens