aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Reduce the default buffer size to 4096Chris Robinson2008-07-261-2/+2
| | | | | Should help with latency issues some people have and not put too much extra burden on the mixer, hopefully
* Use arrays instead of pointer-to-arrays for the low-pass filterChris Robinson2008-07-261-18/+3
|
* Fix some calculations for the reverb bufferChris Robinson2008-07-261-25/+22
|
* Make the filter processing function inlineChris Robinson2008-07-262-37/+37
|
* Implement yet another low-pass filterChris Robinson2008-07-252-16/+518
| | | | This one using the Butterworth IIR filter design
* Specify padding per buffer, and make sure it's large enough for the filter stepChris Robinson2008-07-241-5/+5
|
* Don't advertise extra samples for mixingChris Robinson2008-07-231-3/+2
|
* Implement an alternative low-pass filterChris Robinson2008-07-231-36/+32
| | | | | | | | | This method samples from the buffer so that it gets a time-correct 5khz stream, which is subtracted from the original sample and has the high-frequency gain applied, then added back. A better method may be to average all the samples from the current one to the one freq/5000 away, instead of bilinear filtering the two nearest freq/5000 apart. Processing cost will need to determine its viability
* Clarify implicit destruction warningsChris Robinson2008-07-221-2/+7
|
* Store extension list with a pointer, not a per-context arrayChris Robinson2008-07-221-1/+1
|
* Don't force initialization when shutting downChris Robinson2008-07-171-6/+7
| | | | Thanks to Michael Simms
* Move (de)initialization into ALc.c and remove unneeded fileChris Robinson2008-07-171-3/+49
|
* Implement doppler factor source propertyChris Robinson2008-07-151-1/+1
|
* Add the reverb room rolloff to the source room rolloff, not overrideChris Robinson2008-07-151-1/+1
|
* Use volatile for member variables that are changed in a different threadChris Robinson2008-07-104-4/+4
|
* Reduce the mix buffer sizes by halfChris Robinson2008-07-081-1/+1
| | | | Nearly 3MB is a bit much. Could reduce it further, but this is good enough for now.
* Leave SourceToListener untransformed for use with untransformed velocitiesChris Robinson2008-07-031-6/+16
| | | | | Distance is also left untransformed so cone calculations with SoundToListener are correct
* Store thread return value in the struct to avoid void*-to-uint castingChris Robinson2008-06-171-8/+9
|
* Fix config value checkChris Robinson2008-06-041-1/+1
|
* Don't override the format config option in DSoundChris Robinson2008-06-041-1/+19
|
* Use %AppData%\alsoft.ini for the config file in WindowsChris Robinson2008-06-041-0/+16
|
* Protect RingBufferSize calculation with the mutexChris Robinson2008-06-041-2/+7
|
* Make sure the lib is initialized when shutting downChris Robinson2008-05-181-0/+2
| | | | Pretty ugly, but the destructor sequence relies in the mutex being initialized
* Fix source calculations for AL_SOURCE_RELATIVE modeChris Robinson2008-05-181-18/+22
| | | | | | Make sure the source position and direction are properly put into listener- space before working with them, and don't calculate the listener velocity for relative coordinates
* Prepare the ALSA PCM handle before starting captureChris Robinson2008-05-061-0/+1
| | | | Thanks to Jason Daly for pointing it out
* Check the right struct member for the filter typeChris Robinson2008-04-121-2/+2
|
* Fill the correct capture device listChris Robinson2008-04-051-3/+4
|
* Define _WIN32_WINNT to 0x0500 when including windows.hChris Robinson2008-03-013-2/+2
| | | | VC7 appears to require that value, or higher, set and fails otherwise
* Don't start the DSound playback thread is startup failedChris Robinson2008-03-011-4/+7
|
* Add the first card after making sure there's a useable device on itChris Robinson2008-02-151-5/+10
|
* Avoid a static variable for enumeratingChris Robinson2008-02-151-6/+6
|
* Remove FrameSize struct memberChris Robinson2008-02-145-23/+29
|
* Remove unneeded headersChris Robinson2008-02-131-3/+1
|
* Wait for a PCM handle to be ready for more data instead of polling every 1ms ↵Chris Robinson2008-02-131-1/+4
| | | | or so
* Read in chunks of the fragment size, not expected buffer sizeChris Robinson2008-02-121-1/+1
|
* UpdateSize is not used for capture devicesChris Robinson2008-02-121-4/+2
|
* Rename UpdateFreq device field to UpdateSizeChris Robinson2008-02-125-20/+20
|
* Pretend DSound buffer fragment size is 1/4th the total buffer sizeChris Robinson2008-02-121-2/+7
|
* Make the backend list staticChris Robinson2008-02-111-1/+1
|
* Call InitAL at the start of some more ALC functionsChris Robinson2008-02-111-0/+8
|
* Fast float-to-int function is no longer neededChris Robinson2008-02-081-14/+2
|
* Remove unnecessary castingChris Robinson2008-02-081-2/+2
|
* Remove explicit dependancy on ole32 and unused dxguidChris Robinson2008-02-081-9/+1
|
* Enumerate DirectSound devicesChris Robinson2008-02-081-9/+39
|
* Remove unneeded device struct memberChris Robinson2008-02-081-2/+0
|
* Prevent overflow of the device listsChris Robinson2008-02-081-6/+21
|
* Use all capture devices listed by ALSA, not just the first on each cardChris Robinson2008-02-081-12/+35
|
* Don't remove the devices from the device list on unexpected shutdownChris Robinson2008-02-081-7/+3
| | | | The close functions will remove it for us
* Set the done flag immediately when entering the initializationChris Robinson2008-02-061-1/+2
| | | | | To prevent two threads from initializing at the same time (not that it's likely to happen at this point).
* Add an option for duplicating stereo sources on the back speakersChris Robinson2008-02-062-7/+24
|