Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [DE] [gelöst] phonon sound probleme  (Read 3096 times)

bastel

  • Guest
[DE] [gelöst] phonon sound probleme
« on: 2012/11/25, 15:48:17 »
Hallo.
Sobald ich die Musikwiedergabe in Amarok starte verstummt der Ton im Browser. Auch wenn ich unter "Phonon Systemeinstellung" den Sound teste verstummt ebenfalls der Ton im Browser.
Ich nutze den Digital (S/PDIF) Ausgang an meinem Mainboard.
Amarok alleine geht und auch der Browser allein spielt Musik.
Ich hab das VLC-backend benutzt.

Code: [Select]
lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Device aab0


Code: [Select]
lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Device aab0
bastel@flinkekiste:~$ ^C
bastel@flinkekiste:~$ lsmod | grep snd
snd_hda_codec_hdmi     22517  1
snd_hda_codec_realtek    56145  1
snd_hda_intel          26086  10
snd_hda_codec          96412  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               5780  1 snd_hda_codec
snd_pcm                72757  5 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7461  2 snd_pcm,snd_hda_intel
snd_seq                46578  0
snd_seq_device          6015  1 snd_seq
snd_timer              18302  4 snd_pcm,snd_seq
snd                    63970  25 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore               6424  1 snd


Code: [Select]
cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7f30000 irq 53
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xf7e60000 irq 52


gruß bastel

Offline hendrikL

  • Administrator
  • User
  • *****
  • Gravatar
  • Posts: 933
phonon sound probleme
« Reply #1 on: 2012/11/25, 19:58:48 »
moin,
du solltest dich mit dem "dmix" plugin von alsa beschäftigen.
Als kleiner wink, alsa dmix phonon in der suchmaschine deiner wahl eingeben.
Hier ein netter und informativer rant
http://lists.debian.org/debian-kde/2012/05/msg00094.html

hier geht es zur alsa-wiki
http://www.alsa-project.org/main/index.php/Asoundrc

ich habe hier, über den Sinn lässt sich streiten, nen soundmatsch aus radio-stream-via-mocp, youtube-musik-video und amarok-playing-soundfile.ogg laufen, ja es geht-

Ich habe ne asoundrc angelegt, und alles auf meine usb speaker geleitet.
Ich könnte meine asoundrc hier posten, nur wird sie dir nicht helfen, nun gut ich mach es trotzdem, es könnte ja die eine oder den anderen interessieren-

erst einmal
Code: [Select]

aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: Intel [HDA Intel], Gerät 0: AD198x Analog [AD198x Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: Intel [HDA Intel], Gerät 1: AD198x Digital [AD198x Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: Speaker [Logitech Speaker], Gerät 0: USB Audio [USB Audio]
  Sub-Geräte: 0/1
  Sub-Gerät #0: subdevice #0


nun die ~/.asoundrc

Code: [Select]

pcm.!default {
        type plug
        slave.pcm "dmixer"
}

pcm.dmixer  {
        type dmix
        ipc_key 1024
        slave {
                pcm "hw:1,0"
                period_time 0
                period_size 1024
                buffer_size 4096
                rate 44100
        }
        bindings {
                0 0
                1 1
        }
}

ctl.dmixer {
        type hw
        card 0
}

pcm.phonon {
        type plug
        slave.pcm "dmixer"
        hint {
                show on
                description "dmix"
        }
}


was habe ich noch gemacht, ich habe dmix (siehe hint ... "dmix", dort kannst du reinschreiben was du willst. so wird dieser eintrag pcm.phonon angezeigt) in phonon als default device eingestellt, also systemeinstellungen -> multimedia->phonon, backend vlc

gruß hendrikL

bastel

  • Guest
phonon sound probleme
« Reply #2 on: 2012/11/26, 19:38:24 »
hallo hendrikl.
danke für dein tip - hab ihn noch nicht ausprobiert.
eben hab ich den rechner mit ner live cd gestartet.
hab flash & amarok installiert.
und siehe da es funktioniert ohne probleme - also neben musik hören auch youtube kucken.

gruß bastel

bastel

  • Guest
phonon sound probleme
« Reply #3 on: 2012/11/27, 18:59:00 »
Ich habe phonon nochmal reinstalliert und in der "Systemeinstellung-Bevorzugtes Standard-Audio-Wiedergabegerät" das Digitale Wiedergabegerät NICHT nach oben verschoben. An erster Stelle steht nun der Analog-Ausgang.
Und es klappt alles.

Tzzz. - Aber schön das Problem ist gelöst.


Gruß bastel