summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorMike Brady <mikebrady@eircom.net>2018-12-14 15:07:00 +0000
committerMike Brady <mikebrady@eircom.net>2018-12-14 15:07:00 +0000
commit4046c0e73d477abb9a34022c16c3766839fad9d1 (patch)
treeccd61935e86be9083ee5ffd23dc31210e165ebea /common.h
parent5dd9fbc4fb5e2e4984bf7e6eb7bd0a4701fcca45 (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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.h b/common.h
index 3ac2f1a..17024f5 100644
--- a/common.h
+++ b/common.h
@@ -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