Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename AllDevice -> AllDevices | Chris Robinson | 2012-05-09 | 13 | -13/+13 |
| | |||||
* | Clamp the ALSA period time between min and max if setting near fails | Chris Robinson | 2012-05-08 | 1 | -1/+17 |
| | |||||
* | Clamp the ALSA buffer time between min and max if setting near fails | Chris Robinson | 2012-05-07 | 1 | -1/+18 |
| | | | | | | It seems there's some bugs with snd_pcm_hw_params_set_buffer_time_near that cause it to return "invalid argument" despite a valid nearby buffer time being available. Clamping the buffer time seems to mitigate the issue a bit. | ||||
* | Look for libsndio.so.2 instead of libsndio.so | Chris Robinson | 2012-05-05 | 1 | -1/+1 |
| | |||||
* | Check the right playback device file with OSS | Chris Robinson | 2012-04-22 | 1 | -1/+1 |
| | |||||
* | Remove hungarian notation from dsound and mmdevapi | Chris Robinson | 2012-04-19 | 2 | -151/+150 |
| | |||||
* | Remove hungarian notation from the winmm backend | Chris Robinson | 2012-04-19 | 1 | -212/+207 |
| | |||||
* | Remove some more hungarian notation | Chris Robinson | 2012-04-19 | 6 | -127/+127 |
| | |||||
* | Remove hungarian notation from the device and context structs | Chris Robinson | 2012-04-19 | 14 | -22/+22 |
| | |||||
* | Avoid modifying the ALCdevice in portaudio's open method | Chris Robinson | 2012-03-13 | 1 | -25/+31 |
| | |||||
* | Store the portaudio stream parameters with the device | Chris Robinson | 2012-03-13 | 1 | -32/+33 |
| | |||||
* | Minor coreaudio fix, and make sure to set the device name | Chris Robinson | 2012-03-13 | 1 | -4/+3 |
| | |||||
* | Try to ensure the full mmdevapi buffer is used | Chris Robinson | 2012-03-13 | 1 | -4/+12 |
| | |||||
* | Try to ensure at least 2 mmdevapi updates | Chris Robinson | 2012-03-13 | 1 | -1/+2 |
| | |||||
* | Try to find a multiple of mmdevapi's period size nearest to the wanted ↵ | Chris Robinson | 2012-03-13 | 1 | -0/+3 |
| | | | | update size | ||||
* | Attempted fix for the coreaudio backend | Chris Robinson | 2012-03-12 | 1 | -16/+40 |
| | |||||
* | Store a duplicate of the mmdevapi device ID | Chris Robinson | 2012-03-06 | 1 | -5/+9 |
| | |||||
* | Add a comment explaining the pulseaudio prop_filter | Chris Robinson | 2012-03-06 | 1 | -0/+4 |
| | |||||
* | Update the ALCdevice in winmm's reset method instead of open | Chris Robinson | 2012-03-06 | 1 | -64/+80 |
| | |||||
* | Filter out a couple pulseaudio stream properties by setting them to 0-length ↵ | Chris Robinson | 2012-03-05 | 1 | -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 NULL | Chris Robinson | 2012-03-05 | 1 | -31/+21 |
| | |||||
* | Use a separate backend callback to start playback of the device | Chris Robinson | 2012-03-05 | 13 | -106/+262 |
| | | | | | | | | | | | | 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. | ||||
* | Print and handle errors from pa_stream_readable_size | Chris Robinson | 2012-03-05 | 1 | -1/+6 |
| | |||||
* | Set prebuf to 0 since we're handling the stream start manually | Chris Robinson | 2012-03-04 | 1 | -1/+2 |
| | |||||
* | Make sure the pulse stream is properly started and better handle buffer size ↵ | Chris Robinson | 2012-03-04 | 1 | -3/+22 |
| | | | | changes | ||||
* | Slight correction for handling the wave writer backend's timer wrapping | Chris Robinson | 2012-03-03 | 1 | -3/+3 |
| | |||||
* | Slight correction for handling the null backend's timer wrapping | Chris Robinson | 2012-03-03 | 1 | -3/+3 |
| | |||||
* | Remove some unneeded pulseaudio calls | Chris Robinson | 2012-03-02 | 1 | -3/+0 |
| | |||||
* | Don't unload libpulse | Chris Robinson | 2012-03-02 | 1 | -5/+1 |
| | | | | This sometimes spawns esoteric errors in dlclose | ||||
* | Remove some unneeded markers | Chris Robinson | 2012-03-02 | 1 | -55/+52 |
| | |||||
* | Set prebuf to the expected buffer size | Chris Robinson | 2012-03-02 | 1 | -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 requests | Chris Robinson | 2012-03-02 | 1 | -54/+14 |
| | |||||
* | Avoid a leak if PortAudio fails to give a usable channel count | Chris Robinson | 2012-03-02 | 1 | -2/+2 |
| | |||||
* | Recalculate the new update size using the device's UpdateSize | Chris Robinson | 2012-03-02 | 1 | -3/+2 |
| | |||||
* | Avoid an unnecessary doCapture check | Chris Robinson | 2012-03-01 | 1 | -2/+1 |
| | |||||
* | Fix a memory leak | Chris Robinson | 2012-03-01 | 1 | -0/+12 |
| | |||||
* | Set the func list after successfully connecting to PulseAudio | Chris Robinson | 2012-03-01 | 1 | -2/+1 |
| | |||||
* | Don't use GUIDs to ID mmdevapi devices, and don't enumerate if not needed | Chris Robinson | 2012-03-01 | 1 | -101/+68 |
| | |||||
* | Avoid enumerating when opening the default ALSA device | Chris Robinson | 2012-03-01 | 1 | -18/+18 |
| | |||||
* | Use NULL to open the default PulseAudio device, and get the actual device ↵ | Chris Robinson | 2012-03-01 | 1 | -25/+88 |
| | | | | name from the stream | ||||
* | Move some function definitions down | Chris Robinson | 2012-03-01 | 1 | -58/+57 |
| | |||||
* | Don't define lib handles when dynamic loading is disabled | Chris Robinson | 2012-03-01 | 4 | -28/+24 |
| | |||||
* | Only support PA_API_VERSION 12 | Chris Robinson | 2012-03-01 | 1 | -17/+16 |
| | |||||
* | Update the stored buffer attributes if PulseAudio changes it | Chris Robinson | 2012-03-01 | 1 | -63/+67 |
| | |||||
* | Don't allow the PulseAudio stream to move | Chris Robinson | 2012-03-01 | 1 | -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 device | Chris Robinson | 2012-03-01 | 1 | -4/+12 |
| | |||||
* | Don't check if the pulseaudio sink is suspended when opening | Chris Robinson | 2012-03-01 | 1 | -35/+1 |
| | |||||
* | Constify a couple string pointers | Chris Robinson | 2012-03-01 | 1 | -3/+3 |
| | |||||
* | Look for and enumerate the default PulseAudio source first | Chris Robinson | 2012-02-29 | 1 | -0/+26 |
| | |||||
* | Use a separate function to create and connect a PulseAudio record stream | Chris Robinson | 2012-02-29 | 1 | -36/+44 |
| |