aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Add a comment explaining the pulseaudio prop_filterChris Robinson2012-03-061-0/+4
|
* Update the ALCdevice in winmm's reset method instead of openChris Robinson2012-03-061-64/+80
|
* Mark the device as running for capture, tooChris Robinson2012-03-051-2/+7
|
* Hold the list lock while calling the backendChris Robinson2012-03-051-11/+16
| | | | Pretty ugly, but we mustn't hold the device lock
* Filter out a couple pulseaudio stream properties by setting them to 0-length ↵Chris Robinson2012-03-051-7/+25
| | | | | | | | | data It seems Qt/Phonon will globally set media.role and phonon.streamid properties, causing them to apply even to our streams if they happen to be loaded in the same process. This is particularly a problem because media.role gets set to "event", preventing the streams from showing in pavucontrol.
* Returned pa_operations can be NULLChris Robinson2012-03-051-31/+21
|
* Use a separate backend callback to start playback of the deviceChris Robinson2012-03-0514-117/+271
| | | | | | | | | | | | This allows us to properly update the ALCdevice and its resources with the new parameters before starting playback, instead of expecting the mixer to block and wait after it has begun. This also lets us avoid holding the device lock while resetting and starting the device, which helps prevent lock inversion on some backends (ie, one thread locking A then B, and another thread locking B then A), ultimately allowing certain backends to asynchronously update the ALCdevice without risk of lockup. Capture still has issues here, however.
* Avoid some uninitialized warningsChris Robinson2012-03-051-0/+3
|
* Print and handle errors from pa_stream_readable_sizeChris Robinson2012-03-051-1/+6
|
* Set prebuf to 0 since we're handling the stream start manuallyChris Robinson2012-03-041-1/+2
|
* Enforce range limits on periods and period_size.Chris Robinson2012-03-041-2/+2
|
* Make sure the pulse stream is properly started and better handle buffer size ↵Chris Robinson2012-03-041-3/+22
| | | | changes
* Invert a nested loopChris Robinson2012-03-031-3/+6
|
* Handle BS2B cross-feed right after click removalChris Robinson2012-03-031-40/+12
|
* Slight correction for handling the wave writer backend's timer wrappingChris Robinson2012-03-031-3/+3
|
* Slight correction for handling the null backend's timer wrappingChris Robinson2012-03-031-3/+3
|
* Remove some unneeded pulseaudio callsChris Robinson2012-03-021-3/+0
|
* Don't unload libpulseChris Robinson2012-03-021-5/+1
| | | | This sometimes spawns esoteric errors in dlclose
* Remove some unneeded markersChris Robinson2012-03-021-55/+52
|
* Set prebuf to the expected buffer sizeChris Robinson2012-03-021-3/+4
| | | | This is to make sure the stream starts even if PulseAudio increases tlength.
* Don't rely on PulseAudio to wake us up using early requestsChris Robinson2012-03-021-54/+14
|
* Avoid a leak if PortAudio fails to give a usable channel countChris Robinson2012-03-021-2/+2
|
* Make sure the device gets stopped when closing even if there's no contextsChris Robinson2012-03-021-7/+7
|
* Recalculate the new update size using the device's UpdateSizeChris Robinson2012-03-021-3/+2
|
* Avoid an unnecessary doCapture checkChris Robinson2012-03-011-2/+1
|
* Update the layout config option namesChris Robinson2012-03-011-6/+6
|
* Fix a memory leakChris Robinson2012-03-011-0/+12
|
* Set the func list after successfully connecting to PulseAudioChris Robinson2012-03-011-2/+1
|
* Make alcLoopbackOpenDeviceSOFT take a standard "device" name for a parameterChris Robinson2012-03-011-5/+6
|
* Don't use GUIDs to ID mmdevapi devices, and don't enumerate if not neededChris Robinson2012-03-012-101/+84
|
* Avoid enumerating when opening the default ALSA deviceChris Robinson2012-03-011-18/+18
|
* Use NULL to open the default PulseAudio device, and get the actual device ↵Chris Robinson2012-03-011-25/+88
| | | | name from the stream
* Move some function definitions downChris Robinson2012-03-011-58/+57
|
* Don't define lib handles when dynamic loading is disabledChris Robinson2012-03-014-28/+24
|
* Only support PA_API_VERSION 12Chris Robinson2012-03-011-17/+16
|
* Update the stored buffer attributes if PulseAudio changes itChris Robinson2012-03-011-63/+67
|
* Don't allow the PulseAudio stream to moveChris Robinson2012-03-011-14/+4
| | | | | Since the device specifier isn't updated to reflect the change, it's best to not allow it to move. This should be fixed eventually.
* Don't force a sample spec when looking for the default deviceChris Robinson2012-03-011-4/+12
|
* Don't check if the pulseaudio sink is suspended when openingChris Robinson2012-03-011-35/+1
|
* Constify a couple string pointersChris Robinson2012-03-011-3/+3
|
* Look for and enumerate the default PulseAudio source firstChris Robinson2012-02-291-0/+26
|
* Use a separate function to create and connect a PulseAudio record streamChris Robinson2012-02-291-36/+44
|
* Look for and enumerate the default PulseAudio sink firstChris Robinson2012-02-291-0/+23
|
* Avoid enumerating multiple devices with the same nameChris Robinson2012-02-291-0/+14
|
* Avoid passing the ALCdevice to connect_playback_streamChris Robinson2012-02-291-15/+15
|
* Print the enumerated devices from PulseAudioChris Robinson2012-02-291-36/+4
|
* Minor cleanups for OSS and SolarisChris Robinson2012-02-292-38/+34
|
* Allow reading audio from ALSA directly if the requested length is supportedChris Robinson2012-02-291-27/+142
|
* Don't store the frame size with pulse_dataChris Robinson2012-02-291-26/+29
|
* Read capture data from pulseaudio as needed, avoiding a ring bufferChris Robinson2012-02-291-33/+66
|