Opened 17 years ago
Closed 16 years ago
Last modified 14 years ago
#3598 closed defect (fixed)
MythFrontend doesn't work with some sound systems
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | yes |
Description
2007-06-11 10:19:20.441 AudioOutput? Error: Access type not available: Invalid argument
After some discussion on IRC in #pulseaudio :
<mezcalero> the problem is here
http://svn.mythtv.org/svn/trunk/mythtv/libs/libmyth/audiooutputalsa.cpp it assumes that SND_PCM_ACCESS_MMAP_INTERLEAVED is available that assumption is bogus only normal PCI hw has mmap it's the same issue why we have trouble to support quake with padsp people just assume that mmap is available everywhere they should stop doing that
<mezcalero> atrus: you might want to file a bug and tell them that they need to fix their code <mezcalero> otherweise they will always have trouble with software backends
or with a little bit more exotic audio hardware and i really wonder why they do that in the first place.
Attachments (3)
Change History (20)
comment:1 Changed 17 years ago by
Changed 17 years ago by
Attachment: | mythtv_pulseaudio_alsa_fix.patch added |
---|
Changed 17 years ago by
Attachment: | mythtv_alsa_non_mmap_fallback.patch added |
---|
Fall back to non-mmap if mmap isn't available
comment:2 Changed 17 years ago by
Here's an updated patch, mythtv_alsa_non_mmap_fallback.patch, so that people who really want mmap will have no objections to this fix.
Changed 17 years ago by
Attachment: | mythtv_alsa_non_mmap_fallback.2.patch added |
---|
Fall back to non-mmap if mmap isn't available (same patch, but include full path to changes files in diff)
comment:5 Changed 17 years ago by
Just tried this patch and it fixed my pulseaudio/myth problems, so unless there is any specific reason not to, can someone apply it to trunk please?
comment:7 Changed 17 years ago by
Milestone: | unknown → 0.21 |
---|
comment:8 Changed 16 years ago by
I would also like to see this change commited, as it would make MythTV work with PulseAudio? without problems :)
comment:9 Changed 16 years ago by
Owner: | changed from Isaac Richards to danielk |
---|---|
Version: | 0.20 → head |
comment:10 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:11 Changed 16 years ago by
Bug Report for Ubuntu
https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/162539
comment:12 Changed 16 years ago by
Could this be ported to 0.20.x-fixes branch for those (many) who use Axel Thimm's RPMs in Fedora 8?
comment:13 Changed 16 years ago by
I would also like to see this committed to the 'fixes' branch so it would be included in packman's mythtv packages.
comment:15 Changed 16 years ago by
What is the status of this? I have mythtv-frontend-0.21-192.fc9.i386 from ATrpms and I can't hear a thing on my F9 system with PulseAudio?. I'm trying to determine if the patch simply isn't in, if it's not in the RPM that I have, or if it's a problem local to my machine.
comment:16 Changed 16 years ago by
This has been committed, but you need to set myth to use alsa [1], and you need to have the pulseaudio alsa plugin installed.
comment:18 Changed 14 years ago by
Ticket locked: | set |
---|
myth works fine for me without MMAP (although I didn't try digital out).
Looking at the history, MMAP has been used from the beginning of the alsa support.
Any reason this simple patch shouldn't be committed? Native alsa continues to work, and it allows myth to be used with the PulseAudio? alsa-plugin.