Commit Graph

  • 60e7d26308 Merge branch 'master' of git://repo.or.cz/openal-soft master Aaron Lindsay 2012-03-18 02:34:42 -04:00
  • e09e682498 Use a simpler endianness detection for the OpenSL ES backend Aaron Lindsay 2012-03-18 02:34:11 -04:00
  • 703d72f20e Use the correct loop count for reading the elevation offsets from external HRTF files Chris Robinson 2012-03-17 03:42:07 -07:00
  • b7d67d8bcc Don't error when querying unknown enums for the channel config and sample format Chris Robinson 2012-03-15 15:22:58 -07:00
  • 7e5b13aabd Finalize ALC_SOFT_loopback Chris Robinson 2012-03-15 15:21:15 -07:00
  • c5e9464dff Fix Android backend static bug by asking for s16 audio Aaron Lindsay 2012-03-15 15:05:28 -04:00
  • c730cdc2ae Merge branch 'master' of git://repo.or.cz/openal-soft Aaron Lindsay 2012-03-15 14:14:23 -04:00
  • 63518e9883 Update android Alc backend. Aaron Lindsay 2012-03-15 03:30:03 -04:00
  • 190cbdc51e Merge branch 'master' of git://repo.or.cz/openal-soft Aaron Lindsay 2012-03-15 02:59:52 -04:00
  • 7fbcb4b9e6 Use the actual distance from the ref distance for air absorption and initial reverb decay Chris Robinson 2012-03-14 22:45:52 -07:00
  • 767a5b3c73 Mark the GlobalContext pointer as volatile Chris Robinson 2012-03-14 00:13:16 -07:00
  • a08080bd82 Avoid modifying the ALCdevice in portaudio's open method Chris Robinson 2012-03-13 22:18:51 -07:00
  • 415bf58a06 Store the portaudio stream parameters with the device Chris Robinson 2012-03-13 21:52:47 -07:00
  • eb37458eb1 Merge branch 'master' of git://repo.or.cz/openal-soft Aaron Lindsay 2012-03-13 22:53:12 -04:00
  • 3b517bfa59 Initialize the default effect after opening the device Chris Robinson 2012-03-13 19:02:26 -07:00
  • e356527a88 Rename GetReverbEffect to LoadReverbPreset Chris Robinson 2012-03-13 15:48:51 -07:00
  • 07e34cc3cf Use enums to specify the default channel configuration and sample type Chris Robinson 2012-03-13 15:32:44 -07:00
  • f7f1dd1346 Initialize the default effect when opening the device and update it with the other effect slots Chris Robinson 2012-03-13 15:07:38 -07:00
  • 92ccacdc77 Pass the device to InitializeEffect and return the error enum from it Chris Robinson 2012-03-13 14:58:34 -07:00
  • b5ed2a5351 Pass a device to the effect update functions Chris Robinson 2012-03-13 14:49:58 -07:00
  • 55c5e4fe92 Rename ForcedEffect to DefaultEffect Chris Robinson 2012-03-13 14:38:09 -07:00
  • 3b165809cc Minor coreaudio fix, and make sure to set the device name Chris Robinson 2012-03-13 13:48:42 -07:00
  • 5c59e6e704 Try to ensure the full mmdevapi buffer is used Chris Robinson 2012-03-13 01:39:57 -07:00
  • ef2f237276 Try to ensure at least 2 mmdevapi updates Chris Robinson 2012-03-13 01:35:31 -07:00
  • 0af14c7a11 Try to find a multiple of mmdevapi's period size nearest to the wanted update size Chris Robinson 2012-03-13 01:32:15 -07:00
  • 8ef777ebbe Restore the FPU mode in an error path Chris Robinson 2012-03-12 23:58:12 -07:00
  • 305d790a19 Revert the default stereo layout back to -90 and +90 degrees Chris Robinson 2012-03-12 22:49:10 -07:00
  • 1f3c1091d3 Finalize AL_SOFT_direct_channels Chris Robinson 2012-03-12 22:46:13 -07:00
  • 663b43f4f1 Attempted fix for the coreaudio backend Chris Robinson 2012-03-12 21:58:40 -07:00
  • 3e0cf0f239 Simply (hopefuly) the explanation about the HRIR set ordering Chris Robinson 2012-03-12 18:42:21 -07:00
  • 560f34e3df Channel angle is already in radians, not degrees Chris Robinson 2012-03-12 18:29:46 -07:00
  • 335232207d With DirectChannels enabled, don't try to mix channels that have no matching output Chris Robinson 2012-03-12 18:27:25 -07:00
  • 93e71f0554 Some HRTF clarifications Chris Robinson 2012-03-12 17:54:16 -07:00
  • 0efbf7bc9e Fix typo Chris Robinson 2012-03-12 17:15:44 -07:00
  • 3daaa078fb Add a note about the HRTF data being minimum-phase reconstructed Chris Robinson 2012-03-12 17:14:42 -07:00
  • 647448a32b Reset HAVE_MMDEVAPI before checking the backends Chris Robinson 2012-03-12 15:33:56 -07:00
  • f7a8e3db35 Don't assume the calculated HRTF delta for the gain difference is less than 1 Chris Robinson 2012-03-12 13:31:19 -07:00
  • 7747c320a8 Remove an unused property key definition Chris Robinson 2012-03-12 12:56:52 -07:00
  • ebc69bc870 Minor corrections to the hrtf.txt Chris Robinson 2012-03-12 00:58:14 -07:00
  • 10e2b7ecbf Document the hrtf_tables config option Chris Robinson 2012-03-11 19:29:19 -07:00
  • 842a698f2b Add a text file explaining OpenAL Soft's HRTF support and data file format Chris Robinson 2012-03-11 19:27:40 -07:00
  • f5f519aa80 Properly make the source velocity relative to the listener velocity Chris Robinson 2012-03-09 23:53:45 -08:00
  • 7db29a2332 Clamp the upper and lower bound of the doppler velocity scale more like the original Chris Robinson 2012-03-09 22:38:26 -08:00
  • 6e70ae9958 The listener velocity is specified in world coordinates, too Chris Robinson 2012-03-08 18:27:05 -08:00
  • e190fc9416 Refactor the doppler shift calculations Chris Robinson 2012-03-08 18:19:15 -08:00
  • 1a4a0abd1a Pin the DLL for Windows Chris Robinson 2012-03-08 17:42:16 -08:00
  • dddacc25a5 Store a duplicate of the mmdevapi device ID Chris Robinson 2012-03-06 13:15:55 -08:00
  • 2ba2da467c Add a comment explaining the pulseaudio prop_filter Chris Robinson 2012-03-06 12:01:15 -08:00
  • f2b64fd111 Update the ALCdevice in winmm's reset method instead of open Chris Robinson 2012-03-06 10:14:05 -08:00
  • 6623f69476 Mark the device as running for capture, too Chris Robinson 2012-03-05 15:06:16 -08:00
  • db36574667 Hold the list lock while calling the backend Chris Robinson 2012-03-05 14:53:25 -08:00
  • 3131104595 Filter out a couple pulseaudio stream properties by setting them to 0-length data Chris Robinson 2012-03-05 13:00:51 -08:00
  • f64bdc4bd4 Returned pa_operations can be NULL Chris Robinson 2012-03-05 08:37:50 -08:00
  • fe6e532c87 Use a separate backend callback to start playback of the device Chris Robinson 2012-03-05 07:11:09 -08:00
  • 5cdeeb47f3 Avoid some uninitialized warnings Chris Robinson 2012-03-05 00:28:57 -08:00
  • bc1bb7f90f Print and handle errors from pa_stream_readable_size Chris Robinson 2012-03-05 00:11:28 -08:00
  • 0f0141b9dd Set prebuf to 0 since we're handling the stream start manually Chris Robinson 2012-03-04 09:24:07 -08:00
  • 302c08a14b Enforce range limits on periods and period_size. Chris Robinson 2012-03-04 05:44:37 -08:00
  • b643f13a6e Make sure the pulse stream is properly started and better handle buffer size changes Chris Robinson 2012-03-04 05:30:42 -08:00
  • 487d05a73e Invert a nested loop Chris Robinson 2012-03-03 10:31:27 -08:00
  • 91ed077eba Handle BS2B cross-feed right after click removal Chris Robinson 2012-03-03 09:41:16 -08:00
  • 49433c2074 Slight correction for handling the wave writer backend's timer wrapping Chris Robinson 2012-03-03 08:50:15 -08:00
  • a93ff6ef3c Slight correction for handling the null backend's timer wrapping Chris Robinson 2012-03-03 08:47:23 -08:00
  • 44e10c4f69 Remove some unneeded pulseaudio calls Chris Robinson 2012-03-02 09:46:36 -08:00
  • 7a832c4522 Don't unload libpulse Chris Robinson 2012-03-02 09:27:30 -08:00
  • 7d0faba424 Remove some unneeded markers Chris Robinson 2012-03-02 09:08:17 -08:00
  • 01d942628b Set prebuf to the expected buffer size Chris Robinson 2012-03-02 05:38:11 -08:00
  • 2a9012c94d Don't rely on PulseAudio to wake us up using early requests Chris Robinson 2012-03-02 04:51:29 -08:00
  • b571926a6d Avoid a leak if PortAudio fails to give a usable channel count Chris Robinson 2012-03-02 02:14:04 -08:00
  • f784aa704d Make sure the device gets stopped when closing even if there's no contexts Chris Robinson 2012-03-02 00:10:24 -08:00
  • 153affac12 Recalculate the new update size using the device's UpdateSize Chris Robinson 2012-03-02 00:08:56 -08:00
  • e5d365a3d9 Avoid an unnecessary doCapture check Chris Robinson 2012-03-01 20:47:49 -08:00
  • 6ffaabeb75 Update the layout config option names Chris Robinson 2012-03-01 10:06:55 -08:00
  • 06debb153d Fix a memory leak Chris Robinson 2012-03-01 09:56:25 -08:00
  • 51e6786f31 Set the func list after successfully connecting to PulseAudio Chris Robinson 2012-03-01 09:22:37 -08:00
  • 50ef19720d Make alcLoopbackOpenDeviceSOFT take a standard "device" name for a parameter Chris Robinson 2012-03-01 08:30:21 -08:00
  • db4d62d17c Print out a more descriptive name for the opened device in openal-info Chris Robinson 2012-03-01 06:59:51 -08:00
  • 8d24bd720f Don't use GUIDs to ID mmdevapi devices, and don't enumerate if not needed Chris Robinson 2012-03-01 06:07:00 -08:00
  • 55556f0e6c Avoid enumerating when opening the default ALSA device Chris Robinson 2012-03-01 04:58:28 -08:00
  • 7d9cabebff Use NULL to open the default PulseAudio device, and get the actual device name from the stream Chris Robinson 2012-03-01 04:37:40 -08:00
  • 9602c46809 Move some function definitions down Chris Robinson 2012-03-01 04:12:47 -08:00
  • 85daab0d5e Don't define lib handles when dynamic loading is disabled Chris Robinson 2012-03-01 03:37:06 -08:00
  • 105faa1935 Only support PA_API_VERSION 12 Chris Robinson 2012-03-01 03:24:49 -08:00
  • b299b90964 Update the stored buffer attributes if PulseAudio changes it Chris Robinson 2012-03-01 03:09:15 -08:00
  • 346f1ac293 Don't allow the PulseAudio stream to move Chris Robinson 2012-03-01 02:52:32 -08:00
  • 6e113eea89 Don't force a sample spec when looking for the default device Chris Robinson 2012-03-01 01:34:49 -08:00
  • 54f906b347 Don't check if the pulseaudio sink is suspended when opening Chris Robinson 2012-03-01 01:19:07 -08:00
  • 4b252bc494 Constify a couple string pointers Chris Robinson 2012-03-01 01:03:37 -08:00
  • b192165fb4 Look for and enumerate the default PulseAudio source first Chris Robinson 2012-02-29 23:52:10 -08:00
  • f887f4efdd Use a separate function to create and connect a PulseAudio record stream Chris Robinson 2012-02-29 23:46:30 -08:00
  • b37e54eead Look for and enumerate the default PulseAudio sink first Chris Robinson 2012-02-29 23:35:01 -08:00
  • ea4f458c1d Avoid enumerating multiple devices with the same name Chris Robinson 2012-02-29 23:20:37 -08:00
  • 394c76d64f Avoid passing the ALCdevice to connect_playback_stream Chris Robinson 2012-02-29 23:13:09 -08:00
  • d34fc21a50 Print the enumerated devices from PulseAudio Chris Robinson 2012-02-29 22:31:51 -08:00
  • f5435aa2de Minor cleanups for OSS and Solaris Chris Robinson 2012-02-29 21:45:44 -08:00
  • e88f954cbf Allow reading audio from ALSA directly if the requested length is supported Chris Robinson 2012-02-29 10:01:45 -08:00
  • fe897f291b Don't store the frame size with pulse_data Chris Robinson 2012-02-29 06:51:21 -08:00
  • fbb6239299 Read capture data from pulseaudio as needed, avoiding a ring buffer Chris Robinson 2012-02-29 05:57:54 -08:00
  • ae1633497c Get and release the mmdevapi render client iface on the message thread Chris Robinson 2012-02-29 05:54:58 -08:00
  • 00b0e64bd2 Use local variables to determine how much to write to mmdevapi Chris Robinson 2012-02-29 00:32:20 -08:00