Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, clemens@ladisch.de,
	ffado-devel@lists.sf.net
Subject: Re: [alsa-lib][PATCH 0/9 v3] ctl: add APIs for control element set
Date: Fri, 17 Jun 2016 00:44:00 +0900	[thread overview]
Message-ID: <5762C940.20401@sakamocchi.jp> (raw)
In-Reply-To: <s5h60t99r3o.wl-tiwai@suse.de>

Hi,

On Jun 16 2016 22:54, Takashi Iwai wrote:
> On Wed, 15 Jun 2016 16:57:36 +0200,
> Takashi Sakamoto wrote:
>>
>> Hi,
>>
>> This patchset is a revised version of below one:
>> http://mailman.alsa-project.org/pipermail/alsa-devel/2016-June/109041.html
>>
>> Changes:
>>  - Drop a patch for deprecating old APIs.
>>   - In detail, see our discussion:
>>     http://mailman.alsa-project.org/pipermail/alsa-devel/2016-June/109117.html
>>  - Revise comments for TLV feature.
>>   - I realized it better to use vendor-neutral representation, after reading
>>     this discussion:
>>     http://mailman.alsa-project.org/pipermail/alsa-devel/2013-November/069483.html
> 
> Thanks, now applied but patch 9.
> For the patch 9, please resubmit just after reformatting.

Thanks. I'll post the reformatted version tomorrow (it's late night, zzz).

Near future, this feature will be used for IPC mechanism between ALSA
ctl/hctl/mixer applications and control server in userspace for audio
and music units on IEEE 1394 bus. The control server will run according
to udev signal to listen to the added units. The server continue to
communicate to the units even if any bus-reset occurs on the bus; i.e.
new units are added to the bus. This cannot be achieved by FFADO
library, which has a defection to lost communication when any bus-resets
occur[1].

But I've not decided which userspace implementation to use as an I/O
library; alsa-lib or alsa-gi, because it's convenience to program with
Python 3 and GObject Introspection. There're few helps for this work,
according to my experience in recent years.  I'd like to choose
programming language with which I can write prototypes as soon as possible.

>> Again, ALSA developers in PulseAudio side, test program in the last patch
>> causes an abort to pulseaudio process as a result of kicking assertion of
>> hcontrol in alsa-lib. In detail, please refer to my previous patchset.
> 
> The assert() line there is nonsense (although it's a bit strange to
> catch it -- possibly it's because of some races.  But it's no urgent
> point to abort the program).  Care to submit a patch to remove the
> assert line?

OK. But for safe I'll read codes of PulseAudio, so need a bit time.

(For this kind of work I use my private time, thus it takes longer time
than the other full time developers.)


[1] https://sourceforge.net/p/ffado/mailman/message/35069619/
[2] http://marc.info/?l=linux-kernel&m=146568442828312&w=2

Regards

Takashi Sakamoto

      reply	other threads:[~2016-06-16 15:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-15 14:57 [alsa-lib][PATCH 0/9 v3] ctl: add APIs for control element set Takashi Sakamoto
2016-06-15 14:57 ` [PATCH 1/9] ctl: add an overview for design of ALSA control interface Takashi Sakamoto
2016-06-15 14:57 ` [PATCH 2/9] ctl: improve comments for handling element data Takashi Sakamoto
2016-06-15 14:57 ` [PATCH 3/9] ctl: add functions to add an element set Takashi Sakamoto
2016-06-15 14:57 ` [PATCH 4/9] ctl: improve comments for API to add an element of IEC958 type Takashi Sakamoto
2016-06-15 14:57 ` [PATCH 5/9] ctl: change former APIs as wrapper functions of element set APIs Takashi Sakamoto
2016-06-15 14:57 ` [PATCH 6/9] pcm: use new APIs to add a control element set for softvol plugin Takashi Sakamoto
2016-06-15 14:57 ` [PATCH 7/9] ctl: add explanation about threshold level feature Takashi Sakamoto
2016-06-15 14:57 ` [PATCH 8/9] ctl: improve API documentation for threshold level operations Takashi Sakamoto
2016-06-15 14:57 ` [PATCH 9/9] ctl: add test program for control element set Takashi Sakamoto
2016-06-16 13:52   ` Takashi Iwai
2016-06-16 13:54 ` [alsa-lib][PATCH 0/9 v3] ctl: add APIs " Takashi Iwai
2016-06-16 15:44   ` Takashi Sakamoto [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5762C940.20401@sakamocchi.jp \
    --to=o-takashi@sakamocchi.jp \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=ffado-devel@lists.sf.net \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox