diff options
author | Mike Brady <mikebrady@eircom.net> | 2018-12-14 15:07:00 +0000 |
---|---|---|
committer | Mike Brady <mikebrady@eircom.net> | 2018-12-14 15:07:00 +0000 |
commit | 4046c0e73d477abb9a34022c16c3766839fad9d1 (patch) | |
tree | ccd61935e86be9083ee5ffd23dc31210e165ebea /common.h | |
parent | 5dd9fbc4fb5e2e4984bf7e6eb7bd0a4701fcca45 (diff) |
Fix dither, add dither to silences during lead-in, interpolatied frames and keeping out of standby, only if the output device doesn't use a mixer. Check configuration at initialisation.
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -337,6 +337,7 @@ char *get_version_string(); // mallocs a string space -- remember to free it aft void sps_nanosleep(const time_t sec, const long nanosec); // waits for this time, even through interruptions -int usleep_uncancellable(useconds_t usec); +int64_t generate_zero_frames(char *outp, size_t number_of_frames, enum sps_format_t format, + int with_dither, int64_t random_number_in); #endif // _COMMON_H |