Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #5473: audio out, PulseAudio

 

 

First page Previous page 1 2 Next page Last page  View All MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Jun 26, 2008, 4:58 AM

Post #1 of 35 (3871 views)
Permalink
Ticket #5473: audio out, PulseAudio

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Mlocked: 0
---------------------------------------------+------------------------------
Here is an attempt to put PulseAudio output into MythTV. This _is_ my
first encounter with PulseAudio, so no doubt the code's a bit saggy, baggy
in places, and no doubt it has bugs. Improvements are most welcome.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jun 26, 2008, 5:09 AM

Post #2 of 35 (3801 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by Alan Calvert <cal [at] graggrag>):

patch 0.5 was against trunk r17642.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jun 26, 2008, 1:02 PM

Post #3 of 35 (3806 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by Alan Calvert <cal [at] graggrag>):

A few refinements:[[BR]]
- change the patch name to match the class name,[[BR]]
- reduce the buffer size from the default 96k bytes to 16k,[[BR]]
- move a public to protected and a couple of protecteds to private,[[BR]]
- clean up a generous sprinkling of unused vars,[[BR]]
- and adjust some formatting and assorted stuff.

patch audiooutpulse-0.6.patch was against trunk 17643.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jun 28, 2008, 12:36 PM

Post #4 of 35 (3784 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by Alan Calvert <cal [at] graggrag>):

Another refinement, 0.7, with a couple of significant issues resolved.
Some notes on usage ...

- The patch plugs itself into the configure/build system ok. It was
developed against PA 0.9.10, so I can't see any version issues given the
current state of PulseAudio & distros.

- With PulseAudio enabled, the main audio device setting presents an
option: PulseAudio:default:default. The two extra fields allow nomination
of the desired PulseAudio server/host and sink names to use. If no names
are nominated, it checks the environment for $PULSE_SERVER and
$PULSE_SINK, and uses them if set. Otherwise it just goes for the
defaults. This stuff is only lightly tested. The gui is currently broken
when it comes to editing those fields.

- The buffer metrics are eminently tunable. There's over/underflow
callback to assist in that. As is, it's lookin' pretty smooth.

Fit & ready for other interested parties (if any!) to test & break
perhaps.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jul 6, 2008, 12:52 PM

Post #5 of 35 (3745 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by Jeremy Nickurak <mythtv-bugs [at] atrus>):

This fixes some bad stuttering issues I was getting with direct ALSA
playback, thanks muchly.

Unfortunately, there's a weird loud-static problem that occurs maybe about
50% of the time. Instead of playing audio, I'll get just loud static.
Pausing/unpausing or skipping backwards several times generally seems to
fix it, but I haven't established anything special to differentiate the
times it works to the times it doesn't.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jul 9, 2008, 6:05 PM

Post #6 of 35 (3725 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by Alan Calvert <cal [at] graggrag>):

further refinements, patch 0.9 ...

- Given the format of PulseAudio server strings
([http://www.pulseaudio.org/wiki/ServerStrings]), the notion of using
'PulseAudio:server:sink' in audiodevice was profoundly flawed. Instead,
settle for 'PulseAudio:serverstring', and forget about nominating the
sink. Seems to work ok.

- PA stream buffer parameters were way too tight, worked ok on my grunty
little workstation but proved erratic on lesser hardware. Hopefully, these
more conservative settings will solve Jeremy's stuttering/static.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jul 9, 2008, 8:14 PM

Post #7 of 35 (3724 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by Alan Calvert <cal [at] graggrag>):

Sigh ... patch 0.10, strip some extraneous debugging rubbish and a couple
of potential asserts.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:6>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 15, 2008, 6:38 PM

Post #8 of 35 (3594 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by rob [at] naturalexplorations):

Any word on this? The patch is no longer available from the links and I
see that the trunk has progressed a bit since the last version. Did it get
migrated in, or??

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:7>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 15, 2008, 8:13 PM

Post #9 of 35 (3594 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by Alan Calvert <cal [at] graggrag>):

0.11 is a refresh to trunk 18161, and bumps the fragment size 10ms ->
20ms.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:8>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 16, 2008, 12:06 PM

Post #10 of 35 (3583 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by mythtv-bugs [at] atrus):

Any chance we could trouble you for an update for -fixes?

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:9>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 16, 2008, 12:58 PM

Post #11 of 35 (3579 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by Alan Calvert <cal [at] graggrag>):

0.21-fixes-0.11 is a refresh to 18166, and bumps the fragment size, 10msec
-> 20msec.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:10>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Sep 29, 2008, 8:26 AM

Post #12 of 35 (3393 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by Jeremy Nickurak <mythtv-bugs [at] atrus>):

I've finally had a chance to apply these patches and rebuild. I'm still
seeing the weird static issues with the latest patches. Pausing/unpausing
repeatedly still gets it working again eventually.

When I'm pausing/unpausing, I see the following, regardless of whether or
not the audio was in the static or normal state, or whether it changed:

2008-09-29 09:25:44.075 PulseAudio Error: stream buffer underflow
2008-09-29 09:25:44.930 DPMS Deactivated
2008-09-29 09:25:46.233 DPMS Reactivated.
2008-09-29 09:25:46.544 PulseAudio Error: stream buffer underflow
2008-09-29 09:25:47.868 DPMS Deactivated
2008-09-29 09:25:48.672 DPMS Reactivated.
2008-09-29 09:25:49.036 PulseAudio Error: stream buffer underflow
2008-09-29 09:25:50.236 DPMS Deactivated

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:11>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 1, 2008, 1:09 AM

Post #13 of 35 (3347 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by Alan Calvert <cal [at] graggrag>):

Patch 0.12 - based on speculative analysis of Jeremy's report, plus some
more reading of the PA API docs (especially the buffer metrics bits)
...[[BR]]
- revised the structure of WriteAudio(),[[BR]]
- implemented Pause() (also Reset() & Drain(), but they're irrelevant
trivialities),[[BR]]
- revised the buffer settings to something less whacko.[[BR]]
Also did some minor rationalizations, and hopefully I've caught all the
resultant PA asserts & seg faults.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:12>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 9, 2008, 1:35 PM

Post #14 of 35 (3185 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by Colin Guthrie <mythtv [at] colin>):

Hi,

Just a small update to the patch:
* Add in a a PULSE_LIBS definition in settings.pro to fix linking.
* Do not use the PA_STREAM_IS_GOOD() function as this was included in PA
API 0.9.11 and many distros still ship 0.9.10.
* Fix the potentially uninitialised use of write_status in WriteAudio().

Patch generated at [19037]

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:13>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Dec 26, 2008, 9:43 AM

Post #15 of 35 (3010 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by IntuitiveNipple):

I've back-ported this patch to 0.21+fixess18722 (for Ubuntu Intrepid).
Aside from the re-factoring required to deal with using QT3 rather than
QT4, and the MythTV changes, I found a few issues some of which are not
yet resolved:

1. Mixed use of USE_PULSEAUDIO and USING_PULSEAUDIO confused things. I've
used USING_PULSEAUDIO throughout.

2. Mixer name needs to be "!PulseAudio:default" (not "!PulseAudio") in
globalsettings.cpp !AudioOutputDevice():
{{{
diff --git a/programs/mythfrontend/globalsettings.cpp
b/programs/mythfrontend/globalsettings.cpp
index b1012d1..b8ff8cb 100644
--- a/programs/mythfrontend/globalsettings.cpp
+++ b/programs/mythfrontend/globalsettings.cpp
@@ -168,6 +171,9 @@ static HostComboBox *MixerDevice()
#ifdef USING_WINAUDIO
gc->addSelection("Windows:", "Windows:");
#endif
+#ifdef USING_PULSEAUDIO
+ gc->addSelection("PulseAudio:default", "PulseAudio:default");
+#endif

return gc;
}
}}}

Not yet resolved:

3. Matching the number of !PulseAudio channels. On a 7.1 channel audio
system MythTV only outputs 5.1 maximum (doesn't output Side Left/Right).
This looks to be easily fixable but I need to check before making changes.

4. Occasional "!PulseAudio Error: stream buffer underflow" reports. No
clues to the reason yet.

5. Occasional bursts of static when changing to new channel (sounds like a
16-bit sample getting out of step by 8 bits). This will sometimes self-
correct (another 8 bits dropped would align the samples correctly again).

6. Frequently audio is lost completely for long periods, with the report
"NVP::!AddAudioData():p1: Audio buffer overflow, audio data lost!"

7. Seemingly excessive CPU load by the pulseaudio process and
mythtvfrontend.real when using !PulseAudio. I need to do more systematic
comparisons before confirming this.

I'll attach the current patch I'm using in Ubuntu Intrepid and update as I
make progress with the discovered issues.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:14>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jan 11, 2009, 4:25 PM

Post #16 of 35 (2917 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by anonymous):

I think 4, 6 and 7 point to a wrong use of buffers, might be all the same
bug.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:15>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jan 26, 2009, 3:42 PM

Post #17 of 35 (2858 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by sPOiDar):

FYI, I get ~300ms lag on 0.22 with audiooutpulse-0.12.2 when using pulse.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:16>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 5, 2009, 3:36 PM

Post #18 of 35 (2654 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by danielk):

(In [20310]) Refs #5473. Adds a check for PulseAudio at startup of
mythfrontend and mythtv. PulseAudio causes delays that range randomly
between 500-2000 ms when playing back audio, so we abort startup if the
pulse audio server is currently running.
Note: I've referenced a ticket that adds PulseAudio support to MythTV, but
even using the PulseAudio API's the delay is still 300 ms; if we can get
that down in the 20 to 50 ms range we can adjust when we display the video
frames to compensate for the delay (which we should be doing anyway when
using multiframe deinterlacers).

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:17>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 15, 2009, 7:54 AM

Post #19 of 35 (2567 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by anonymous):

Can you please add a flag to force startup of mythtv even if the pulse
audio server is running? I have my system configured to use pulse and I
don't notice any significant audio delay. (I'm using realtime and
outputting over hdmi if it matters.) In addition, I'm sure pulse will
continue to improve as it matures, so having it completely blocked now
(without editing the source) might be detrimental to future users.

Thanks!

Replying to [comment:17 danielk]:
> (In [20310]) Refs #5473. Adds a check for PulseAudio at startup of
mythfrontend and mythtv. PulseAudio causes delays that range randomly
between 500-2000 ms when playing back audio, so we abort startup if the
pulse audio server is currently running.
> Note: I've referenced a ticket that adds PulseAudio support to MythTV,
but even using the PulseAudio API's the delay is still 300 ms; if we can
get that down in the 20 to 50 ms range we can adjust when we display the
video frames to compensate for the delay (which we should be doing anyway
when using multiframe deinterlacers).

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:18>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 19, 2009, 12:18 PM

Post #20 of 35 (2535 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by danielk):

(In [20421]) Refs #5473. Add code to deal with pulse audio.

By default when compiled on a system with pulse audio we just tell the
pulse audio server to leave us alone. For those that want to experiment
with pulse audio, we now read the EXPERIMENTALLY_ALLOW_PULSE_AUDIO
environment variable and when it is set allow MythTV to run with pulse
audio enabled.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:19>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 19, 2009, 2:30 PM

Post #21 of 35 (2523 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by danielk):

(In [20425]) Refs #5473. Backport pulse audio fix to 0.21-fixes.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:20>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 19, 2009, 4:01 PM

Post #22 of 35 (2521 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by danielk):

(In [20431]) Refs #5473. Add symbol visibility stuff to
audiopulseutil.{cpp,h}

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:21>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

May 15, 2009, 1:45 PM

Post #23 of 35 (2357 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by herbert [at] graeber-clan):

On openSUSE 11.1, mythfrontend does not start with pulseaudio support from
0.21-fixes, pulseaudio 0.9.12 installed and
EXPERIMENTALLY_ALLOW_PULSE_AUDIO '''not''' set. Message is

> 2009-05-15 22:42:03.218 AudioPulseUtil, Error: Failure to suspend:
Ungültiges Argument
> 2009-05-15 22:42:03.225 AudioPulseUtil, Error: Failure to suspend:
Ungültiges Argument
> 2009-05-15 22:42:03.226 ERROR: ***Pulse Audio is running!!!!***
> 2009-05-15 22:42:03.226 ERROR: But MythTV was not able to suspend it.
EXITING!

Without pulseaudio installed or when EXPERIMENTALLY_ALLOW_PULSE_AUDIO is
set, it works.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:22>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jul 17, 2009, 2:07 PM

Post #24 of 35 (1973 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: danielk
Type: patch | Status: assigned
Priority: minor | Milestone: 0.22
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------
Changes (by danielk):

* owner: ijr => danielk
* status: new => assigned
* milestone: unknown => 0.22


Comment:

Note: I've done basic testing on 5473-v1.patch to ensure that it does use
pulse audio for output, but please consider it proof-of-concept grade as I
have not fully reviewed the new code.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:23>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jul 20, 2009, 6:30 AM

Post #25 of 35 (1950 views)
Permalink
Re: Ticket #5473: audio out, PulseAudio [In reply to]

#5473: audio out, PulseAudio
---------------------------------------------+------------------------------
Reporter: Alan Calvert <cal [at] graggrag> | Owner: danielk
Type: patch | Status: assigned
Priority: minor | Milestone: 0.22
Component: mythtv | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------

Comment(by databubble):

Tried this with trunk 20964. Initial play seems fine, but discovered that
after commercial skip or fast-forward, I never seem to pick up audio
again.

PulseAudio 0.9.15 on kubuntu 9.10. Previously was running with ALSA
through Pulse and EXPERIMENTALLY_ALLOW_PULSE_AUDIO set.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5473#comment:24>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

First page Previous page 1 2 Next page Last page  View All MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.