Re: [pulseaudio-discuss] combined sink does not work with pulseaudio-dlna

2017-02-20 Thread Ivan Kanis
Hi Tanu,

February, 16 at 12:50 Tanu Kaskinen wrote:

> On Wed, 2017-02-15 at 17:25 +0100, Ivan Kanis wrote:
>> The author of the dlna plugin has told me that the combined sink feature
>> is not implemented in his module. He has given me an alternative with
>> the loopback module:
>> 
>> load-module module-loopback sink=alsa_output.pci-_00_1b.0.analog-stereo
>> 
>> Then pickup the loopback on the Chromecast. It works but, as expected,
>> it is not in sync.
>
> So the source of the loopback is the monitor source of the chromecast sink?

No the source of the loopback is the alsa sound card. I tried to set it
to the Chromecast sink but I got silence then I got a noise that got
louder and louder. I am a little wary to try that again, I don't want to
break anything.

>> I am now looking for a way to delay the local playback but I can't
>> figure out how.
>> 
>> I tried latency_msec=3000 but it set's the latency on the Chromecast.
>
> If the source of the loopback is the monitor source of the chromecast
> sink, increasing the latency of the loopback module should increase the
> latency of what is played to the alsa sink, not the chromecast sink.
>
> It's a known problem that something is wrong in module-loopback related
> to the latency_msec paramter:
> https://bugs.freedesktop.org/show_bug.cgi?id=80770
>
> The loopback patches that Georg Chini submitted recently probably fix
> the latency_msec parameter behaviour.

The latency is working. Before I route the loopback to the Chromecast I
can hear an echo on the local sound card. I need to somehow delay the
local playback but that's where the loopback is being picked up from. A
chicken and egg problem?

I don't think it's worth spending much energy fixing this.

Have a nice evening,

Ivan

-- 
I have a dream that one day on the red hills of Georgia the sons of
former slaves and the sons of former slave owners will be able to sit
down together at the table of brotherhood.
-- Martin Luther King

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] combined sink does not work with pulseaudio-dlna

2017-02-16 Thread Georg Chini

On 16.02.2017 11:50, Tanu Kaskinen wrote:

On Wed, 2017-02-15 at 17:25 +0100, Ivan Kanis wrote:

The author of the dlna plugin has told me that the combined sink feature
is not implemented in his module. He has given me an alternative with
the loopback module:

load-module module-loopback sink=alsa_output.pci-_00_1b.0.analog-stereo

Then pickup the loopback on the Chromecast. It works but, as expected,
it is not in sync.

So the source of the loopback is the monitor source of the chromecast sink?


I am now looking for a way to delay the local playback but I can't
figure out how.

I tried latency_msec=3000 but it set's the latency on the Chromecast.

If the source of the loopback is the monitor source of the chromecast
sink, increasing the latency of the loopback module should increase the
latency of what is played to the alsa sink, not the chromecast sink.

It's a known problem that something is wrong in module-loopback related
to the latency_msec paramter:
https://bugs.freedesktop.org/show_bug.cgi?id=80770

The loopback patches that Georg Chini submitted recently probably fix
the latency_msec parameter behaviour.


The bug Tanu is referring to should already have been fixed with
pulseaudio 10.0, although with the loopback module of 10.0 it will
take quite a while until it has adjusted to the correct latency.
You can check the latency of module-loopback if you enable debug
logging.

Regards
 Georg

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] combined sink does not work with pulseaudio-dlna

2017-02-16 Thread Tanu Kaskinen
On Wed, 2017-02-15 at 17:25 +0100, Ivan Kanis wrote:
> The author of the dlna plugin has told me that the combined sink feature
> is not implemented in his module. He has given me an alternative with
> the loopback module:
> 
> load-module module-loopback sink=alsa_output.pci-_00_1b.0.analog-stereo
> 
> Then pickup the loopback on the Chromecast. It works but, as expected,
> it is not in sync.

So the source of the loopback is the monitor source of the chromecast sink?

> I am now looking for a way to delay the local playback but I can't
> figure out how.
> 
> I tried latency_msec=3000 but it set's the latency on the Chromecast.

If the source of the loopback is the monitor source of the chromecast
sink, increasing the latency of the loopback module should increase the
latency of what is played to the alsa sink, not the chromecast sink.

It's a known problem that something is wrong in module-loopback related
to the latency_msec paramter:
https://bugs.freedesktop.org/show_bug.cgi?id=80770

The loopback patches that Georg Chini submitted recently probably fix
the latency_msec parameter behaviour.

-- 
Tanu

https://www.patreon.com/tanuk
___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] combined sink does not work with pulseaudio-dlna

2017-02-15 Thread Ivan Kanis
February, 07 at 10:05 Ivan wrote:

> February, 06 at 13:24 Tanu Kaskinen wrote:
>
>> On Wed, 2017-02-01 at 09:44 +0100, Ivan Kanis wrote:
>>> Hello,
>>> 
>>> I am trying to get sound output from the speaker plugged on my computer
>>> and the Chromecast audio in the living room.
>>> 
>>> I have launched the program pulseaudio-dlna and I can hear audio on the
>>> Chromecast when I select it as playback.
>>> 
>>> Next I run pacmd and type the following:
>>> 
>>> load-module module-combine sink_name=combined
>>> slaves=Chromecastaudio4076_chromecast,alsa_output.pci-_00_1b.0.analog-stereo
>>> 
>>> In pavucontrol I select the combined sink as playback. I can only
>>> hear sound on the computer's speaker.
>>> 
>>> I have attached two screen shots. What's interesting in the output
>>> devices tab is that there is activity in the Chromecast sink, the blue
>>> line is moving as the music is playing.
>>> 
>>> Does anyone knows why it's not working as expected? Is there a different
>>> way to make it work?
>>
>> It looks like you've set up it right and it should work... You could
>> check that the virtual stream between the combine sink and the
>> chromecast sink isn't muted. To do that, select "All Streams" in the
>> "Show" drop-down list at the bottom of the "Playback" tab in
>> pavucontrol.
>
> Hi Tanu,
>
> I have checked it is not muted. I have tried to mute and unmute just in
> case, but still no sound on the Cromecast :( I have attached a snapshot
> showing all streams.
>
> Ivan

Hi Tanu,

The author of the dlna plugin has told me that the combined sink feature
is not implemented in his module. He has given me an alternative with
the loopback module:

load-module module-loopback sink=alsa_output.pci-_00_1b.0.analog-stereo

Then pickup the loopback on the Chromecast. It works but, as expected,
it is not in sync.

I am now looking for a way to delay the local playback but I can't
figure out how.

I tried latency_msec=3000 but it set's the latency on the Chromecast.

I am sure it can be done but my pulse audio-fu is very limited, any help
will gratefully appreciated.

Have a nice day,

Ivan

-- 
Parting is all we know of heaven, And all we need of hell.
-- Emily Dickinson

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] combined sink does not work with pulseaudio-dlna

2017-02-07 Thread Ivan Kanis
February, 06 at 13:24 Tanu Kaskinen wrote:

> On Wed, 2017-02-01 at 09:44 +0100, Ivan Kanis wrote:
>> Hello,
>> 
>> I am trying to get sound output from the speaker plugged on my computer
>> and the Chromecast audio in the living room.
>> 
>> I have launched the program pulseaudio-dlna and I can hear audio on the
>> Chromecast when I select it as playback.
>> 
>> Next I run pacmd and type the following:
>> 
>> load-module module-combine sink_name=combined
>> slaves=Chromecastaudio4076_chromecast,alsa_output.pci-_00_1b.0.analog-stereo
>> 
>> In pavucontrol I select the combined sink as playback. I can only
>> hear sound on the computer's speaker.
>> 
>> I have attached two screen shots. What's interesting in the output
>> devices tab is that there is activity in the Chromecast sink, the blue
>> line is moving as the music is playing.
>> 
>> Does anyone knows why it's not working as expected? Is there a different
>> way to make it work?
>
> It looks like you've set up it right and it should work... You could
> check that the virtual stream between the combine sink and the
> chromecast sink isn't muted. To do that, select "All Streams" in the
> "Show" drop-down list at the bottom of the "Playback" tab in
> pavucontrol.

Hi Tanu,

I have checked it is not muted. I have tried to mute and unmute just in
case, but still no sound on the Cromecast :( I have attached a snapshot
showing all streams.

Ivan
___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] combined sink does not work with pulseaudio-dlna

2017-02-07 Thread Ivan Kanis

February, 06 at 13:24 Tanu Kaskinen wrote:

> On Wed, 2017-02-01 at 09:44 +0100, Ivan Kanis wrote:
>> Hello,
>> 
>> I am trying to get sound output from the speaker plugged on my computer
>> and the Chromecast audio in the living room.
>> 
>> I have launched the program pulseaudio-dlna and I can hear audio on the
>> Chromecast when I select it as playback.
>> 
>> Next I run pacmd and type the following:
>> 
>> load-module module-combine sink_name=combined
>> slaves=Chromecastaudio4076_chromecast,alsa_output.pci-_00_1b.0.analog-stereo
>> 
>> In pavucontrol I select the combined sink as playback. I can only
>> hear sound on the computer's speaker.
>> 
>> I have attached two screen shots. What's interesting in the output
>> devices tab is that there is activity in the Chromecast sink, the blue
>> line is moving as the music is playing.
>> 
>> Does anyone knows why it's not working as expected? Is there a different
>> way to make it work?
>
> It looks like you've set up it right and it should work... You could
> check that the virtual stream between the combine sink and the
> chromecast sink isn't muted. To do that, select "All Streams" in the
> "Show" drop-down list at the bottom of the "Playback" tab in
> pavucontrol.

Hi Tanu,

I have checked it is not muted. I have tried to mute and unmute just in
case, but still no sound on the Cromecast :( I have attached a snapshot
showing all streams.

Ivan

___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


Re: [pulseaudio-discuss] combined sink does not work with pulseaudio-dlna

2017-02-06 Thread Tanu Kaskinen
On Wed, 2017-02-01 at 09:44 +0100, Ivan Kanis wrote:
> Hello,
> 
> I am trying to get sound output from the speaker plugged on my computer
> and the Chromecast audio in the living room.
> 
> I have launched the program pulseaudio-dlna and I can hear audio on the
> Chromecast when I select it as playback.
> 
> Next I run pacmd and type the following:
> 
> load-module module-combine sink_name=combined 
> slaves=Chromecastaudio4076_chromecast,alsa_output.pci-_00_1b.0.analog-stereo
> 
> In pavucontrol I select the combined sink as playback. I can only
> hear sound on the computer's speaker.
> 
> I have attached two screen shots. What's interesting in the output
> devices tab is that there is activity in the Chromecast sink, the blue
> line is moving as the music is playing.
> 
> Does anyone knows why it's not working as expected? Is there a different
> way to make it work?

It looks like you've set up it right and it should work... You could
check that the virtual stream between the combine sink and the
chromecast sink isn't muted. To do that, select "All Streams" in the
"Show" drop-down list at the bottom of the "Playback" tab in
pavucontrol.

-- 
Tanu

https://www.patreon.com/tanuk
___
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss