commit a221ba50e3897d3a3dd15ff46c7aec27274b6830
parent 9ac163ca6d6121ee6c9a0a31f1ddfbf5f6413c52
Author: zavok <an2qzavok@gmail.com>
Date: Wed, 12 Feb 2020 13:22:18 +0300
bler
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/usynth.c b/usynth.c
@@ -13,9 +13,8 @@ size_t bs;
int16_t *sbuf;
void
-s_init(void)
+s_init(char *sdev)
{
- char *sdev = "rsnd/0";//SIO_DEVANY;
struct sio_par par;
sh = sio_open(sdev, SIO_PLAY, 0);
sio_initpar(&par);
@@ -38,7 +37,7 @@ s_init(void)
int
main(int argc, char **argv)
{
- s_init();
+ s_init("rsnd/0");
m_init("rmidi/0");
fm_init();
m_vector.note_on = fm_key_on;