mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-17 08:56:42 -05:00
remove calc_sine() since we don't need it anymore
This commit is contained in:
parent
cd45cd9e3e
commit
ab97364210
1 changed files with 0 additions and 9 deletions
|
|
@ -201,15 +201,6 @@ finish:
|
||||||
pa_log_debug("Thread shutting down");
|
pa_log_debug("Thread shutting down");
|
||||||
}
|
}
|
||||||
|
|
||||||
static void calc_sine(float *f, size_t l, double freq) {
|
|
||||||
size_t i;
|
|
||||||
|
|
||||||
l /= sizeof(float);
|
|
||||||
|
|
||||||
for (i = 0; i < l; i++)
|
|
||||||
*(f++) = (float) 0.5f * sin((double) i*M_PI*2*freq / (double) l);
|
|
||||||
}
|
|
||||||
|
|
||||||
int pa__init(pa_module*m) {
|
int pa__init(pa_module*m) {
|
||||||
struct userdata *u;
|
struct userdata *u;
|
||||||
pa_modargs *ma;
|
pa_modargs *ma;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue