Dear all,

I am the author of the SoXPlugins that mirror some of the SoX
functionality in audio workstations, so I am very grateful that SoX
development is revived!

Because I would like to contribute to this project, I like to
know some of the code and project guidelines:

  * What is the preferred code style?  I fully understand that one
    tries to mimic the original code style as much as possible, but
    since the have been several contributors over the time, there is
    no real consistency.

    My proposal: K&R style

  * What is the C standard to be adhered to? Is is C99 or something
    later?

    My proposal: C99 (because it should be supported by most of the
    target architectures as opposed to newer standards)

  * Is there some guideline for the code documentation?  One could use
    something like doxygen to produce readable internal documentation
    from the code, but, of course, has to adapt the code documentation
    accordingly.

    My proposal: doxygen

    What do you think?

  * I would prefer _not to have_ executable source code in header
    files.  This might impede efficiency, because optimization might
    not work, but there is a remedy for that: put the executable
    source code in some "xxx.c-inc" file and - depending on the build
    configuration - either include it into the xxx.h file or include
    it into the xxx.c file.

    Do we want this technique to be used?

  * Do we want to put some substructure in the src directory (like
    e.g. effects, formats, basetypes etc.)?  This makes includes a bit
    more tedious, but in my opinion this is helpful.

  * There are several build-techniques used: makefiles, CMake, msvc
    etc.  First of all, I would prefer to have those in some build or
    buildSetup directory on top level.

    CMake has the big advantage that it generates the build files:
    hence one can throw away all the MS vcxproj and sln files and also
    the makefiles.

Well a lot of questions...


Best regards,
Prof. Spock


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#31): https://groups.io/g/sox-ng/message/31
Mute This Topic: https://groups.io/mt/110467411/21656
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/sox-ng/leave/13602885/21656/313486934/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to