Chris Robinson
|
2cbdffab86
|
Create the ALSA capture ring buffer with the proper size
|
2009-09-21 02:14:32 -07:00 |
|
Chris Robinson
|
86eefdb2a8
|
Mix all pending periods at once instead of one at a time
|
2009-09-20 00:44:39 -07:00 |
|
Chris Robinson
|
750399ccd7
|
Let verify_state restore from an ALSA underrun
|
2009-09-20 00:40:23 -07:00 |
|
Chris Robinson
|
fb97ca6022
|
Remove left-over backend-specific period options
|
2009-09-16 23:29:32 -07:00 |
|
Chris Robinson
|
cbcaa54173
|
Store the number of periods in the device instead of the buffer size
Also keep all the fields in sync
|
2009-09-16 22:58:54 -07:00 |
|
Chris Robinson
|
94e3fca702
|
Remove unnecessary parameters, and rename methods
|
2009-09-16 00:24:44 -07:00 |
|
Chris Robinson
|
ffff104554
|
Restore the device frequency using the stream info
|
2009-09-16 00:08:11 -07:00 |
|
Chris Robinson
|
307a9dd1b2
|
Update the frequency with what the stream actually got set with
|
2009-09-15 23:14:14 -07:00 |
|
Chris Robinson
|
5dff8ea820
|
Properly terminate PortAudio when closing
|
2009-09-15 22:45:27 -07:00 |
|
Chris Robinson
|
49648fe22d
|
Make a GetConfigValueBool function and use it
|
2009-09-15 22:18:13 -07:00 |
|
Chris Robinson
|
9f037e8980
|
Pass the device to aluMixData
|
2009-09-15 19:30:27 -07:00 |
|
Chris Robinson
|
12f81bcbb9
|
Move the stereo-to-binaural filter to the device
|
2009-09-15 19:06:47 -07:00 |
|
Chris Robinson
|
6636131d3b
|
Pass the frame count to aluMixData
|
2009-09-15 18:19:00 -07:00 |
|
Chris Robinson
|
eeea9631ce
|
Split the source mixing loop into a separate function
Helps reduce the function size and indentation levels
|
2009-09-15 17:56:31 -07:00 |
|
Chris Robinson
|
5d1c3a0c63
|
Fix wave writer backend
|
2009-09-12 19:58:36 -07:00 |
|
Chris Robinson
|
396f2d6050
|
Mix the proper size for every update, and notify disconnects
|
2009-09-12 19:36:16 -07:00 |
|
Chris Robinson
|
e25b01c3a2
|
Start Solaris playback when a context is ready
|
2009-09-12 18:19:52 -07:00 |
|
Chris Robinson
|
d6d1dba3d2
|
Initialize OpenAL with a constructor call instead of first-use
|
2009-09-12 17:49:08 -07:00 |
|
Chris Robinson
|
8b36a9d121
|
Get rid of deinit code duplication
|
2009-09-12 17:29:35 -07:00 |
|
Chris Robinson
|
59ed9338d8
|
Add support for the in-progress ALC_EXT_thread_local_context extension
|
2009-09-12 16:45:46 -07:00 |
|
Chris Robinson
|
b444dea63b
|
Fix compilation for Windows
|
2009-08-28 06:33:59 -07:00 |
|
Chris Robinson
|
1816c8bd37
|
Make a copy of the default device name for the app
The pointer to it could otherwise change if the device list is rebuilt, which
would be bad if the app has it
|
2009-08-27 20:13:35 -07:00 |
|
Chris Robinson
|
c27948a7ee
|
Don't free a NULL handle
|
2009-08-27 19:01:12 -07:00 |
|
Chris Robinson
|
832dc8a585
|
Remove unnecessary vars and rework device name checks
|
2009-08-27 18:55:18 -07:00 |
|
Chris Robinson
|
bb121e68a6
|
Rebuild device lists when retrieving them
|
2009-08-27 06:09:33 -07:00 |
|
Chris Robinson
|
1ec26fd789
|
Dynamically allocate device lists
|
2009-08-27 03:55:36 -07:00 |
|
Chris Robinson
|
4ff4a7e3b9
|
Close some libs when deinitializing
|
2009-08-27 03:12:54 -07:00 |
|
Chris Robinson
|
6bb14e45ce
|
Store a copy of the device name in the device
|
2009-08-27 02:53:09 -07:00 |
|
Chris Robinson
|
45dc804819
|
Store copies of the device names in the individual backends
|
2009-08-27 01:47:41 -07:00 |
|
Chris Robinson
|
81db01ebf1
|
Add a method to deinitialize backends
|
2009-08-26 23:45:00 -07:00 |
|
Chris Robinson
|
06c576a945
|
Support disconnect for OSS and Solaris
|
2009-08-26 21:49:38 -07:00 |
|
Chris Robinson
|
929b025fd6
|
Support disconnect for ALSA playback and capture
As a consequence for capture, mmap is no longer supported. Later on, supporting
mmap capture to write directly into the ring buffer is a possibility.
|
2009-08-26 21:27:10 -07:00 |
|
Chris Robinson
|
7976de05a5
|
Add base support for ALC_EXT_disconnect
Individual backends need to be updated to handle disconnection events
|
2009-08-26 19:15:17 -07:00 |
|
Chris Robinson
|
276ee63b99
|
Define PATH_MAX if it isn't already
|
2009-08-19 12:59:40 -07:00 |
|
Chris Robinson
|
487f0dde75
|
Print source and auxiliary slot debug warnings from alcDestroyContext
|
2009-08-16 16:11:22 -07:00 |
|
Chris Robinson
|
462f27c129
|
Use a function to retrieve the current context in an already-locked state
This should help prevent race-conditions with a context being destroyed between
breing retrieved and locked
|
2009-08-16 14:09:23 -07:00 |
|
Chris Robinson
|
2d1191697a
|
Fix the Solaris backend
|
2009-08-16 13:16:41 -07:00 |
|
Chris Robinson
|
0b7eb9f118
|
Add in-progress working extension AL_EXTX_sample_buffer_object
|
2009-08-16 00:54:08 -07:00 |
|
Chris Robinson
|
dc26261065
|
Support 32-bit float output
|
2009-08-15 13:20:35 -07:00 |
|
Chris Robinson
|
9bea67fb1c
|
Use a function to convert float to unsigned byte
|
2009-08-15 11:33:38 -07:00 |
|
Chris Robinson
|
8246bc3418
|
Use a custom function to get the requested format
|
2009-08-15 10:32:54 -07:00 |
|
Chris Robinson
|
01e32b58da
|
Fix some size checks
|
2009-08-15 10:01:55 -07:00 |
|
Chris Robinson
|
9d05ff0468
|
Verify the device pointer is a valid device
|
2009-08-15 09:55:08 -07:00 |
|
Chris Robinson
|
510ccc7f17
|
Store the effect and filter lists in the device
|
2009-08-15 09:39:18 -07:00 |
|
Chris Robinson
|
43067ed2b8
|
Store the buffer list in the device
|
2009-08-15 09:14:08 -07:00 |
|
Chris Robinson
|
4e4c9aef15
|
Calculate the buffer size and frame size when needed
|
2009-08-14 13:08:25 -07:00 |
|
Chris Robinson
|
4031ee5ef0
|
Fix speaker override check
|
2009-08-14 07:27:19 -07:00 |
|
Chris Robinson
|
e079291202
|
Remove unnecessary function parameters
|
2009-08-13 19:36:14 -07:00 |
|
Chris Robinson
|
826c641668
|
Hold the lock while finding a capture device to open
|
2009-08-13 19:19:16 -07:00 |
|
Chris Robinson
|
6ae845fd9e
|
Don't let the device frequency change when PortAudio gets a new context
|
2009-08-13 17:13:37 -07:00 |
|