aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/pulseaudio.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename the ERROR macro to ERRChris Robinson2011-07-131-29/+29
|
* Use the logging macros in the pulseaudio backendChris Robinson2011-07-101-29/+29
|
* Use a Lock/UnlockDevice function instead of locking a NULL contextChris Robinson2011-07-061-2/+2
|
* Rename Suspend/ProcessContext since they are locking a mutexChris Robinson2011-06-301-2/+2
|
* Remove some unneeded includesChris Robinson2011-06-141-3/+0
|
* Avoid using function pointers directly in the PulseAudio backendChris Robinson2011-06-141-299/+339
| | | | Also, switch to the lib wrapper functions
* Use a proper enum for the probe typeChris Robinson2011-06-141-51/+50
|
* Add a 5.1 device format that uses side channels instead of backChris Robinson2011-05-281-0/+2
|
* Make some declarations static or static constChris Robinson2011-05-211-1/+1
|
* Add a device flag for channel config requestsChris Robinson2011-05-031-1/+1
|
* Add a frequency-request device flagChris Robinson2011-05-031-1/+5
|
* Be silent if the PulseAudio context fails to connect while probingChris Robinson2011-04-301-5/+6
|
* Add a missing enum value for PA_API_VERSION 11Chris Robinson2011-02-071-0/+1
|
* Separate device format into 'channel config' and 'sample type' componentsChris Robinson2010-12-041-26/+29
|
* Get rid of the device timer stuffChris Robinson2010-11-211-28/+1
|
* Improve a warning messageChris Robinson2010-08-041-1/+1
|
* Prevent re-probing while opening a Pulse device if no devices were foundChris Robinson2010-08-041-2/+5
|
* Only except a NULL device name for Pulse if some devices were foundChris Robinson2010-08-041-9/+9
|
* Do not enumerate PulseAudio devices if a context fails to connectChris Robinson2010-08-041-16/+37
|
* pa_context_errno can return a positive valueChris Robinson2010-08-041-0/+1
|
* 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