LinHES Forums
http://forums.linhes.org/

speaker-test only using 2 channels
http://forums.linhes.org/viewtopic.php?f=23&t=24249
Page 1 of 1

Author:  Girkers [ Sun Nov 15, 2015 10:18 pm ]
Post subject:  speaker-test only using 2 channels

When I run speaker-test I get the following:
Code:
[root@mythlounge ~]# speaker-test -c 6 -t wav

speaker-test 1.0.29

Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 1024 to 4096
Period size range from 512 to 512
Using max buffer size 4096
Periods = 4
was set period_size = 512
was set buffer_size = 4096
 0 - Front Left
 1 - Front Right
 2 - Unused
 3 - Unused
 4 - Unused
 5 - Unused
Time per period = 8.558562
 0 - Front Left
^CWrite error: -4,Interrupted system call
xrun_recovery failed: -4,Interrupted system call
Transfer failed: Interrupted system call


The sound comes out of the Left and Right speaker but as you can see no where else, my asound.conf appears as such and was setup via the FE:
Code:
pcm.dmixer {
  type dmix
  ipc_key 2048
  slave {
    pcm "hw:NVidia,7"
    period_size 512
    buffer_size 4096
#    rate 48000
#    format S16_LE
  }
}

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


Any ideas as to why I am getting nothing out of the other channels.

Cheers

Author:  brfransen [ Mon Nov 16, 2015 10:01 am ]
Post subject:  Re: speaker-test only using 2 channels

I get the same results here too. Changing /etc/asound.conf to pcm.!default "plughw:NVidia,7" works correctly so there is something in the dmix config that is doing it.

But what is the use case here? What application (other than speaker-test of course) outputs six channel audio that is not a PCM bitstream? Myth, Plex, Kodi, & mplayer all correctly switch to DD/DTS/Multichannel when the source supplies it for me. Does the MythTV Settings > Audio test play all 6 channels?

I have found that dmix is vital for many sites that have Flash because they have multiple sources for audio. Without dmix the first one gets opened but the next sources are blocked.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/