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
Gary Scavone
f6829a48de
Update optional stream name for playback in PulseAudio API.
10 years ago
snori
258dc8832e
delete not needed line. (duplicated)
10 years ago
Gary Scavone
d4387bfdc0
Commit of ALSA underrun warning message fix
10 years ago
Gary Scavone
661a34e77d
Update to DS code for getDeviceCount() when cleaning out devices that may have disappeared
10 years ago
Guilherme Steinmann
d58bf8ca75
Fix closeStream on Mac OS X
10 years ago
Gary Scavone
06296a58ed
Small ASIO update to support buffersize value of 0 (setting to preferred size).
10 years ago
Gary Scavone
7d46492974
Fixed some missing unlocks before calling error() in DS API.
10 years ago
Tristan Matthews
554c6c5035
rtaudio: avoid NULL dereference
10 years ago
Tristan Matthews
7efec74033
alsa: avoid uninitialized read
The check if ( subdevice != -1 ) was being done on a potentially
uninitialized variable.
10 years ago
Harris Georgiou
8408e11e5d
Fix for NULL options in PULSE audio backend in probeDeviceOpen
10 years ago
Hirotoshi YOSHITAKA
17188fb2b1
Fix calloc-free mismatch
Use free() for allocated memory by calloc (not delete).
Deleting calloc-ed memory will become problem in the environment which
overrides global "operator delete" like some game engine.
10 years ago
Hirotoshi YOSHITAKA
d0e2d3a608
Add algorithm header include
Without algorithm header, Visual Studio complaints that std::max is not
declared and defined.
Including algorithm header resolves this issue.
10 years ago
yedey
53ac6ffe14
Fixed major ASIO duplex initialization bug. Added "preferredSampleRate" to the device info.
10 years ago
yedey
b9e6faacf4
ASIO fix for crash for early callbacks (initiated from ASIOCreateBuffers), ASIO fix for strict/misbehaving drivers
10 years ago