aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
Commit message (Collapse)AuthorAgeFilesLines
* Some minor cleanupsChris Robinson2011-05-071-1/+1
|
* Add an option to reverse Z panning of mono sourcesChris Robinson2011-05-071-0/+7
| | | | | | | | | | | Applications that are not built around OpenAL's orientation system need to convert their given vectors to it. Depending on how this is done, it can lead to proper stereo (left-right) panning with improper surround sound (front-back) panning, which thusly sounds correct with stereo output and incorrect with 4+ channel output. This option is intended to help fix playback of such applications on surround sound systems, without having to resort to forcing stereo output.
* Don't clear the request flag if a new context doesn't specify a frequencyChris Robinson2011-05-061-7/+2
|
* Update sources automatically when device parameters changeChris Robinson2011-05-061-24/+25
|
* Remove the head_dampen optionChris Robinson2011-05-061-12/+0
| | | | Now that HRTF is properly supported, it's not needed
* Add a warning when HRTF is disabledChris Robinson2011-05-031-5/+9
|
* Add a device flag for channel config requestsChris Robinson2011-05-031-0/+4
|
* Add a frequency-request device flagChris Robinson2011-05-031-4/+13
|
* Use flags instead of separate boolsChris Robinson2011-05-011-8/+12
|
* Add a device flag for enabling HRTFChris Robinson2011-05-011-4/+8
|
* Add the SOFT moniker for the loopback extension functions and enumsChris Robinson2011-04-281-14/+14
|
* Allow MSVC to build a static libChris Robinson2011-04-271-0/+18
| | | | Based on a patch by Michał Cichoń <[email protected]>
* Add loopback device properties to the ALCenum listChris Robinson2011-04-271-0/+5
|
* Add a couple in-progress extensions to the extension listsChris Robinson2011-04-271-3/+4
|
* Add support for packed 24-bit samplesChris Robinson2011-04-261-0/+2
|
* Add a compatibility option to treat cone angles as half anglesChris Robinson2011-04-221-0/+7
| | | | | | | | | | All previous versions of the library treated the source cone angles as half angles, which is contrary to the spec. Setting the __ALSOFT_HALF_ANGLE_CONES environment variable to "true" or "1" restores the buggy behavior for compatibility with applications that expect it. This is not a config file option because new apps should not be made to depend on the old behavior.
* Allow the buffer_samples API to be retrievedChris Robinson2011-04-101-0/+6
|
* Add alBufferSamplesSOFT, as an initial start to AL_SOFT_buffer_samplesChris Robinson2011-03-161-2/+2
|
* Add a CoreAudio backendChris Robinson2011-03-151-0/+3
| | | | Code courtesy of Garin Hiebert <[email protected]>
* Combine multiple lists into oneChris Robinson2011-03-121-11/+0
|
* Add support for ALC_EXT_DEDICATEDChris Robinson2011-03-121-1/+3
|
* Better protect the device for multi-threading accessChris Robinson2011-03-121-35/+33
|
* Implement a basic non-real-time loopback deviceChris Robinson2011-03-111-11/+237
| | | | | | | | | | Currently it behaves just like a normal device except contexts are only processed during calls to alcRenderSamples. Additionally, the ALC_SYNC and ALC_REFRESH context attributes are not valid for these devices, and there are two new context attributes to specify the rendering format: ALC_FORMAT_TYPE and ALC_FORMAT_CHANNELS. These each take one of the type and channel enums added. This stuff is subject to change.
* Finalize the loop points extension as AL_SOFT_loop_pointsChris Robinson2011-02-091-2/+2
|
* Don't duplicate the device list append functionChris Robinson2011-01-231-18/+24
|
* Separate device format into 'channel config' and 'sample type' componentsChris Robinson2010-12-041-71/+189
|
* Remove incomplete EXT_buffer_sub_data, as it's (temporarily) superceded by ↵Chris Robinson2010-12-021-6/+4
| | | | | | SOFT_buffer_sub_data The EXT version can come back when other implementations take an interest
* Use memcpy to copy a string instead of sprintfChris Robinson2010-12-021-1/+1
|
* Make a function staticChris Robinson2010-12-021-1/+3
|
* Rename OUTPUTCHANNELS to something more descriptiveChris Robinson2010-12-011-1/+1
|
* Uninline some functionsChris Robinson2010-11-281-0/+20
| | | | Also add -Winline to the compiler command line to watch for future inline problems
* Avoid making Resampler[Pre]Padding staticChris Robinson2010-11-281-3/+0
|
* Prefer GCC's constructor, even in WindowsChris Robinson2010-11-281-4/+4
|
* Get rid of the device timer stuffChris Robinson2010-11-211-36/+1
|
* Hide AL_EXTX_sample_buffer_objectChris Robinson2010-11-211-4/+3
| | | | | It hasn't been going anywhere, and it's current use is dubious. Leave the code in for now, but it may be removed later.
* Increase the max number of source sends to 4, and decrease the default to 1Chris Robinson2010-11-061-1/+1
|
* Duplicate stereo sources by defaultChris Robinson2010-09-221-0/+2
| | | | | The mixer is smart enough now to handle proper volume adjustments depending on the number of output speakers
* Implement AL_SOFT_buffer_sub_data using the current AL_EXT_buffer_sub_data specChris Robinson2010-09-211-1/+3
| | | | | | This extension can be useful for some applications, but a full EXT version may not be ready for some time. Using the SOFT moniker will help differentiate it in case changes need to be done for the EXT version.
* Handle clicks by watching changes between updatesChris Robinson2010-08-161-0/+3
|
* Add a corrective, click-remval sample value offsetChris Robinson2010-08-141-0/+3
| | | | | | This will hopefully be more effective and rebust at removing clicks and pops, particularly from starts and stops in the middle of a sound. Based on an idea by Ben Davis.
* Start the device when creating a context without specified attributesChris Robinson2010-08-121-45/+49
|
* Update device parameters using a separate functionChris Robinson2010-08-091-156/+158
|
* Decrement context count when it's removed from the listChris Robinson2010-08-081-2/+2
|
* Don't re-init and re-allocate some stuff when the device is left runningChris Robinson2010-08-071-1/+5
|
* Effectslot's Effectstate should never be NULLChris Robinson2010-08-061-2/+0
|
* Enforce the device time to be a multiple of the reported resolutionChris Robinson2010-08-011-0/+1
|
* Add experimental device attributes for apps to queryChris Robinson2010-07-301-0/+25
| | | | | These will be part of the ALC_EXT_device_time extension. Behavior, values, etc, are all subject to change.
* Store the time precision with the deviceChris Robinson2010-07-251-0/+2
|
* Add a backend callback to get the device timeChris Robinson2010-07-241-1/+1
| | | | | The method should monotonically count the number of nanoseconds the device has active contexts
* Close the log file last during shutdownChris Robinson2010-07-221-4/+4
|