Re: [U-Boot] [PATCH 2/4] sound: Add sample rate as a parameter for square wave

2018-11-29 Thread sjg
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 --- arch/sandbox/cpu/sdl.c| 2 +-

[U-Boot] [PATCH 2/4] sound: Add sample rate as a parameter for square wave

2018-11-15 Thread Simon Glass
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 --- arch/sandbox/cpu/sdl.c| 2 +-