LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-12-2012, 04:44 PM   #1
gigam
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Rep: Reputation: Disabled
Don't play audio from two or more sources. Debian wheezy - pulseaudio


Hello. I have one little problem.
When I installed on my desktop mpd and mpc, I found that I can't hear other sources (like Amarok, Flash player etc.)at the time when mpc or other client is playing music. If I try to start audio stream with two Flash players in two tabs, I have the same problem.

How to solve it?
I have installed PulseAudio with default system settings and Jackd. How do I configure it for multiple sound sources?


gigam@bird:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

I'm using ALSA and PulseAudio as it was installed automatically.

P.S.
Hmmm... I have one additional error from PulseAudio:
pacmd:

>> load-module module-alsa-sink
Module load failed.

But in directory "/usr/lib/pulse-2.0/modules" I have it:
module-alsa-sink.so

Last edited by gigam; 08-12-2012 at 07:51 PM.
 
Old 08-13-2012, 05:13 AM   #2
gigam
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
In pacmd:
Quote:
>>> list-modules
27 module(s) loaded.
index: 0
name: <module-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of devices"
module.version = "2.0"
index: 1
name: <module-stream-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute/device state of streams"
module.version = "2.0"
index: 2
name: <module-card-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore profile of cards"
module.version = "2.0"
index: 3
name: <module-augment-properties>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Augment the property sets of streams with additional static information"
module.version = "2.0"
index: 4
name: <module-alsa-card>
argument: <device_id="1" name="pci-0000_01_00.1" card_name="alsa_card.pci-0000_01_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes card_properties="module-udev-detect.discovered=1">
used: 0
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "2.0"
index: 5
name: <module-alsa-card>
argument: <device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes card_properties="module-udev-detect.discovered=1">
used: 0
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "2.0"
index: 6
name: <module-udev-detect>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching drivers"
module.version = "2.0"
index: 7
name: <module-native-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Native protocol (UNIX sockets)"
module.version = "2.0"
index: 8
name: <module-native-protocol-tcp>
argument: <auth-anonymous=1>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Native protocol (TCP sockets)"
module.version = "2.0"
index: 9
name: <module-gconf>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "GConf Adapter"
module.version = "2.0"
index: 10
name: <module-default-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the default sink and source"
module.version = "2.0"
index: 11
name: <module-rescue-streams>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is removed, try to move their streams to the default sink/source"
module.version = "2.0"
index: 12
name: <module-always-sink>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Всегда оставлять хотя бы один аудиоприёмник загруженным, даже если он неопределён."
module.version = "2.0"
index: 13
name: <module-intended-roles>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically set device of streams based of intended roles of devices"
module.version = "2.0"
index: 14
name: <module-suspend-on-idle>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is idle for too long, suspend it"
module.version = "2.0"
index: 15
name: <module-console-kit>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Create a client for each ConsoleKit session of this user"
module.version = "2.0"
index: 16
name: <module-systemd-login>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Create a client for each login session of this user"
module.version = "2.0"
index: 17
name: <module-position-event-sounds>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
module.version = "2.0"
index: 18
name: <module-role-cork>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Mute & cork streams with certain roles while others exist"
module.version = "2.0"
index: 19
name: <module-filter-heuristics>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Detect when various filters are desirable"
module.version = "2.0"
index: 20
name: <module-filter-apply>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Load filter sinks automatically when needed"
module.version = "2.0"
index: 21
name: <module-dbus-protocol>
argument: <>
used: -1
load once: yes
properties:
module.author = "Tanu Kaskinen"
module.description = "D-Bus interface"
module.version = "2.0"
index: 22
name: <module-switch-on-port-available>
argument: <>
used: -1
load once: no
properties:

index: 23
name: <module-x11-publish>
argument: <display=:0.0>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "X11 credential publisher"
module.version = "2.0"
index: 24
name: <module-x11-cork-request>
argument: <display=:0.0>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Synthesize X11 media key events when cork/uncork is requested"
module.version = "2.0"
index: 25
name: <module-x11-xsmp>
argument: <display=:0.0 session_manager=local/bird:@/tmp/.ICE-unix/2343,unix/bird:/tmp/.ICE-unix/2343>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "X11 session management"
module.version = "2.0"
index: 26
name: <module-cli-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Command line interface protocol (UNIX sockets)"
module.version = "2.0"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio sample rates using an external hardware mixer and Pulseaudio on Debian SID questionbeast987 Linux - Hardware 1 03-26-2012 09:16 PM
[SOLVED] Cannot play any DVD in Debian Wheezy infoslaw Debian 14 11-02-2011 11:29 AM
smplayer: video+audio stutters with pulseaudio, audio files play fine GamerX Linux - Desktop 1 02-06-2009 08:53 PM
How to play audio from 2 sources? mivison Puppy 1 12-11-2007 11:54 AM
Sound -- can't play to audio sources simultaneously d33pdream Linux - General 4 02-09-2003 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration