commit | 7d92b0609093a047ce4b113d77ccd3cc78325e8f | [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 | 03f11e87a86307903f40e74495936184063bab79 [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>