Stephen Sinclair
b296e4bfdb
Remove the compiledApis vector.
6 years ago
JP Cimalando
7aa565412b
Jack: allow unconnected streams to have more ports than device
6 years ago
JP Cimalando
975e28a000
make some data extern C and const
6 years ago
JP Cimalando
5c44223993
replace with something nicer: init_compiledApis
6 years ago
Stephen Sinclair
1abbca05a6
Fix typo in previous commit.
6 years ago
Stephen Sinclair
e92130e9e1
Fix api name functions for C, replace map with array.
6 years ago
JP Cimalando
bc469fab7b
reference return for API names
6 years ago
Stephen Sinclair
3d054aec68
Use a map for API names
6 years ago
JP Cimalando
021928773b
Use short lower-case names as API identifiers
6 years ago
Stephen Sinclair
1de9bea0c1
Include process.h for _beginthreadex for DS.
Fixes #140 .
6 years ago
Connor MacDonald
ab4af532a1
Fix another missing call to snd_ctl_close
7 years ago
Connor MacDonald
d79e960d70
Fix ALSA CTL handle not being closed in the default case
7 years ago
JP Cimalando
2f4e77da2a
make WASAPI instantiation errors non-fatal for older Windows
7 years ago
JP Cimalando
f7b624ba81
API names, and conversion from/to API identifier
7 years ago
terminator356
13d6295090
Realtime fixes
7 years ago
Marcelo Fernandez
34376d36aa
Give more priority to PulseAudio api ( #129 )
7 years ago
Stephen Sinclair
ce13dfbf30
Fix jackXrun handle pointer
Thanks github user @bontric , closes #113 .
7 years ago
Stephen Sinclair
3b1331c16e
Fix compilation of ASIO and WASAPI backends in MingW/Ubuntu.
Warnings/errors "unused function" are from the unicode conversion
functions on Windows, and "unused but set variable" is from ASIO
source code; we disable these warnings on Windows builds.
7 years ago
Stephen Sinclair
0645e8f466
Remove use of C++11 std::to_string in WASAPI code.
7 years ago
Marcus Tomlinson
8b543a2850
Allow only the device's native sample rate in WASAPI API
Revert "fix" for Issue #69
7 years ago
Stephen Sinclair
c3a3407216
Use "using namespace std" for roundf in previous patch.
Similar to edb4ec67
. The reason is because std::roundf causes errors
in some compilers even with cmath, yet roundf by itself should exist
in math.h. TODO: Switch to std::round when moving to C++11.
7 years ago
Stephen Sinclair
edb4ec67a9
Use "using namespace std" for roundf instead of std::roundf.
7 years ago
rehans
77bc4543d8
Round floats by using roundf in order to round correctly.
7 years ago
Stephen Sinclair
802179520e
Fix `jackSilentError(const char*)’ defined but not used
7 years ago
Gary Scavone
29167f363e
Converted line endings in RtAudio.cpp to unix format.
7 years ago
Gary Scavone
2662111a39
Version and documentation updates in advance of new release.
7 years ago
Gary Scavone
62f62cf903
Fix to initialize lastTickTimestamp when setting stream time.
7 years ago
Stephen Sinclair
3a3f183a0b
Add cmath include.
Closes #39
7 years ago
Stephen Sinclair
3125beff6a
Fix order of calling CoUninitialize()
Closes #80
7 years ago
Stephen Sinclair
7423320bc2
Fix line endings back to CR for last 2 commits.
7 years ago
Stephen Sinclair
5a04c0ad22
Fix a signed-unsigned comparison.
7 years ago
Stephen Sinclair
b9d8c432dd
oss: possible that AFMT_FLOAT is not available
7 years ago
Marcus Tomlinson
bdce037498
Simplify
8 years ago
Marcus Tomlinson
d3b158f40f
Some optimisation
8 years ago
Marcus Tomlinson
d693899f98
Slight simplification
8 years ago
Marcus Tomlinson
1a1b19da94
Fix formatting
8 years ago
Marcus Tomlinson
ef482c9dd8
Fix formatting
8 years ago
Marcus Tomlinson
47585b1a05
Fix formatting
8 years ago
Marcus Tomlinson
c0b2663f7d
Fix formatting
8 years ago
Marcus Tomlinson
706a281ea8
Tabs -> Spaces
8 years ago
Marcus Tomlinson
dc20fccbbe
Added interpolation to WASAPI's sample rate converter
8 years ago
Stephen Sinclair
87ab4a3cf7
Add mmsystem.h and mmreg.h for dsound.
8 years ago
Nils Fenner
8190c80422
refactor: C++0x compatible exception semantics
8 years ago
JP Cimalando
6318b51661
a JACK-specific flag to disable automatic connection of ports
8 years ago
Gary Scavone
a4078d4870
Removed execute mode from RtAudio.cpp (why was it set?)
9 years ago
Gary Scavone
f92ecf14ca
Documentation updates in advance of new release
9 years ago
Gary Scavone
70b95123e8
WASAPI stream time update, as suggested by Patrice Taravel
9 years ago
Guilherme Steinmann
2495e75004
Release lock if GetCurrentPosition from DS failed
9 years ago
Berkus Decker
33ce5cdac6
Don't take address of boolean flag, use flag itself instead.
9 years ago
Berkus Decker
f851c2ac5d
Register is no more in modern C++.
10 years ago