Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* ALC1150 can't playback SND_PCM_FORMAT_FLOAT without dmix
@ 2014-05-04  7:27 Madura Anushanga
  2014-05-04 10:32 ` Daniel Mack
  0 siblings, 1 reply; 2+ messages in thread
From: Madura Anushanga @ 2014-05-04  7:27 UTC (permalink / raw)
  To: alsa-devel

Hi,

MSI z87-GD65 GAMING motherboard's ALC1150 plays SND_PCM_FORMAT_FLOAT with
noise[1] other non float formats work well. As soon as I changed
/etc/asound.conf from

pcm.!default{
   type hw
   card 1
}

to

pcm.dmixed {
        type asym
        playback.pcm {
                type dmix
                ipc_key 5678293
                ipc_perm 0660
                ipc_gid audio

                slave {
                        channels 2 # make 6 or 5.1 channel
                        pcm {
                                format S16_LE # S32_LE
                                rate 48000 # can also be 44100
                                type hw
                                card 1 # your card
                                device 0 # your device
                                subdevice 0 #important?
                        }

                        period_size 1024
                        buffer_size 8192
                }

                bindings {
                        0 0
                        1 1
# Uncomment below if using 6 channel
#                       2 2
#                       3 3
#                       4 4
#                       5 5
                }
        }
        capture.pcm "hw:0"
}

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

SND_PCM_FORMAT_FLOAT plays without a problem.

1. https://github.com/manushanga/vrok/blob/master/outs/alsa.cpp

            - Madura A.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-04 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-04  7:27 ALC1150 can't playback SND_PCM_FORMAT_FLOAT without dmix Madura Anushanga
2014-05-04 10:32 ` Daniel Mack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox