SoX - Sound eXchange
Audio file processing tool.
Public Attributes | List of all members
sox_globals_t Struct Reference

Client API: Global parameters (for effects & formats), returned from the sox_get_globals function. More...

#include <sox.h>

Public Attributes

unsigned verbosity
 messages are only written if globals.verbosity >= message.level
 
sox_output_message_handler_t output_message_handler
 client-specified message output callback
 
sox_bool repeatable
 true to use pre-determined timestamps and PRNG seed
 
size_t bufsiz
 Default size (in bytes) used by libSoX for blocks of sample data. More...
 
size_t input_bufsiz
 Default size (in bytes) used by libSoX for blocks of input sample data. More...
 
sox_int32_t ranqd1
 Can be used to re-seed libSoX's PRNG.
 
char const * stdin_in_use_by
 Private: tracks the name of the handler currently using stdin.
 
char const * stdout_in_use_by
 Private: tracks the name of the handler currently using stdout.
 
char const * subsystem
 Private: tracks the name of the handler currently writing an output message.
 
char * tmp_path
 Private: client-configured path to use for temporary files.
 
sox_bool use_magic
 Private: true if client has requested use of 'magic' file-type detection.
 
sox_bool use_threads
 Private: true if client has requested parallel effects processing.
 
size_t log2_dft_min_size
 Log to base 2 of minimum size (in bytes) used by libSoX for DFT (filtering). More...
 

Detailed Description

Client API: Global parameters (for effects & formats), returned from the sox_get_globals function.

Member Data Documentation

◆ bufsiz

size_t bufsiz

Default size (in bytes) used by libSoX for blocks of sample data.

Plugins should use similarly-sized buffers to get best performance.

◆ input_bufsiz

size_t input_bufsiz

Default size (in bytes) used by libSoX for blocks of input sample data.

Plugins should use similarly-sized buffers to get best performance.

◆ log2_dft_min_size

size_t log2_dft_min_size

Log to base 2 of minimum size (in bytes) used by libSoX for DFT (filtering).

Plugins should use similarly-sized DFTs to get best performance.


The documentation for this struct was generated from the following file: