Hi,
I'm running Ubuntu 15.04 on a PC with the onboard soundcard and a Xonar DG. I'd like to switch between the two, as I have different speakers attached to each one, in ncmpcpp. Now, I can only see "MPD" as an output and if I try to run a pulse audio applet - pasystray - it says playback streams -> None.
Firefox, for example, will show in playback streams, so I'm sure this is related to mpd/ncmpcpp. Any ideas what I can look into?
my mpd.conf
Code:
# Required filesdb_file "~/.config/mpd/database"
log_file "~/.config/mpd/log"
user "jeff"
port "6601"
mixer_type "software"
# Optional
music_directory "/media/Music"
playlist_directory "~/.config/mpd/playlists"
pid_file "~/.config/mpd/pid"
state_file "~/.config/mpd/state"
sticker_file "~/.config/mpd/sticker.sql"
audio_output {
type "pulse"
name "pulse audio"
sink "<alsa_output.pci-0000_00_1b.0.analog-stereo>"
mixer_control "Master"
server "localhost"
# server "remote_server" # optional
# sink "remote_server_sink" # optional
}
audio_output {
type "pulse"
name "Pulse HD Audio"
sink "<alsa_output.pci-0000_09_00.0.analog-stereo>"
mixer_control "Master"
server "localhost"
}
my ncmpcpp/config:
Code:
mpd_host = "127.0.0.1"
mpd_port = "6600"
mpd_music_dir = "/media/Music"
mpd_crossfade_time = "1"
visualizer_in_stereo = "no"
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "my_fifo"
visualizer_sync_interval = "1"
song_list_format = "$3{%A }|{%a }$7{%b }$0{%t}| $4$R{%7l}$9"
now_playing_prefix = "$4"
now_playing_suffix = "$9"
song_columns_list_format = "(34)[green]{a} (34)[]{t|f} (32)[cyan]{b}"
playlist_display_mode = "columns"
browser_display_mode = "columns"
search_engine_display_mode = "columns"
autocenter_mode = "yes"
centered_cursor = "yes"
progressbar_look = " "
user_interface = "alternative"
default_space_mode = "select"
header_visibility = "no"
statusbar_visibility = "no"
titles_visibility = "no"
follow_now_playing_lyrics = "yes"
store_lyrics_in_song_dir = "yes"
screen_switcher_mode = "sequence: 2 -> 3 -> 9 -> 10"
ignore_leading_the = "yes"
empty_tag_marker = "[empty]"
main_window_color = "default"
main_window_highlight_color = "default"
visualizer_color = "default"
pacmd sinks (ignore the 1st one, from my video card)
Code:
$ pacmd list-sinks | grep name
name: <alsa_output.pci-0000_02_00.1.hdmi-stereo>
alsa.name = "HDMI 0"
alsa.subdevice_name = "subdevice #0"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xfb080000 irq 18"
alsa.driver_name = "snd_hda_intel"
device.vendor.name = "NVIDIA Corporation"
device.product.name = "GF110 High Definition Audio Controller"
device.profile.name = "hdmi-stereo"
alsa.mixer_name = "Nvidia GPU 18 HDMI/DP"
device.icon_name = "audio-card-pci"
device.icon_name = "video-display"
name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
alsa.name = "ALC892 Analog"
alsa.subdevice_name = "subdevice #0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xfb620000 irq 46"
alsa.driver_name = "snd_hda_intel"
device.vendor.name = "Intel Corporation"
device.product.name = "6 Series/C200 Series Chipset Family High Definition Audio Controller"
device.profile.name = "analog-stereo"
alsa.mixer_name = "Realtek ALC892"
device.icon_name = "audio-card-pci"
device.icon_name = "audio-headphones"
name: <alsa_output.pci-0000_09_00.0.analog-stereo>
alsa.name = "Multichannel"
alsa.subdevice_name = "subdevice #0"
alsa.card_name = "Xonar DG"
alsa.long_card_name = "C-Media Oxygen HD Audio at 0xc000, irq 18"
alsa.driver_name = "snd_oxygen"
device.vendor.name = "C-Media Electronics Inc"
device.product.name = "CMI8788 [Oxygen HD Audio] (CMI8786 (Xonar DG))"
device.profile.name = "analog-stereo"
alsa.mixer_name = "CMI8786"
device.icon_name = "audio-card-pci"
device.icon_name = "audio-headphones"
I appreciate any help you can give me.
Bookmarks