summaryrefslogtreecommitdiffstats
path: root/src/modules/alsa
Commit message (Collapse)AuthorAgeFilesLines
* AC3 passthrough supportPierre-Louis Bossart2010-08-121-0/+7
| | | | | | | | | | | | Second version after Tanu's feedback TODO: - notify client that volume control is disabled - change sink rate in passthrough mode if needed - automatic detection of passthrough mode instead of hard coded profile names Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
* alsa: add missing iec958 files from previous commitPierre-Louis Bossart2010-07-152-0/+38
|
* alsa: fix mixer profiles, add passthrough configPierre-Louis Bossart2010-07-132-6/+12
| | | | Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
* alsa: disable rewinds when using ALSA pluginsPierre-Louis Bossart2010-07-131-2/+12
| | | | | | | | | | This is required to when playing on a52: device, rewind is broken in those plugins. Credits to Michael Rans <mcarans@yahoo.co.uk> for finding this workaround, and Tanu Kaskinen <tanuk@iki.fi> for providing valuable feedback. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
* alsa: Fix assertion on mmap_write (triggered via a52 plugin)Colin Guthrie2010-07-131-0/+3
|
* alsa: Fix log output to inform about positive base volumes correctly.Tanu Kaskinen2010-05-102-8/+2
| | | | | | | Positive base volume can happen, if the alsa volume range has been limited. For example, in an embedded environment it may be known that the sound device is capable of louder output than what the speakers can handle, so setting the max volume below 0 dB makes sense.
* alsa-mixer: Replace erroneous PA_ALSA_VOLUME_IGNORE with ↵Tanu Kaskinen2010-05-101-1/+1
| | | | | | | PA_ALSA_ENUMERATION_IGNORE. This fix doesn't have any concrete effect, because the two constants have the same value.
* alsa-mixer: Use pa_xfree() instead of pa_xstrdup() for freeing a string.Tanu Kaskinen2010-05-101-1/+1
|
* alsa: Handle 'Digital Mic' as an 'Input Source'Daniel T Chen2010-05-081-0/+4
| | | | | | | BugLink: https://launchpad.net/bugs/533877 Some laptops have 'Digital Mic' exposed as an 'Input Source', e.g., Dell XPS 1330, so handle these, too.
* add rewind-safeguard parameterPierre-Louis Bossart2010-05-082-5/+17
| | | | | | | | | | Rewinding the ring buffer completely causes audible issues with DMAs. Previous solution didn't work with tsched=0, and used tsched_watermark for guardband, which isn't linked to hardware and could become really high if underflows occurred. Added separate parameter that can be tuned to hardware limitations and size of DMA bursts.
* thread: name all threads so that the names appear in /proc/$PID/task/$TID/commLennart Poettering2010-05-072-2/+2
|
* alsa: don't make use of tsched related variables when tsched is disabledLennart Poettering2010-02-232-22/+40
|
* alsa: reset max_rewind/max_request while suspendingLennart Poettering2010-02-221-1/+10
|
* alsa-util: strip spaces from ALSA card/pcm namesLennart Poettering2010-02-211-5/+7
| | | | http://pulseaudio.org/ticket/778
* alsa: use default output port namesLennart Poettering2010-02-215-3/+5
| | | | | instead of coming up with pointless aliases, reuse the already established names, for second headphones, and second speakers.
* alsa: cover "Internal Mic" elementsLennart Poettering2010-02-219-0/+98
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=562216
* alsa: cover 'Shared Mic/Line in', 'Analog Source'Lennart Poettering2010-02-211-0/+25
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=558638
* alsa: cover "Desktop Speaker" mixer elementsLennart Poettering2010-02-219-8/+131
| | | | As exposed by really old Microsoft USB sound systems
* alsa: cover bass boost mixer elementLennart Poettering2010-02-092-0/+13
| | | | http://pulseaudio.org/ticket/740
* alsa: Cover the 'Int Mic Boost' element.Colin Guthrie2010-02-091-0/+9
| | | | | | | | | | This is not 100% ideal as we have not way to tie specific boosts to specific inputs and this particular chipset (as noted in #772) appears to support just that. For the time being incorporate it into the normal boost logic. See http://pulseaudio.org/ticket/772
* alsa: cover Input Source:Int MicColin Guthrie2010-02-091-0/+4
| | | | | As seen on some HDA chips (e.g. Fujitsu Siemens S6410) Refs http://pulseaudio.org/ticket/772
* alsa: ignore volume changes from the hw if we are not on the active consoleLennart Poettering2010-02-092-0/+6
|
* alsa: add profile set for M-Audio FastTrack Pro USBDavid Kågedal2010-01-052-0/+86
|
* alsa: fix minor sampling rate deviations before adjusting the buffer sizeLennart Poettering2009-11-201-7/+9
|
* alsa: fix log output when the audio device refuses to give us again the same ↵Lennart Poettering2009-11-202-2/+2
| | | | period settings we had before
* alsa: disable timer-based scheduling inside a VMLennart Poettering2009-11-054-8/+28
| | | | | | | | | | | | | | | In virtual machines sound card clocks and OS scheduling tend to become unreliable, adding various 'uneven' latencies. The adaptive algorithm that handles drop-outs does not handle it this well: in contrast to drop-outs on real machines that are evenly distributed, small and can easily be encountered via the adpative algorithms, drop-outs in VMs tend to happen abruptly, and massively, which is not easy to counter. This patch simply disables timer based scheduling in VMs reverting to classic IO based scheduling. This should help make PA perform better in VMs. https://bugzilla.redhat.com/show_bug.cgi?id=532775
* alsa: introduce more standard path namesLennart Poettering2009-11-051-10/+14
|
* alsa: cover 'Analog Output' controlLennart Poettering2009-11-041-0/+17
| | | | http://pulseaudio.org/ticket/702
* alsa: create a seperate mixer path for Speaker elementsLennart Poettering2009-10-313-13/+106
| | | | | | | On some cards line-out is independant of Sepaker and it is a good idea to cover that so that they can independantly be activated. https://bugzilla.redhat.com/show_bug.cgi?id=520884
* alsa: leave other headphone control enabled if possibleLennart Poettering2009-10-315-4/+22
|
* alsa: lower priority for Headphone2 pathLennart Poettering2009-10-311-1/+1
|
* alsa: cover Input Source:AUX INLennart Poettering2009-10-311-0/+4
| | | | | | As seen on some HDA chips: https://bugzilla.redhat.com/attachment.cgi?id=359804
* alsa: cover Headphone2 mixer elementLennart Poettering2009-10-313-2/+85
| | | | | | As seen on some drivers: https://bugzilla.redhat.com/show_bug.cgi?id=498612
* alsa: cover 'Digital Input Source' elementLennart Poettering2009-10-311-0/+14
| | | | | | As used by some HDA devices: https://bugzilla.redhat.com/attachment.cgi?id=365290
* alsa: cover Mic Jack Mode elementLennart Poettering2009-10-311-1/+12
| | | | | | As used by some HDA chips: https://bugzilla.redhat.com/attachment.cgi?id=366816
* alsa: disable period event only with tsched=1Lennart Poettering2009-10-064-5/+6
|
* alsa: make build gcc clean on 32bitLennart Poettering2009-09-201-1/+1
|
* alsa: Give all ports a human name to allow UI tools to present the choice to ↵Colin Guthrie2009-09-181-3/+3
| | | | users.
* alsa: fix Surround mixer element nameLennart Poettering2009-09-183-3/+3
| | | | | | s/Sourround/Surround/ Spotted by Colin Guthrie
* alsa: correct assumptions about channels an element lacksVladimir Kokarev2009-09-171-10/+2
| | | | | | | If an element does not control some channels assume they are 0dB in comparison to the other elements, i.e. do not influence the volume at all. Previously we were assuming they were as high as the highest of the channels we do control.
* alsa: properly report suspension error codesLennart Poettering2009-09-112-18/+27
|
* alsa: properly convert sample buffer sizesLennart Poettering2009-09-111-3/+3
|
* alsa: disable tsched for software devices before we configure the buffer ↵Lennart Poettering2009-09-093-11/+4
| | | | metrics so that we don't accidently set a buffer size that is suitable for tsched where we don't use tsched
* alsa: when probing for profiles configure buffer/period sizes since some ↵Lennart Poettering2009-09-093-5/+22
| | | | broken drivers apparently need that
* alsa: pass SND_PCM_NONBLOCK when opening device during unsuspend, the same ↵Lennart Poettering2009-09-092-2/+2
| | | | way we do it for initial opening
* alsa: rework buffer/period configurationLennart Poettering2009-09-094-130/+217
| | | | | | | | | | | | | - As discussed on alsa-devel it's probably better to initialize the buffer size first, followed by the period size. If that fails try the other way round. If that fails try to configure only buffer size. If that fails try to configure only period size. Finally, try to configure neither. - Don't require integral periods anymore. Both of these changes should help improving compatibility with various weirder sound devices, such as TV cards.
* alsa-sink: init after_avail earlier (llvm-clang-analyzer)Lennart Poettering2009-09-081-1/+1
|
* llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixesLennart Poettering2009-09-084-6/+4
|
* alsa: add more input sources to path setLennart Poettering2009-09-031-0/+8
|
* alsa: by default increase watermarks only on real underruns, don't try to be ↵Lennart Poettering2009-09-012-2/+5
| | | | smart