Chris Robinson
b9fd3f9eb4
Add missing enum to the list
2013-10-03 07:32:01 -07:00
Chris Robinson
01a5946a2e
Compile using -std=c99 when available
2013-10-03 05:45:12 -07:00
Chris Robinson
2e605590a2
Convert autowah.c line-endings
2013-10-03 05:04:39 -07:00
Chris Robinson
764ea95781
Use helpers to set channel gain arrays
...
Also avoid unnecessary clearing.
2013-10-03 05:02:16 -07:00
Chris Robinson
99fa5911bc
Implement the Autowah effect.
2013-10-03 03:37:03 -07:00
Chris Robinson
2f676832bc
Avoid a divide-by-0 when distortion edge is 1
2013-09-04 15:46:05 -07:00
Chris Robinson
94884ed04b
Use a separate value for the maximum buffer channels
...
Unlike the device, input buffers are accessed based on channel numbers
instead of enums. This means the maximum number of channels they hold
depends on the number of channels any one format can have, rather than
the total number of recognized channels. Currently, this is 8 for 7.1.
2013-07-23 00:13:15 -07:00
Chris Robinson
2219ce2475
Implement master high-pass filter for EAXREVERB
2013-07-21 22:12:50 -07:00
Chris Robinson
393d0eb138
Limit lower filter gain to -100dB
2013-07-21 18:42:14 -07:00
Chris Robinson
51791e6a54
Remove an unused function
2013-07-21 03:22:14 -07:00
Chris Robinson
d85f0c0bb2
Improve the source's low-pass filter response
2013-07-20 22:18:44 -07:00
Chris Robinson
0a95c470b0
Some .ui changes that Qt Designer insists on
2013-07-10 10:53:01 -07:00
Chris Robinson
7ebc1bb69e
Use OpenAL_SOURCE_DIR for the CMake module path and declare the project earlier
...
The minimum CMake version required is also bumped to 2.6. Patch by Andrew West,
allows OpenAL Soft to be properly built as a sub-project.
2013-07-10 10:46:07 -07:00
Chris Robinson
52096234e1
Limit the source step to 10
...
This means the combination of the buffer frequency, source pitch, and
doppler shift can't exceed 10x the device playback frequency.
This is needed to keep the mixer from starving with a really high
increment, causing small DstBufferSize values that require a lot of
iterations.
2013-07-02 06:57:27 -07:00
Chris Robinson
61c6a38f04
Don't have ../../ as part of the target name
2013-07-02 02:02:57 -07:00
Chris Robinson
f23a28e8f3
Disable HRTF remove button when no files selected
2013-06-28 00:08:57 -07:00
Chris Robinson
314f9e2686
Update the period size/count sliders when loading
2013-06-27 23:31:51 -07:00
Chris Robinson
2c7f94e285
Remove the unused menu bar and status bar from alsoft-config
2013-06-27 21:42:38 -07:00
Chris Robinson
a375104826
Make sure SDL_sound was found before setting the includes
2013-06-25 03:53:48 -07:00
Chris Robinson
62dd5f33b2
Better handle the INCLUDE_DIRECTORIES property
...
Older cmake verions (prior to 2.8.8) don't have a per-target
INCLUDE_DIRECTORIES property, so the directories have to be
added using the INCLUDE_DIRECTORIES command.
2013-06-25 03:14:04 -07:00
Chris Robinson
77a2c8bcf0
Check for Qt4 earlier
2013-06-24 18:38:26 -07:00
Chris Robinson
d984cec3a1
Properly check that Qt4 4.8+ was found
2013-06-24 17:40:41 -07:00
Chris Robinson
5c7680ec84
Use the COMPILE_DEFINITIONS property instead of DEFINE_SYMBOL
2013-06-24 17:40:03 -07:00
Chris Robinson
18157bc331
Better specify include directories and defines needed for various targets
2013-06-24 16:30:04 -07:00
Chris Robinson
27b66b2008
Specify the required Qt4 version to find_package
2013-06-24 16:28:19 -07:00
Chris Robinson
f48c0c9e0a
Make sure QtCore and QtGui were found and link with the appropriate libs
2013-06-24 05:02:45 -07:00
Chris Robinson
b3f54124bd
Require Qt 4.8 or newer for alsoft-config
2013-06-24 04:47:36 -07:00
Chris Robinson
eebc6c0419
Move alsoft-config to a separate project file
...
This to help avoid FindQt4.cmake from polluting the current project with
defines and include directories, applying them to targets that don't use Qt.
2013-06-24 04:27:35 -07:00
Chris Robinson
144059b062
Add a configuration UI application
...
Not complete, but it's a decent start. Some problems:
* Only some otions are handled (backend-specific options in particular aren't
handled).
* Does not warn when quitting with unsaved changes.
* Some options are missing tooltips.
2013-06-23 22:47:51 -07:00
Chris Robinson
4017e4a96a
Check for MinGW in CMakeLists.txt instead of config.h
2013-06-20 17:17:17 -07:00
Chris Robinson
ed0568bb24
Fix a potential infinite loop.
...
If the first XDG_CONFIG_DIRS entry isn't a proper relative path,
it would never break the loop.
2013-06-19 23:24:06 -07:00
Chris Robinson
160e901381
Handle non-native endian formats with SDL_sound
2013-06-19 22:47:17 -07:00
Chris Robinson
a9fac12969
Work around some problems with KDevelop's parser
2013-06-18 14:33:39 -07:00
Chris Robinson
3c90ed95af
Look for alsoft.conf in the XDG_CONFIG_DIRS and XDG_CONFIG_HOME directories
...
This follows the XDG Base Directory Specification. The old files/locations are
still supported, but configs found in XDG_CONFIG_DIRS take precedence over
/etc/openal/alsoft.conf, and a config found in XDG_CONFIG_HOME takes precedence
over $HOME/.alsoftrc.
2013-06-16 22:55:11 -07:00
Chris Robinson
48d5002190
Trace config file names being loaded
2013-06-16 20:43:31 -07:00
Chris Robinson
784e396cc7
Don't split config sections into separate blocks
2013-06-16 19:52:56 -07:00
Chris Robinson
8bd77be522
Improve parsing of the config files
...
This will also now recognize (and strip) quotation marks from around values.
2013-06-16 18:42:27 -07:00
Chris Robinson
ff44ebfd5b
Add a loopback extension example
2013-06-16 16:10:21 -07:00
Chris Robinson
a5471ce0a4
Better handle spaces between string list entries
2013-06-16 15:44:41 -07:00
Chris Robinson
817ca82e4b
Fix input and feedback in the echo effect
2013-06-10 05:57:27 -07:00
Chris Robinson
68898dad1e
Don't open the log file with both 'truncate' and 'append' flags
2013-06-07 03:38:09 -07:00
Chris Robinson
024374e0ce
Use explicit bit offsets when checking for SSE and SSE2
...
Clang's cpuid.h doesn't contain the bit_* macros.
2013-06-06 19:30:55 -07:00
Chris Robinson
647398d7c6
Use ALfilterState for the distortion effect filters
2013-06-06 03:24:44 -07:00
Chris Robinson
dcefeac6e6
Use a static lib for the common example code
2013-06-05 23:07:33 -07:00
Chris Robinson
9fd8731480
Use SDL_sound for the other examples
2013-06-05 20:12:13 -07:00
Chris Robinson
056fa2a474
Use SDL_sound for the alstream example
2013-06-05 19:50:18 -07:00
Chris Robinson
fe5428dc49
Add a custom FindSDL_sound cmake module
...
The one that comes with CMake is broken, incorrectly setting
SDL_SOUND_LIBRARIES, causing warnings, and not even working if the
project is C only.
2013-06-05 19:21:09 -07:00
Chris Robinson
a371de080b
Silence some clang warnings
2013-06-05 01:52:49 -07:00
Chris Robinson
0e0f70b288
Avoid a NULL dereference
2013-06-04 17:36:54 -07:00
Chris Robinson
7257aa3ed2
Allow enabling HRTF through a context creation attribute
2013-05-31 19:29:32 -07:00