aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/pulseaudio.c
Commit message (Collapse)AuthorAgeFilesLines
* Prevent getting bad time values when pa_stream_get_time failsChris Robinson2010-08-021-4/+9
| | | | Also makes sure that reported time won't go backwards
* Make sure to request a tlength that's at least minreq*2Chris Robinson2010-08-021-1/+6
| | | | And warn if Pulse returns a minreq that's too large
* Be a bit more verbose when a device fails to openChris Robinson2010-08-011-0/+1
|
* Use Pulse's stream time for the device timeChris Robinson2010-07-311-3/+19
|
* Only call Pulse functions from under a lockChris Robinson2010-07-311-3/+3
|
* Signal the Pulse mainloop on underrunsChris Robinson2010-07-301-0/+14
| | | | | | Otherwise there are (rare) risks of not getting signaled after writing the amount of free audio data the client knows about, leading to a mixer loop lockup
* Store the time precision with the deviceChris Robinson2010-07-251-0/+3
|
* Add a backend callback to get the device timeChris Robinson2010-07-241-1/+8
| | | | | The method should monotonically count the number of nanoseconds the device has active contexts
* Make killNow volatileChris Robinson2010-07-241-1/+1
|
* Update PulseAudio using period-sized chunksChris Robinson2010-07-171-32/+86
| | | | To match the behavior of other backends
* Use a 100ms capture buffer minimum for PulseAudio, with 50ms fragmentsChris Robinson2010-07-041-3/+5
| | | | This better matches what is given with the WaveIn backend
* Prevent multiple PulseAudio devices from getting the same nameChris Robinson2010-06-091-6/+36
|
* Don't attempt to look for more samples from Pulse after a disconnectChris Robinson2010-06-051-6/+2
|
* Read PulseAudio's capture data into the ring buffer when querying the sample ↵Chris Robinson2010-06-041-44/+18
| | | | | | count This ensures we have all the samples available that the app knows about
* Increase the temp buffer sizes to construct device names withChris Robinson2010-05-311-1/+1
|
* Fix Pulse mainloop handling for device probingChris Robinson2010-05-311-3/+1
|
* Update device naming to be more apparent about the device being usedChris Robinson2010-05-311-4/+4
|
* Always add the default PulseAudio device when probingChris Robinson2010-05-301-12/+15
|
* List all available PulseAudio sourcesChris Robinson2010-05-301-17/+98
|
* Probe and expose all available PulseAudio sinks for the enumerate_all extensionChris Robinson2010-05-301-23/+134
|
* Add a separate function to create/connect a pulseaudio contextChris Robinson2010-05-301-37/+41
|
* Pass the threaded main loop object to context/stream_state_callbackChris Robinson2010-05-301-9/+7
|
* Don't unload libs when they're not neededChris Robinson2010-05-281-29/+10
| | | | | Some libs don't really like being unloaded and reloaded all the time, and the benefits aren't that great
* Watch for changes to the PulseAudio sink deviceChris Robinson2010-05-281-0/+17
|
* Connect a pulse stream on device open, to make sure the device isn't suspendedChris Robinson2010-05-271-71/+98
| | | | | Also use the opportunity to get the stream's device's name, so later reset calls will use the same device
* Add a function to get the frame size from a formatChris Robinson2010-05-241-4/+2
|
* Change inline -> __inline for MSVCChris Robinson2010-05-161-2/+2
|
* Disable PulseAudio's write callback when disconnectingChris Robinson2010-04-171-0/+1
|
* Set the buffer length for Pulse when opening the deviceChris Robinson2010-03-141-4/+10
| | | | So it will properly scale with context frequency requests
* Pulse's buffer size is not a good measurement for the update sizeChris Robinson2010-03-141-2/+4
| | | | Lie and say 20ms instead, since there is no stable method to get such info
* Limit PulseAudio's buffer size to the requested lengthChris Robinson2010-03-111-1/+2
|
* Silence some warningsChris Robinson2010-02-161-2/+2
|
* Avoid using periods with PulseAudio, and add an option to specify its buffer ↵Chris Robinson2010-02-071-12/+10
| | | | length
* Make sure all requested data gets written to PulseAudioChris Robinson2010-01-241-5/+7
|
* Use pa_channel_map_superset only when available with PulseAudio 0.9.15Chris Robinson2010-01-221-4/+13
| | | | pa_channel_map_equal can otherwise detect some compatible output modes
* Suppress connection refused errorsChris Robinson2010-01-081-2/+3
| | | | Since that just typically means the server isn't running
* Adjust PulseAudio's capture latencyChris Robinson2009-12-301-1/+3
|
* Store ALC errors with the device when possibleChris Robinson2009-12-281-1/+1
|
* Add a function to check if a config option is set to a non-empty valueChris Robinson2009-12-281-2/+2
|
* Add an option to spawn a PulseAudio server on requestChris Robinson2009-12-281-1/+6
|
* Be more lenient in signaling the mainloopChris Robinson2009-12-281-10/+7
|
* Try to find a compatible format from Pulse's default sinkChris Robinson2009-12-271-3/+90
|
* A NULL Pulse context won't have a valid error codeChris Robinson2009-12-261-2/+1
|
* Wait for the buffer attrib update from pulse to finishChris Robinson2009-12-261-1/+4
|
* Consolidate pulse capture failure pathChris Robinson2009-12-261-24/+14
|
* Make sure a proper channel map is set for pulse captureChris Robinson2009-12-261-1/+11
|
* Clean up some loading checksChris Robinson2009-12-261-10/+9
|
* Shorten a long lineChris Robinson2009-12-261-1/+5
|
* Capture as much as possible directly from PulseAudioChris Robinson2009-12-251-36/+84
|
* Add missing newlineChris Robinson2009-12-251-1/+1
|