no 5.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My computer S/PDIF on the motherboard is connected to an amplifier by a 
digital cable.
I used to get 5.1 sound but now I only get left front and right front, 
no center, no sub, no rear.
VLC only has stereo; I can't tell with Amarok but I think it only stereo.

$ speaker-test -c 6

speaker-test 1.0.24.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 4096
Period size range from 1024 to 1024
Using max buffer size 4096
Periods = 4
was set period_size = 1024
was set buffer_size = 4096
  0 - Front Left
  4 - Center
  1 - Front Right
  3 - Rear Right
  2 - Rear Left
  5 - LFE

more /etc/asound.conf
pcm.!default {
   type plug
## Uncomment the following to use mixed analog by default
#  slave.pcm "dmix-analog"
## Uncomment the following to use unmixed digital by default
#  slave.pcm "digital-hw"
## Uncomment the following to use mixed digital by default
   slave.pcm "dmix-digital"
}
...
# Alias for digital (S/PDIF) output on the Audigy (hw:0,0)
# Do not use this directly--it requires specific rate,
# channels, and format
pcm.digital-hw {
  type hw
  card 0
  device 1
}

# Control device (mixer, etc.) for the Audigy card
ctl.digital-hw {
  type hw
  card 0
}
...
# Direct software mixing plugin for digital (S/PDIF) output
# on the Audigy (hw:0,0)
# Do not use this directly--it requires specific rate,
# channels, and format
pcm.dmix-digital {
  type dmix
  ipc_key 1235
  slave {
    pcm "digital-hw"
    period_time 0
    period_size 1024
    buffer_size 4096
    rate 48000
  }
}

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC888 Analog [ALC888 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC888 Digital [ALC888 Digital]
   Subdevices: 0/1
   Subdevice #0: subdevice #0


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux