All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Sauter <John_Sauter@systemeyescomputerstore.com>
To: Jaroslav Kysela <perex@perex.cz>
Cc: devel@alsa-project.org
Subject: Re: audio surveilance
Date: Fri, 08 Jan 2010 13:45:53 -0500	[thread overview]
Message-ID: <1262976353.5921.1.camel@sauterws02.sauterhome> (raw)
In-Reply-To: <alpine.LNX.2.00.1001081546130.4210@eeebox2.perex-int.cz>


[-- Attachment #1.1: Type: text/plain, Size: 1523 bytes --]

On Fri, 2010-01-08 at 15:58 +0100, Jaroslav Kysela wrote:
> On Thu, 7 Jan 2010, John Sauter wrote:
> 
> > Mr. Kysela,
> >
> > I have some patches to aplay to make it more useful for audio
> > surveillance.  I have submitted the patches to the devel mailing list
> > for comment here:
> > <http://mailman.alsa-project.org/pipermail/alsa-devel/2010-January/024278.html>.
> >
> > I have received no negative comments, so I would like to propose these
> > patches for inclusion in mainline.  What is the procedure for submitting
> > patches for alsa-util?
> 
> Could you, please, a bit clean up your patch?
> 
> - There are a lot of "if (pidfile_written) remove (pidfile_name)" lines.
>    It would be better  to create another function like prg_exit() and add
>    this code there.
> 
> - Many C expressions are not splitted to more lines:
>    "if (max_file_size && (rest > max_file_size)) rest = max_file_size;"
> 
> - Check all conditions. Use && and || operators instead bit-like AND (&)
>    and OR (|). Like "if (filecount | use_strftime) {" etc.
> 
> - I would also appreciate, if you can split '--process-id-file' code
>    changes and rest of implementation to two standalone patches for more
>    easier review. Also, your patch contains some "space/tab replacements" -
>    it might be moved to another patch too.
> 
>  					Thanks,
>  						Jaroslav
> 

Thank you, Jaroslav.  I will make those changes and re-submit.
    John Sauter (John_Sauter@systemeyescomputerstore.com)


[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3522 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

      reply	other threads:[~2010-01-08 18:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-02  3:54 [RFC] audio surveilance John Sauter
2010-01-07 18:30 ` John Sauter
2010-01-08 14:58   ` Jaroslav Kysela
2010-01-08 18:45     ` John Sauter [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=1262976353.5921.1.camel@sauterws02.sauterhome \
    --to=john_sauter@systemeyescomputerstore.com \
    --cc=devel@alsa-project.org \
    --cc=perex@perex.cz \
    /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.