summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2022-02-28 14:50:59 -0500
committerXANTRONIX Development2022-02-28 14:53:12 -0500
commite51da4e60cb56ed81aafb030dc2019341dee2f07 (patch)
treecc0eef9f5f1337d5271d7d94a1210c27c1a2abe8
parent9cbf11f34b58dbf61492507fb4001d3992a5e26a (diff)
downloadxas-e51da4e60cb56ed81aafb030dc2019341dee2f07.tar.gz
xas-e51da4e60cb56ed81aafb030dc2019341dee2f07.tar.bz2
xas-e51da4e60cb56ed81aafb030dc2019341dee2f07.zip
Set frequency on correct sine generator
-rw-r--r--examples/say.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/say.c b/examples/say.c
index 87e89cf..133ec12 100644
--- a/examples/say.c
+++ b/examples/say.c
@@ -138,7 +138,7 @@ int main(int argc, char **argv) {
xas_synth_set_frequency(sine_l, 220);
xas_synth_start(sine_l);
- xas_synth_set_frequency(sine_l, 420);
+ xas_synth_set_frequency(sine_r, 420);
xas_synth_start(sine_r);
/*