All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Fulup Ar Foll <fulup@breizhme.net>
Cc: alsa-devel@alsa-project.org
Subject: Re: 1st draft:  ALSA Json Gateway and HTML5 UI
Date: Tue, 07 Apr 2015 17:43:02 +0200	[thread overview]
Message-ID: <s5h384cosft.wl-tiwai@suse.de> (raw)
In-Reply-To: <551ADAC9.60001@breizhme.net>

At Tue, 31 Mar 2015 19:35:05 +0200,
Fulup Ar Foll wrote:
> 
>    Hi,
>    I would need some help to finish a json version of amixer.
>    Porting cget is done, but for cset I have an issue with
>    "snd_hctl_find_elem (handle, id)". I'm not sure what's the right method
>    to pass it. I've tried every options I could imagine. But if it works
>    on Mint/32bit, it miserably fail on OpenSuse/64.

Hm, there are no much difference about these APIs.
What error did you get?

> Furthermore amixer.c
>    as this strange comment /* FIXME: Remove it when hctl find works ok !!!
>    */ and they do not use snd_hctl_find_elem.

I don't remember why it's commented so.  The line was added 14 years
ago :)


Takashi

>    I posted a small C code to highlight the issue at
>    [1]https://gist.github.com/fulup-bzh/891e5627be325150337f
>    My question is simple, did I miss something ? should I move to lower
>    level API ?
>    Note: While the painting for my json-gateway is not dry, I nevertheless
>    pushed a initial running version with cget at
>    [2]https://github.com/fulup-bzh/AlsaJsonGateway
>    I also have a small HTML5/UI at
>    [3]http://breizhme.net/alsajson/mixers/ajg#/scarlett?card=2
>    While UI code is very dependant on each soundcard [in my case
>    Scarlett/Focurite] the Json-Gateway is 100% independent of the board.
>    If anything one have an idea, please let me know.
>    Fulup
> 
> References
> 
>    1. https://gist.github.com/fulup-bzh/891e5627be325150337f
>    2. https://github.com/fulup-bzh/AlsaJsonGateway
>    3. http://breizhme.net/alsajson/mixers/ajg#/scarlett?card=2
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

      reply	other threads:[~2015-04-07 15:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-31 17:35 1st draft: ALSA Json Gateway and HTML5 UI Fulup Ar Foll
2015-04-07 15:43 ` Takashi Iwai [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=s5h384cosft.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=fulup@breizhme.net \
    /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 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.