Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@zonque.org>
To: Madura Anushanga <madura.x86@gmail.com>, alsa-devel@alsa-project.org
Subject: Re: ALC1150 can't playback SND_PCM_FORMAT_FLOAT without dmix
Date: Sun, 04 May 2014 12:32:36 +0200	[thread overview]
Message-ID: <53661744.2080209@zonque.org> (raw)
In-Reply-To: <CAJ70YRB7F+9XemQFQo1J3MaM_b4GfexvdVE7VG2OYPiVXDXt7g@mail.gmail.com>

Hi,

On 05/04/2014 09:27 AM, Madura Anushanga wrote:
> 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
> }

The 'hw' plugin requires the audio hardward to support the configured
format natively, matching the exact sample format, alignment and
endianess, as well as the sample rate and channel number etc.

I don't know of any consumer-class Codec that supports float on the
hardware wire.

> pcm.dmixed {
>         type asym
>         playback.pcm {
>                 type dmix

...

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

In general, you should use the 'plughw' plugin for generic applications,
which does the implicit sample format conversion for you.


Daniel

      reply	other threads:[~2014-05-04 10:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53661744.2080209@zonque.org \
    --to=daniel@zonque.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=madura.x86@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox