FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian KDE

 
 
LinkBack Thread Tools
 
Old 05-26-2012, 09:24 AM
Martin Steigerwald
 
Default Good music player suggestion

Am Samstag, 26. Mai 2012 schrieb Modestas Vainius:
> Hello,

Hi Modestas,

> On ketvirtadienis 24 Gegužė 2012 22:17:26 Martin Steigerwald wrote:
> > And guess what with VLC I had a latency for audio playback. After
> > pressing play the video started immediately but sound was 1-2
> > seconds late.
> >
> > This is just gone now with VLC directly using ALSA.
>
> Hehe, the last nail in the PulseAudio coffin

Actually I am not so satisfied with this.

Now I had to fiddle around now to get Phonon and non Phonon apps to play
audio simultaneously. But I think this time I found a quite good solution:

/etc/asound.conf:

pcm.phonon {
type plug
slave.pcm "dmix"
hint {
show on
description "HDA Intel PCH mit Mixer"
}
}

And I set this as audio output in Phonon.

Now I can have alsaplayer and Amarok playing simultaneously as dmix is
already configured in current libasound2. So no further complex dmix
configuration snippets required as thats already done.

But then when I switch to a second KDE session sound playback again is
muted. This even holds after a reboot! Even when alsamixer has all volumes
up and no channel muted.

I can fix it by:

merkaba:~> alsactl init
Found hardware: "HDA-Intel" "Intel CougarPoint HDMI"
"HDA:14f1506e,17aa21cf,00100000 HDA:14f12c06,17aa2122,00100000
HDA:80862805,80860101,00100000" "0x17aa" "0x21cf"
Hardware is initialized using a generic method


But then I still do not get sound on second KDE session (work)
simultaneously to the first (private) although I set the same dmix output.

Seems Phonon opens it exclusively. And when I define a second one in
asound.conf Phonon exclusively just uses one, the second of it.

And in VLC and other applications I need to switch to the USB sound card
manually.

I´d like something simple that does:

1) Switch to USB sound card if I plug it in.

2) Sets volume to last save state for all channels.

3) Just playbacks music and sound.

4) In any application including flash videos.

5) Has no noticable latency. (Heck latency on a ThinkPad T520 with Intel
i5 Dualcore? What gives?)

6) Does not require any manual configuration except for defining priority
for sound cards and setting volume levels.

7) Works with mutiple applications and mutiple sessions.

Is there such a something?

I´d even work through some initial configuration if it then just works.

Thus Pulseaudio would be fine, if it actually did work to my satisfaction.

Ok, I stop now. My rant is misplaced here. A report that two copies of
Phonon does not seem to be able to share a dmix enabled output might be
good for upstream at bugs.kde.org.

So or so the current situation seems better than before. Cause at least
for the internal sound card with one session it works! And I use the USB
sound card for one application at a time anyway. And the internal one now
does Youtube flash video sound while a Phonon appplication like Amarok is
running - hope they switch to HTML 5 soon even without not enabling the
HTML 5 test mode before.

So thats fine for now.

And I even get louder playback than ever before with the internal speakers
on the T520.

I now use Phonon VLC, cause with Phonon Gstreamer Amarok doesn´t play all
sound files. And then for Phonon Gstreamer there is the idea to switch it
to Pulseaudio only¹.

[1] http://wm161.net/2012/05/16/musings-on-the-linux-audio-stack

Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201205261124.37381.Martin@lichtvoll.de">http://lists.debian.org/201205261124.37381.Martin@lichtvoll.de
 
Old 05-26-2012, 10:26 AM
Modestas Vainius
 
Default Good music player suggestion

Hello,

On šeštadienis 26 Gegužė 2012 12:24:37 Martin Steigerwald wrote:
> Am Samstag, 26. Mai 2012 schrieb Modestas Vainius:
> > Hello,
>
> Hi Modestas,
>
> > On ketvirtadienis 24 Gegužė 2012 22:17:26 Martin Steigerwald wrote:
> > > And guess what with VLC I had a latency for audio playback. After
> > > pressing play the video started immediately but sound was 1-2
> > > seconds late.
> > >
> > > This is just gone now with VLC directly using ALSA.
> >
> > Hehe, the last nail in the PulseAudio coffin
>
> Actually I am not so satisfied with this.
>
> Now I had to fiddle around now to get Phonon and non Phonon apps to play
> audio simultaneously. But I think this time I found a quite good solution:
>
> /etc/asound.conf:
>
> pcm.phonon {
> type plug
> slave.pcm "dmix"
> hint {
> show on
> description "HDA Intel PCH mit Mixer"
> }
> }
>
> And I set this as audio output in Phonon.
>
> Now I can have alsaplayer and Amarok playing simultaneously as dmix is
> already configured in current libasound2. So no further complex dmix
> configuration snippets required as thats already done.
>
> But then when I switch to a second KDE session sound playback again is
> muted. This even holds after a reboot! Even when alsamixer has all volumes
> up and no channel muted.

Is the second KDE session running under another user? If so, dmix does not
support more than one user at the same time (as far as I know).


--
Modestas Vainius <modax@debian.org>
 
Old 05-26-2012, 10:28 AM
Martin Steigerwald
 
Default Good music player suggestion

Am Samstag, 26. Mai 2012 schrieb Modestas Vainius:
> > But then when I switch to a second KDE session sound playback again
> > is muted. This even holds after a reboot! Even when alsamixer has
> > all volumes up and no channel muted.
>
> Is the second KDE session running under another user? If so, dmix does
> not support more than one user at the same time (as far as I know).

Yes, it is.

Ok, so then. I take it that only one session can playback for now. Thats
still better than dealing with all the Pulseaudio issues.

I will test the new setup for a while and see how that goes.

Thanks,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-kde-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201205261228.29565.Martin@lichtvoll.de">http://lists.debian.org/201205261228.29565.Martin@lichtvoll.de
 

Thread Tools




All times are GMT. The time now is 07:24 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org