commit | ddad0320a8905019a9221df6b2c1ea556bf566de | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Nov 15 19:56:13 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Nov 29 09:30:05 2018 -0700 |
tree | 4afa25f53b27bf4f76cac7e0a80ef8bb1de36242 | |
parent | ffefc8d93b3369da7170998d0e934384982f0967 [diff] |
sound: Add sample rate as a parameter for square wave At present this value is hard-coded in the function that generates a square wave. Since sample rates vary between different hardware, it makes more sense to have this as a parameter. Update the function and its users. Signed-off-by: Simon Glass <sjg@chromium.org>