Chris Robinson
|
694e9a5fec
|
Always add the default PulseAudio device when probing
|
2010-05-30 23:04:04 -07:00 |
|
Chris Robinson
|
9ac5d8ad2d
|
List all available PulseAudio sources
|
2010-05-30 21:05:05 -07:00 |
|
Chris Robinson
|
706b9f2357
|
Probe and expose all available PulseAudio sinks for the enumerate_all extension
|
2010-05-30 20:33:57 -07:00 |
|
Chris Robinson
|
55b3675dee
|
Add a separate function to create/connect a pulseaudio context
|
2010-05-30 19:05:19 -07:00 |
|
Chris Robinson
|
dc86563486
|
Pass the threaded main loop object to context/stream_state_callback
|
2010-05-30 18:19:01 -07:00 |
|
Chris Robinson
|
ebccfa93c3
|
Don't unload libs when they're not needed
Some libs don't really like being unloaded and reloaded all the time, and the
benefits aren't that great
|
2010-05-28 23:00:59 -07:00 |
|
Chris Robinson
|
e9f4576d4d
|
Watch for changes to the PulseAudio sink device
|
2010-05-28 17:03:57 -07:00 |
|
Chris Robinson
|
880902fecc
|
Add a Null Output device
This device will mix and fully process contexts as normal
|
2010-05-28 16:41:52 -07:00 |
|
Chris Robinson
|
96cf5b7282
|
Avoid constantly loading and unloading PortAudio
It seems this triggers a bug in the lib, causing a crash. It may not be a bad
idea to remove dynamic unloading/reloading all through-out.
|
2010-05-28 02:22:17 -07:00 |
|
Chris Robinson
|
f89c9f7ea4
|
Connect a pulse stream on device open, to make sure the device isn't suspended
Also use the opportunity to get the stream's device's name, so later reset
calls will use the same device
|
2010-05-27 22:12:54 -07:00 |
|
Chris Robinson
|
27a4c871fd
|
Update head dampening after a device reset
|
2010-05-26 23:36:55 -07:00 |
|
Chris Robinson
|
37190b2caf
|
Add a function to get the frame size from a format
|
2010-05-24 21:51:30 -07:00 |
|
Chris Robinson
|
c6b948323e
|
Better watch for invalid values in alBufferSubDataEXT
|
2010-05-24 21:33:43 -07:00 |
|
Chris Robinson
|
ad2957ed98
|
Reduce the mixing buffer size
|
2010-05-24 20:10:35 -07:00 |
|
Chris Robinson
|
c469bfcb9e
|
Make error checking consistent in alBuffer.c
|
2010-05-24 19:52:27 -07:00 |
|
Chris Robinson
|
3d16be1822
|
Fix alBufferiv error handling
|
2010-05-24 19:02:36 -07:00 |
|
Chris Robinson
|
ad10d4ee74
|
Increment pointer when read
|
2010-05-24 17:40:16 -07:00 |
|
Chris Robinson
|
3ba3c1ca31
|
Pass the number of blocks to ConvertDataIMA4
|
2010-05-24 17:31:49 -07:00 |
|
Chris Robinson
|
4ad28964de
|
Be careful of integer overflows when allocating buffer storage
|
2010-05-24 17:08:12 -07:00 |
|
Chris Robinson
|
15ce7fb8f7
|
Cleanup some variables and names
|
2010-05-24 03:28:00 -07:00 |
|
Chris Robinson
|
80a22b6484
|
Reorder some error checks and watch for negative buffer sizes
|
2010-05-24 03:20:14 -07:00 |
|
Chris Robinson
|
8cfac7c6b8
|
Don't bother storing the loop points in the source
|
2010-05-24 01:07:13 -07:00 |
|
Chris Robinson
|
9ac6b4c2c8
|
Be big endian safe with the IMA4 decoder
|
2010-05-22 15:37:32 -07:00 |
|
Chris Robinson
|
861a933b7b
|
Use the ALSOFT_LOGFILE env var to specify the output for AL_PRINT
|
2010-05-21 18:16:27 -07:00 |
|
Chris Robinson
|
58e5404d61
|
Loop points should be specified in sample offsets
|
2010-05-21 15:52:35 -07:00 |
|
Chris Robinson
|
3676fdc4db
|
Add mono and stereo channel masks for DSound output
|
2010-05-21 14:12:09 -07:00 |
|
Chris Robinson
|
e7a555a953
|
Add an empty efx-creative.h header
This is for compatibility with projects that include it in Windows. Everything
from it is already defined in efx.h.
|
2010-05-21 11:21:35 -07:00 |
|
Chris Robinson
|
1e6ba29cd2
|
Consistency fix
|
2010-05-19 11:06:13 -07:00 |
|
Chris Robinson
|
c5c83882b3
|
Use unsigned types when finding the source offsets
|
2010-05-19 10:38:28 -07:00 |
|
Chris Robinson
|
ea3bc0518c
|
A couple formatting fixes
|
2010-05-19 10:36:24 -07:00 |
|
Chris Robinson
|
2d46a1001e
|
Use a map for the filter list
|
2010-05-18 17:54:45 -07:00 |
|
Chris Robinson
|
4edd7fe647
|
Use a map for the effects list
|
2010-05-18 17:41:06 -07:00 |
|
Chris Robinson
|
ad5dfab428
|
Improve compatbility with latest AL_EXT_buffer_sub_data spec
|
2010-05-18 17:15:21 -07:00 |
|
Chris Robinson
|
85838c1d57
|
Define ARGSTACK and CALLSTACK only when needed for testing shared libs
|
2010-05-16 08:03:05 -07:00 |
|
Chris Robinson
|
4fbb3ccf66
|
Always look for winmm under Windows
It's needed for timeGetTime, even if the WinMM backend is disabled
|
2010-05-16 07:52:43 -07:00 |
|
Chris Robinson
|
7f533c6a25
|
Change inline -> __inline for MSVC
|
2010-05-16 06:02:27 -07:00 |
|
Chris Robinson
|
6dab9d54d1
|
Use the loop start when filling in padding data for looping sources
|
2010-05-13 06:52:44 -07:00 |
|
Chris Robinson
|
7ed5d12717
|
Pay attention to the source loop points
|
2010-05-13 04:53:21 -07:00 |
|
Chris Robinson
|
23b2c1f902
|
Only use a modulo to loop when the source is static
|
2010-05-13 02:12:50 -07:00 |
|
Chris Robinson
|
5d579dd1a8
|
Store loop points as uncompressed frame offsets in the source when a buffer is attached
|
2010-05-13 02:10:33 -07:00 |
|
Chris Robinson
|
0ce138341c
|
Add initial structural support for AL_EXT_loop_points
|
2010-05-13 02:03:48 -07:00 |
|
Chris Robinson
|
61b682131e
|
Reduce some indentation
|
2010-05-12 07:30:45 -07:00 |
|
Chris Robinson
|
a53e3dda75
|
Don't needlessly expose a variable for the backends
|
2010-05-12 07:27:12 -07:00 |
|
Chris Robinson
|
2220c22c90
|
Move incomplete extension declarations to alMain.h
|
2010-05-12 06:59:47 -07:00 |
|
Chris Robinson
|
e3a70e5021
|
Scale output of effects to compensate for device down-mixing
|
2010-05-12 04:56:03 -07:00 |
|
Chris Robinson
|
af4faaf666
|
Use a UIntMap for the effect slot list
|
2010-05-12 02:20:14 -07:00 |
|
Chris Robinson
|
f2548570b8
|
Store the buffer's original data size and block alignment
|
2010-05-12 01:36:09 -07:00 |
|
Chris Robinson
|
d678f1d88b
|
Store looping locally when mixing a source
|
2010-05-12 00:38:04 -07:00 |
|
Chris Robinson
|
f0ce1bff3e
|
Simplify and fix applying a source offset
|
2010-05-11 11:59:41 -07:00 |
|
Chris Robinson
|
ab3c23478d
|
Use a separate function to convert compressed bytes to frames
|
2010-05-11 11:06:48 -07:00 |
|