Bring in the "disable_standby_mode" feature on alsa to stop some DACs making popping noises. Fix dither generation.

This commit is contained in:
Mike Brady
2018-12-14 15:28:32 +00:00
8 changed files with 657 additions and 380 deletions
+2 -1
View File
@@ -338,6 +338,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