thats better
This commit is contained in:
parent
74430cb3c6
commit
d31c24dcb3
|
@ -267,7 +267,7 @@ TELETONE_API(int) teletone_mux_tones(teletone_generation_session_t *ts, teletone
|
|||
ts->samples * 2);
|
||||
}
|
||||
}
|
||||
return ts->samples;
|
||||
return ts->samples / ts->channels;
|
||||
}
|
||||
|
||||
TELETONE_API(int) teletone_run(teletone_generation_session_t *ts, const char *cmd)
|
||||
|
|
|
@ -302,7 +302,7 @@ TELETONE_API(int) teletone_mux_tones(teletone_generation_session_t *ts, teletone
|
|||
ts->samples * 2);
|
||||
}
|
||||
}
|
||||
return ts->samples;
|
||||
return ts->samples / ts->channels;
|
||||
}
|
||||
|
||||
/* don't ask */
|
||||
|
|
Loading…
Reference in New Issue