Home
last modified time | relevance | path

Searched refs:sox_globals (Results 1 – 22 of 22) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Deffects.c112 if (imin > sox_globals.bufsiz / effp->flows) { in lsx_effect_set_imin()
247 size_t obeg = sox_globals.bufsiz - effp->oend; in flow_effect()
266 effp->obuf, sox_globals.bufsiz, effp->oend); in flow_effect()
269 size_t flow_offs = sox_globals.bufsiz/effp->flows; in flow_effect()
275 if(sox_globals.use_threads) \ in flow_effect()
281 if(sox_globals.use_threads) \ in flow_effect()
309 interleave(effp->flows, obeg, chain->il_buf, sox_globals.bufsiz, in flow_effect()
316 size_t flow_offs = sox_globals.bufsiz/effp->flows; in flow_effect()
344 size_t obeg = sox_globals.bufsiz - effp->oend; in drain_effect()
361 effp->obuf, sox_globals.bufsiz, effp->oend); in drain_effect()
[all …]
H A Dlibsox.c115 if (sox_globals.verbosity >= level) { in output_message()
201 if (sox_globals.output_message_handler) \
202 (*sox_globals.output_message_handler)(level,sox_globals.subsystem,fmt,ap); \
H A Dmp3.c381 p->mp3_buffer_size = sox_globals.bufsiz; in startread()
683 sox_globals.subsystem=__FILE__; in errorf()
684 if (sox_globals.output_message_handler) in errorf()
685 (*sox_globals.output_message_handler)(1,sox_globals.subsystem,fmt,va); in errorf()
691 sox_globals.subsystem=__FILE__; in debugf()
692 if (sox_globals.output_message_handler) in debugf()
693 (*sox_globals.output_message_handler)(4,sox_globals.subsystem,fmt,va); in debugf()
699 sox_globals.subsystem=__FILE__; in msgf()
700 if (sox_globals.output_message_handler) in msgf()
701 (*sox_globals.output_message_handler)(3,sox_globals.subsystem,fmt,va); in msgf()
[all …]
H A Dexample3.c35 if (sox_globals.verbosity >= level) { in output_message()
64 sox_globals.output_message_handler = output_message; in main()
65 sox_globals.verbosity = 1; in main()
H A Dsox.c242 free(sox_globals.tmp_path); in cleanup()
243 sox_globals.tmp_path = NULL; in cleanup()
364 if (is_player && sox_globals.verbosity < 3) { in display_file_info()
442 if (sox_globals.verbosity > 2) in report_file_info()
454 if (show_progress && (sox_globals.verbosity < 3 || in progress_to_next_input_file()
507 z->ibuf[i] = lsx_malloc(sox_globals.bufsiz * sizeof(sox_sample_t)); in combiner_start()
1105 char const * format = sox_globals.verbosity > 3? in add_effects()
1808 if (sox_globals.verbosity > 3) { in display_SoX_version()
1974 if (!(sox_globals.verbosity > 2)) { in usage()
2291 sox_globals.bufsiz = i; in parse_gopts_and_fopts()
[all …]
H A Dformats.c102 if (sox_globals.use_magic) { in auto_detect_format()
498 size_t input_bufsiz = sox_globals.input_bufsiz? in open_read()
499 sox_globals.input_bufsiz : sox_globals.bufsiz; in open_read()
511 if (sox_globals.stdin_in_use_by) { in open_read()
512 lsx_fail("`-' (stdin) already in use by `%s'", sox_globals.stdin_in_use_by); in open_read()
515 sox_globals.stdin_in_use_by = "audio input"; in open_read()
902 if (sox_globals.stdout_in_use_by) { in open_write()
903 lsx_fail("`-' (stdout) already in use by `%s'", sox_globals.stdout_in_use_by); in open_write()
906 sox_globals.stdout_in_use_by = "audio output"; in open_write()
931 if (setvbuf (ft->fp, NULL, _IOFBF, sizeof(char) * sox_globals.bufsiz)) { in open_write()
[all …]
H A Dsox_i.h34 #define lsx_debug sox_globals.subsystem=effp->handler.name,lsx_debug_impl
35 #define lsx_fail sox_globals.subsystem=effp->handler.name,lsx_fail_impl
36 #define lsx_report sox_globals.subsystem=effp->handler.name,lsx_report_impl
37 #define lsx_warn sox_globals.subsystem=effp->handler.name,lsx_warn_impl
40 #define RANQD1 ranqd1(sox_globals.ranqd1)
41 #define DRANQD1 dranqd1(sox_globals.ranqd1)
H A Dao.c38 ao->buf_size = sox_globals.bufsiz - (sox_globals.bufsiz % (ft->encoding.bits_per_sample >> 3)); in startwrite()
H A Dgsrt.c123 time_t now = sox_globals.repeatable? 0 : time(NULL); in start_write()
124 struct tm const * t = sox_globals.repeatable? gmtime(&now) : localtime(&now); in start_write()
H A Dadpcms.c152 state->file.buf = lsx_malloc(sox_globals.bufsiz); in adpcm_start()
153 state->file.size = sox_globals.bufsiz; in adpcm_start()
H A Dlibsox_i.c67 char const * path = sox_globals.tmp_path; in lsx_tmpfile()
H A Dcoreaudio.c249 ac->bufsize = sox_globals.bufsiz / sizeof(sox_sample_t) * Buffactor; in setup()
255 buf_size = sox_globals.bufsiz / sizeof(sox_sample_t) * sizeof(float); in setup()
H A Ddither.c407 p->ranqd1 = ranqd1(sox_globals.ranqd1) + effp->flow; in start()
H A Doss.c245 size_t cbOutput = sox_globals.bufsiz; in ossinit()
H A Dwaveaudio.c307 priv->buf_len = ((sox_globals.bufsiz >> priv->sample_shift) + 31) & ~31u; in start()
H A Dalsa.c141 p->buf_len = sox_globals.bufsiz * 8 / formats[p->format].bytes / in setup()
H A Dsunaudio.c336 pPriv->cOutput = sox_globals.bufsiz >> pPriv->sample_shift; in sunstartwrite()
H A Dcvsd.c580 hdr->Unixtime = sox_globals.repeatable? 0 : time(NULL); in make_dvms_hdr()
H A Deffects_i_dsp.c153 int min = sox_globals.log2_dft_min_size; in lsx_set_dft_length()
H A Dsox.h1654 #define sox_globals (*sox_get_globals()) macro
H A Daiff.c721 lsx_writedw(ft, (unsigned)((sox_globals.repeatable? 0 : time(NULL)) + 2082844800)); in aiffwriteheader()
/OK3568_Linux_fs/buildroot/dl/sox/git/
H A DChangeLog211 o Added use_threads variable to sox_globals. This should be used to enable