]> git.alsa-project.org Git - alsa-utils.git/commit
speaker-test: Refactor the tone-generator codes
authorTakashi Iwai <tiwai@suse.de>
Mon, 5 Mar 2018 15:10:42 +0000 (16:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 5 Mar 2018 15:13:41 +0000 (16:13 +0100)
commit9bc49645720ad1deefbb3d152430634b811e94df
tree7f1431a7737121eea47ee64cc74973d62d172a8b
parent66b31f24513aeccc730e203b30c15b43cf7a7f36
speaker-test: Refactor the tone-generator codes

There are many redundant open codes in speaker-test for performing the
similar things, and especially the tone generator codes are ugly.
Let's clean up a bit.  This patch combines all open-codes into a
single common helper with the callback for generating the tone.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
speaker-test/speaker-test.c