mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
add new API function pa_memchunk_sine()
Ease generation of sine signals. Try to make the repeatable sine memblock fit into a single mempool slot.
This commit is contained in:
parent
949de8156e
commit
b8e6aae08e
2 changed files with 36 additions and 0 deletions
|
|
@ -83,4 +83,6 @@ size_t pa_usec_to_bytes_round_up(pa_usec_t t, const pa_sample_spec *spec);
|
|||
|
||||
void pa_memchunk_dump_to_file(pa_memchunk *c, const char *fn);
|
||||
|
||||
void pa_memchunk_sine(pa_memchunk *c, pa_mempool *pool, unsigned rate, unsigned freq);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue