All of lore.kernel.org
 help / color / mirror / Atom feed
* need help for PCM constraint/rules
@ 2013-03-24 13:58 Takashi Sakamoto
  2013-03-24 19:12 ` Clemens Ladisch
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Sakamoto @ 2013-03-24 13:58 UTC (permalink / raw)
  To: alsa-devel

Dear developers,

I'm a newbile for this project and working for kernel land driver for 
Fireworks with ALSA framework.

I need your help for constraint/rule of PCM component.

Related source is:
https://github.com/takaswie/snd-firewire-improve/blob/master/fireworks/fireworks_pcm.c

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)

The other devices such as AudioFire12 has the same number of channels 
(12ch)in each sampling rate.

I managed to write this rule refering to rme9652.c but I cannot achieve 
my purpose. It's my glad to get some help about this.

Regards


Takashi Sakamoto
o-takashi@sakamocchi.jp

========
Fireworks is Echo Audio's series of Firewire Audio interface.
http://echoaudio.com/products/audiofire-pre8

It utilizes IEC 61883-1 and -6 in its implementation and familiar with 
current snd-firewire-lib.ko.

FFADO also produce driver for it. It's a user-land implementation.
http://www.ffado.org/

My aim is writing kernel-land driver for it with ALSA framework.


Takashi Sakamoto
o-takashi@sakamocchi.jp

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: need help for PCM constraint/rules
  2013-03-24 13:58 need help for PCM constraint/rules Takashi Sakamoto
@ 2013-03-24 19:12 ` Clemens Ladisch
  2013-03-26 16:58   ` Takashi Sakamoto
  0 siblings, 1 reply; 5+ messages in thread
From: Clemens Ladisch @ 2013-03-24 19:12 UTC (permalink / raw)
  To: Takashi Sakamoto; +Cc: alsa-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: need help for PCM constraint/rules
  2013-03-24 19:12 ` Clemens Ladisch
@ 2013-03-26 16:58   ` Takashi Sakamoto
  2013-03-26 18:24     ` Clemens Ladisch
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Sakamoto @ 2013-03-26 16:58 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: need help for PCM constraint/rules
  2013-03-26 16:58   ` Takashi Sakamoto
@ 2013-03-26 18:24     ` Clemens Ladisch
  2013-03-27 12:11       ` Takashi Sakamoto
  0 siblings, 1 reply; 5+ messages in thread
From: Clemens Ladisch @ 2013-03-26 18:24 UTC (permalink / raw)
  To: Takashi Sakamoto; +Cc: alsa-devel

Takashi Sakamoto wrote:
> about your firewire-kernel-streaming branch in alsa-kprivate.git.
> There is no commit since last year and I'm anxious about the reason.

Just lack of time.


Regards,
Clemens

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: need help for PCM constraint/rules
  2013-03-26 18:24     ` Clemens Ladisch
@ 2013-03-27 12:11       ` Takashi Sakamoto
  0 siblings, 0 replies; 5+ messages in thread
From: Takashi Sakamoto @ 2013-03-27 12:11 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

 > Takashi Sakamoto wrote:
 >> about your firewire-kernel-streaming branch in alsa-kprivate.git.
 >> There is no commit since last year and I'm anxious about the reason.
 >
 > Just lack of time.

That's OK :)

Currently I'm working for adding PCM capturing into snd-firewire-lib.ko. 
I plan to post some patches for amdtp.c and cmp.c. It's my glad that you 
give a little time for reviewing my patches.

Regards


Takashi Sakamoto
o-takashi@sakamocchi.jp

(Mar 27 2013 03:24), Clemens Ladisch wrote:
> Takashi Sakamoto wrote:
>> about your firewire-kernel-streaming branch in alsa-kprivate.git.
>> There is no commit since last year and I'm anxious about the reason.
>
> Just lack of time.
>
>
> Regards,
> Clemens

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-27 12:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-24 13:58 need help for PCM constraint/rules Takashi Sakamoto
2013-03-24 19:12 ` Clemens Ladisch
2013-03-26 16:58   ` Takashi Sakamoto
2013-03-26 18:24     ` Clemens Ladisch
2013-03-27 12:11       ` Takashi Sakamoto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.