Chris Robinson
|
26127cd2f2
|
Use a long single buffer for WaveIn's capture buffers
|
2010-07-12 16:37:44 -07:00 |
|
Chris Robinson
|
42d9140afe
|
Check the buffer's original format when queueing on a source
|
2010-07-12 15:53:11 -07:00 |
|
Chris Robinson
|
52ad28df92
|
Fix WaveIn device cleanup order
|
2010-07-08 17:37:35 -07:00 |
|
Chris Robinson
|
58ba5fd0dd
|
Add missing static keyword to WinMM vars
|
2010-07-08 15:10:59 -07:00 |
|
Chris Robinson
|
71cc91cc4a
|
Use the existing ring buffer methods for WaveIn
|
2010-07-07 02:47:29 -07:00 |
|
Chris Robinson
|
6db3463d17
|
Fix backslash alignment for the single-channel mixer macro
|
2010-07-06 16:32:58 -07:00 |
|
Chris Robinson
|
969818db6f
|
Use a 100ms capture buffer minimum for PulseAudio, with 50ms fragments
This better matches what is given with the WaveIn backend
|
2010-07-04 16:27:42 -07:00 |
|
Chris Robinson
|
d4b191d27d
|
Avoid retrying the requested ALSA format after it failed
|
2010-07-04 15:48:47 -07:00 |
|
Chris Robinson
|
6b23f2dfa3
|
snd_pcm_recover should automatically re-prepare the stream as needed
|
2010-06-16 02:17:41 -07:00 |
|
Chris Robinson
|
17e6840f92
|
Prevent multiple WinMM devices from getting the same name, as well
|
2010-06-10 15:54:04 -07:00 |
|
Chris Robinson
|
a1f987c016
|
Improve handling of lost DirectSound buffers
|
2010-06-09 23:32:35 -07:00 |
|
Chris Robinson
|
cff805e0a3
|
Prevent multiple DirectSound devices from getting the same name, too
|
2010-06-09 23:11:34 -07:00 |
|
Chris Robinson
|
25a941666a
|
Prevent multiple PulseAudio devices from getting the same name
|
2010-06-09 18:22:05 -07:00 |
|
Chris Robinson
|
8c59849ea4
|
Make sure the log file is set before initializing the rest of the lib
|
2010-06-08 02:02:48 -07:00 |
|
Chris Robinson
|
f9e569099c
|
Make the Wave Writer backend optional
|
2010-06-08 02:01:11 -07:00 |
|
Chris Robinson
|
6fd6e4eacf
|
Remove unused variable
|
2010-06-07 03:49:21 -07:00 |
|
Chris Robinson
|
ce07270973
|
Remove support for the old 'refresh' config option
|
2010-06-06 00:53:29 -07:00 |
|
Chris Robinson
|
ac05863f72
|
Make sure the effectslot map is properly initialized
|
2010-06-06 00:21:13 -07:00 |
|
Chris Robinson
|
7f6df7695c
|
Use an array of active sources when mixing
Prevents iterating over all allocated sources during mixing updates
|
2010-06-06 00:17:50 -07:00 |
|
Chris Robinson
|
ed58571079
|
Use non-blocking mode for ALSA capture
|
2010-06-05 19:56:58 -07:00 |
|
Chris Robinson
|
80fbe8a788
|
Allow prepending backend names with - to remove them from the available devices
|
2010-06-05 19:33:06 -07:00 |
|
Chris Robinson
|
0fdec056fa
|
Improve error recovery when capturing from ALSA
|
2010-06-05 17:41:33 -07:00 |
|
Chris Robinson
|
1915fe831f
|
Read capture data from ALSA when querying the available sample count
|
2010-06-05 04:43:26 -07:00 |
|
Chris Robinson
|
98c01a40e6
|
Improve locking when calling the backend capture API
|
2010-06-05 04:42:05 -07:00 |
|
Chris Robinson
|
33234d605a
|
Don't attempt to look for more samples from Pulse after a disconnect
|
2010-06-05 00:09:45 -07:00 |
|
Chris Robinson
|
c6defe9a6d
|
Read PulseAudio's capture data into the ring buffer when querying the sample count
This ensures we have all the samples available that the app knows about
|
2010-06-04 00:27:31 -07:00 |
|
Chris Robinson
|
244daba501
|
Don't overwrite data when the ring buffer overflows
|
2010-06-04 00:24:23 -07:00 |
|
Chris Robinson
|
43dadcd9e4
|
Use a UIntMap for the Databuffers
|
2010-06-03 19:35:08 -07:00 |
|
Chris Robinson
|
90db244b5f
|
Skip mixing after checking looping validity
|
2010-06-03 03:58:04 -07:00 |
|
Chris Robinson
|
e98f1205e5
|
Increase the temp buffer sizes to construct device names with
|
2010-05-31 19:04:41 -07:00 |
|
Chris Robinson
|
2205f91e5f
|
Fix Pulse mainloop handling for device probing
|
2010-05-31 19:02:20 -07:00 |
|
Chris Robinson
|
da1dee351d
|
Update device naming to be more apparent about the device being used
|
2010-05-31 19:00:33 -07:00 |
|
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 |
|