Chris Robinson
dd82b68175
Handle source offsets for muLaw formats
2010-03-17 15:15:12 -07:00
Chris Robinson
05a081a7b8
Allow selecting databuffer 0
2010-03-17 14:04:25 -07:00
Chris Robinson
9c417d33cc
clock_gettime is available only when _POSIX_TIMERS is greater than 0
2010-03-17 12:04:33 -07:00
Chris Robinson
975f92fc84
Remove unnecessary stop call
2010-03-16 21:29:55 -07:00
Chris Robinson
0097beb84c
Remove unused variable
2010-03-16 21:12:36 -07:00
Chris Robinson
65e16cc8bb
Remove unneeded checks
2010-03-16 20:29:01 -07:00
Chris Robinson
2687155200
Get rid of more alIs* calls
2010-03-16 20:23:46 -07:00
Chris Robinson
49321961e8
Effect and filter ID 0 is valid
2010-03-16 19:14:05 -07:00
Chris Robinson
65f43637ce
Avoid some alIs* calls while under the context lock
...
Instead, use functions that verify the ID by searching the object list and
returning its handle
2010-03-16 18:54:36 -07:00
Chris Robinson
f37cfc486d
Pass the context to alSetError
2010-03-16 17:35:51 -07:00
Chris Robinson
a337a59fb8
Use alext.h for extension definitions
2010-03-16 16:25:30 -07:00
Chris Robinson
ec917e8e2f
Rename some struct members for consistency
2010-03-16 15:37:41 -07:00
Chris Robinson
89d84131a4
Avoid dereferencing a NULL buffer when unqueueing buffer 0
2010-03-15 16:10:21 -07:00
Chris Robinson
2033f60d24
Print an error when realloc fails
2010-03-15 14:28:38 -07:00
Chris Robinson
d4159430f0
Set the buffer length for Pulse when opening the device
...
So it will properly scale with context frequency requests
2010-03-14 22:20:55 -07:00
Chris Robinson
14255a38fc
Pulse's buffer size is not a good measurement for the update size
...
Lie and say 20ms instead, since there is no stable method to get such info
2010-03-14 21:45:23 -07:00
Chris Robinson
6c5f1b78d7
Reduce the mixing buffers to the next power of two
2010-03-14 03:30:42 -07:00
Chris Robinson
1f2d3a0132
Remove duplication of setting source angles
2010-03-14 03:23:18 -07:00
Chris Robinson
c23e4ed412
Add support for AL_EXT_DOUBLE
2010-03-13 21:32:45 -08:00
Chris Robinson
8c0118e7ae
Add support for AL_EXT_MULAW_MCFORMATS
2010-03-13 21:03:34 -08:00
Chris Robinson
9d4107a515
Add AL_EXT_MULAW_MCFORMATS tokens to alext.h
2010-03-13 18:39:12 -08:00
Chris Robinson
d07b9c2c11
Rewrite openal-info
...
Output is mostly unchanged, however there are differences. Device-specific info
(including context-specific info) is separated from NULL-device queries, and
there is now a distinction between ALC versions of the NULL device and the
opened device. Additionally, an alternate playback device can be queried by
specifying its name as the first parameter.
2010-03-13 18:03:01 -08:00
Chris Robinson
3108a6a997
Limit PulseAudio's buffer size to the requested length
2010-03-11 09:47:26 -08:00
Chris Robinson
b734cab6fc
Fix the retrieval of the RW offsets using the correct functions
2010-03-10 07:33:30 -08:00
Chris Robinson
08b1bed38b
Remove a couple incorrect comments
2010-03-10 07:16:53 -08:00
Chris Robinson
df6320eb0a
Remove duplicate copyright notice
2010-03-09 11:25:34 -08:00
Chris Robinson
80f1ec0d7e
Protect some capture calls with a mutex
2010-03-09 10:14:52 -08:00
Chris Robinson
98f4f5a4f0
Add EFX types and enums to alext.h
...
The types and enums are in efx.h, which is included by alext.h. It's done this
way because EFX has a lot if definitions which would polute alext.h
2010-03-09 09:28:22 -08:00
Chris Robinson
8feb089f5c
Build device lists only when needed
2010-03-09 06:09:29 -08:00
Chris Robinson
2ba3a88ace
Probe physical devices separately from appending them to the device list
2010-03-09 05:44:18 -08:00
Chris Robinson
1f10195c47
Use powf when available
2010-03-07 22:12:33 -08:00
Chris Robinson
dc40702b53
Remove unused source param count macro
2010-03-07 21:48:25 -08:00
Chris Robinson
a9e0e57797
Keep UpdateSize updated when apps request a frequency
2010-02-24 18:51:57 -08:00
Chris Robinson
9b47048231
Silence some warnings
2010-02-16 05:44:39 -08:00
Chris Robinson
c05a3d3549
Better handle run-time linking
2010-02-16 05:43:36 -08:00
Chris Robinson
2083884ae3
Properly check for functions in Win32 shared libs
2010-02-16 05:36:49 -08:00
Chris Robinson
2f644c7ed5
Constify some globals
2010-02-15 22:01:23 -08:00
Chris Robinson
d17c4a098c
Avoid probing for devices on lib initialization
2010-02-10 16:34:43 -08:00
Chris Robinson
96303893bc
Set ALSA playback buffer and period size based on time
...
So rate adjustments won't modify the latency
2010-02-08 17:42:44 -08:00
Chris Robinson
a329f9c84a
Fix retrieval of the current global context when changing it
2010-02-08 16:58:26 -08:00
Chris Robinson
fc96e965ae
Always disable ALSA's resampler for playback
...
This means the frequency config option won't have an effect if the ALSA device
can't set an alternate sampling rate
2010-02-08 16:38:53 -08:00
Chris Robinson
365a62d63a
Improve source write offset calculations
2010-02-07 20:11:24 -08:00
Chris Robinson
3a87c3c3ba
Avoid using periods with PulseAudio, and add an option to specify its buffer length
2010-02-07 19:29:48 -08:00
Chris Robinson
54dc26b145
Enable the WinMM backend only if the lib check succeeds
2010-02-05 12:07:51 -08:00
Chris Robinson
78c1629aeb
Disable ALSA's resampler when no specific output rate is requested
2010-02-05 11:45:17 -08:00
Chris Robinson
bd518ed264
Make sure all requested data gets written to PulseAudio
2010-01-24 00:03:23 -08:00
Chris Robinson
56379bffac
Use pa_channel_map_superset only when available with PulseAudio 0.9.15
...
pa_channel_map_equal can otherwise detect some compatible output modes
2010-01-22 21:20:08 -08:00
Chris Robinson
11d7a0e394
Specify the buffer size to ALSA, so the period count remains flexible
...
Under conditions where the period size is fixed (such as dmix), ALSA will still
attempt to provide the requested number of periods even if the requested period
size needs to be dramatically altered. In these cases, it would be better to
increase or decrease the period count, instead of growing or shrinking the
total buffer size and significantly changing the latency.
2010-01-20 01:19:32 -08:00
Chris Robinson
3ad86a1c1b
Release 1.11.753
2010-01-17 17:46:27 -08:00
Chris Robinson
931f5875cd
Fix speaker angle fixup
2010-01-12 09:11:46 -08:00