Commit graph

36 commits

Author SHA1 Message Date
luz paz
4cb5845b92 Fix timeStrech->timeStretch 2021-08-31 11:10:52 -04:00
manongjohn
4712086e39 Fix compile 32bit support for non-windows environments 2021-05-20 09:33:22 -04:00
manongjohn
e8bb797adc Add 32bit float WAV support 2021-05-20 07:35:12 -04:00
manongjohn
44ce1e95b3 Add 32bit fixed WAV support 2021-05-16 16:05:25 -04:00
Jeremy Bullock
c57e297804
Fix audio memory leak and fix windows distortion (#402)
* Fix audio memory leak and fix windows distortion

* Fix play button resetting
2020-10-22 10:43:35 -06:00
shun_iwasawa
f5f4afa9d0 readDirectory enhancements 2019-05-22 17:24:51 +09:00
shun_iwasawa
b487a57263 test using QPointer::data for sender argument 2019-01-09 16:27:09 +09:00
Ivan Mahonin
e162dba222 #sound: seamless 2018-08-18 10:44:22 +07:00
Ivan Mahonin
3cd9622ed8 #sound: improve sound_qt 2018-08-18 10:44:22 +07:00
Konstantin Dmitriev
a9c425317e Fix sound playback on Linux by enabling fix #1302 for Linux platform (#1749)
close #1302 
close #1097 
close #907
2018-05-25 10:28:41 +09:00
Jeremy Bullock
6767bee6b3 Fix for sierra scrub crash (#1302)
* fix for sierra scrub crash
2017-09-22 16:19:10 +09:00
shun_iwasawa
0cae242b72 clang format all 2017-07-20 19:46:27 +09:00
Ivan Mahonin
2fc36cb841 Allow to cross compile for Windows with Linux/Mingw (part 2 of 3, bugfixes) (#1149)
* #mingw #bug: place explicit instantiations on templates before first use

* #mingw #bug: remove API attributes from inline functions

* #mingw #bug: add 'static' attribute for local functions

* #mingw #bug: fix API attributes for splitSpeedInOutSegment

* #mingw #bug: replace strstream to stringstream

* #mingw #bug: remove cross references to plasticskeleton from tnzcore

* #mingw #bug: fix bug with order of initializaition of static variables

* #mingw #bug: fix glutInit
2017-05-19 19:20:33 +09:00
Ivan Mahonin
e280ae86d6 Allow to cross compile for Windows with Linux/Mingw (part 1 of 3, preprocessor) (#1148)
* split _WIN32 and _MSC_VER, lowercase includes
2017-05-08 21:13:29 +09:00
jabarrera
e8ad777186 Fix for Linux audio on i386
Specialized array copying caused problems and isn't needed.
2016-11-27 22:26:45 +11:00
Campbell Barton
cbcab0b54e Linux: Correct misuse of SDL_MixAudio
memset needs to be used even with full volume.
2016-11-27 11:45:45 +11:00
jabarrera
7c1be800e9 Fix audio reproduction issue (863) in GNU/Linux 2016-11-27 11:34:25 +11:00
Campbell Barton
8c6c57f1b4 Enable missing-declarations warning (#643)
Finish ensuring symbols use headers correctly
2016-07-22 13:38:33 +09:00
Shinya Kitaoka
fd19c4eedf Support Visual Studio 2015 (#544)
* Small changes, for some reason VS 2015 can't link cprintf and they added a second function std::map::count and bind couldn't resolve the function. Substituted with a lambda-expression.

* Created all 64bit version of the 3rd party libs.

* Cleanup popup opens CleanupSettings instead of CleanupSettingsPane. Not finished, panel is wrong now (also uses CleanupSettings).

* Tried to get Twain working, failed.

* When there are more then 3 peg holes create additional holes.

* When a hole touches the boundary it should still be considered a hole.

* Do not compare dot size against fixed size. Will not work in some scan resolutions. Used the same value (PERCENT * max dot size) as later in the code in compare_dots.

* When there are more than three peg holes the code looked for the best fit and used that. The problem was, that the middle hole was used as center for auto center. For three peg holes that is correct, but does not work for more than three. Now the best fit is calculated and from there the offset of the middle of the three best fit holes is calculated and applied.

* One of the last changes broke VS2015 compatibility, it chocked on a missing include.

* fix for msvs2013

* revert autopos.cpp

* apply clang-format

* use GIT-LFS
2016-07-04 17:50:30 +09:00
shun-iwasawa
55327d15ae Merge pull request #467 from ideasman42/linux-tsound-pr
Linux support for tsound (SDL2), from pr #51
2016-06-29 18:55:41 +09:00
Shinya Kitaoka
d1f6c4e95b REFACTORING: Add final specifiers (#537)
* add final specifiers

* apply clang-format

* fix for macOS
2016-06-29 15:17:12 +09:00
Shinya Kitaoka
38fd868138 apply clang-format 2016-06-20 11:34:17 +09:00
Shinya Kitaoka
473e70432a add override specifier 2016-06-20 11:34:15 +09:00
Campbell Barton
36d03a96ea Linux support for tsound (SDL2), from pr #51
Credit goes to François Revol for this work.
2016-06-17 21:51:29 +10:00
Shinya Kitaoka
120a6e041c apply clang-format 2016-06-15 15:43:10 +09:00
Shinya Kitaoka
ee259ffaf7 remove duplicated constants (#296) 2016-06-13 21:37:09 +09:00
Shinya Kitaoka
9eb50de5fe Use std functions (#297)
* use std functions

* replace toInt        to std::stoi
* replace toDouble     to std::stod
* replace toString     to std::to_string
* replace toWideString to std::to_wstring

* fix for MacOS

* cosmetic change
2016-06-07 16:06:00 +09:00
Shinya Kitaoka
12c444ee0d use std::min and std::max (#318) 2016-05-18 13:03:37 +09:00
Shinya Kitaoka
d4642c34e8 Remove macros: CASE, __OR, and DEFAULT (#286)
* remove syntax macros: CASE, __OR, and DEFAULT

* define VC_EXTRALEAN

* remove meaningless comments
2016-05-13 19:49:17 +09:00
Shinya Kitaoka
3bfa549e8b remove "using"
- using std::string;
- using std::wstring;
- using std::ostream;
- using std::istream;
- using std::iostream;
- using std::ostrstream;
- using std::istrstream;
- using std::fstream;
2016-04-21 16:23:15 +09:00
Shinya Kitaoka
42bfb61883 remove delete[] 2016-04-20 10:24:47 +09:00
Shinya Kitaoka
07d4ebbb34 Merge pull request #186 from ideasman42/linux-include-auto_ptr-fix
Include memory, needed for auto_ptr references
2016-04-18 13:29:40 +09:00
Campbell Barton
40cabe2c56 Include memory, needed for auto_ptr references 2016-04-17 15:56:16 +10:00
Shinya Kitaoka
94f329e8fb fix tsound_mac.cpp 2016-04-15 18:03:25 +09:00
Shinya Kitaoka
262a92f130 use smart pointer for m_imp 2016-04-14 19:15:09 +09:00
Toshihiro Shimizu
890dddabbd first commit 2016-03-19 02:57:51 +09:00