Extend sox_version_flags_t #603

Open
opened 2025-09-03 23:07:53 +00:00 by martinwguy · 0 comments
martinwguy commented 2025-09-03 23:07:53 +00:00 (Migrated from codeberg.org)

Extend sox_version_flags_t

Description

In sox_ng.h we have

/**
Client API:
Flags indicating whether optional features are present in this build of libSoX.
*/
typedef enum sox_version_flags_t {
    sox_version_none = 0,         /**< No special features = 0. */
    sox_version_have_popen = 1,   /**< popen = 1. */
    sox_version_have_magic = 2,   /**< magic = 2. */
    sox_version_have_threads = 4, /**< threads = 4. */
    sox_version_have_memopen = 8  /**< memopen = 8. */
} sox_version_flags_t;

That could be extended to flag a lot of things that
may or may not be available.

Analysis

Candidates:

  • All the --with options of configure
  • files bigger than 4GB

Conclusion

See ./configure output andsrc/soxconfig.h

# Extend `sox_version_flags_t` ## Description In `sox_ng.h` we have ``` /** Client API: Flags indicating whether optional features are present in this build of libSoX. */ typedef enum sox_version_flags_t { sox_version_none = 0, /**< No special features = 0. */ sox_version_have_popen = 1, /**< popen = 1. */ sox_version_have_magic = 2, /**< magic = 2. */ sox_version_have_threads = 4, /**< threads = 4. */ sox_version_have_memopen = 8 /**< memopen = 8. */ } sox_version_flags_t; ``` That could be extended to flag a lot of things that may or may not be available. ## Analysis Candidates: * All the `--with` options of configure * files bigger than 4GB ## Conclusion See `./configure` output and`src/soxconfig.h`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
martinwguy/sox_ng#603
No description provided.