mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-08-16 11:31:19 +00:00

* soundtouch: add recipe * add condition for SoundTouchDLL * link mvec * fix license name Co-authored-by: Jordan Williams <jordan@jwillikers.com> * fix pkg_config_name Co-authored-by: Uilian Ries <uilianries@gmail.com> Co-authored-by: Jordan Williams <jordan@jwillikers.com> Co-authored-by: Uilian Ries <uilianries@gmail.com>
18 lines
381 B
C++
18 lines
381 B
C++
#include <iostream>
|
|
|
|
#include "soundtouch/SoundTouch.h"
|
|
|
|
int main(int argc, char* argv[]) {
|
|
std::cout << "SoundTouch: " << soundtouch::SoundTouch::getVersionString() << "\n";
|
|
|
|
soundtouch::SoundTouch soundTouch;
|
|
soundTouch.setRate(0.5);
|
|
soundTouch.setTempo(1.5);
|
|
soundTouch.setPitch(0.8);
|
|
soundTouch.setChannels(2);
|
|
|
|
soundTouch.flush();
|
|
|
|
return 0;
|
|
}
|