Commit Graph

7 Commits

Author SHA1 Message Date
Alexandre Ratchov 10f6027f0f remove unused fields of resamp structure 2016-06-09 16:43:47 +02:00
Alexandre Ratchov 00ffc8f5ab Add resamp_getcnt() routine to calculate the exact number of samples
that would be consumed and produced by the sampler rate converter. Use
it to avoid partial samples that are not properly handled. Fixes
last samples of certain files causing aucat to abort.
2016-06-07 08:11:46 +02:00
Alexandre Ratchov 4772005ac1 Give the resamp_do() the exact number input and output samples and
provide routines to calculate them. This way we don't rely on it
anymore to calculate the bytes procuded/consumed. No behaviour change.
2016-05-27 17:36:53 +02:00
Alexandre Ratchov a6ea35ebb3 Make format conversion routines return the number of frames
consumed on both input and output. No behaviour change.
2016-05-26 08:16:17 +02:00
Alexandre Ratchov 7e4b5c54d9 merge alaw and mulaw code 2014-12-30 19:36:15 +01:00
Alexandre Ratchov 1602b19c78 move conversion code dsp.c 2014-12-30 19:17:32 +01:00
Alexandre Ratchov 7cbcc30319 - release constraints used to be required in server mode
- hardcode the processing chain (it used to be setup dynamically)
- merge simpler processing code from sndiod
- remove -M option, aucat is not a midi tool, sorry.
- remove -t flag (redundant with -q flag)
- remove -w flag (makes sense for server mode only)
- remove -C flag (necessary for full-duplex streams only)
- remove -x flag (xruns already handled by sndiod)
- make "-j off" the default (sndiod already does the job)
- don't limit the number of played/recorded files.
2014-11-15 13:51:02 +01:00