All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fausto Carvalho Marques SIlva <fausto@tse.gov.br>
To: Clemens Ladisch <cladisch@fastmail.net>
Cc: alsa-devel@alsa-project.org
Subject: Re: Setting audio channels on ICH5 with SALSA
Date: Fri, 13 Jul 2007 12:47:16 -0300	[thread overview]
Message-ID: <46979E84.3090006@tse.gov.br> (raw)
In-Reply-To: <1184222164.3645.1199757897@webmail.messagingengine.com>


>The ICH5 AC97 controller does not support mono output; you must use at
>least a stereo stream.
>  
>
Ok, but lets clear the thing here:

 - I ussing salsa v 0.0.6
 - Look at this simple code:

  if ((err = snd_pcm_hw_params_set_channels (playback_handle, hw_params, 
1)) < 0) {
        fprintf (stderr, "cannot set channel count (%s)\n",
                 snd_strerror (err));
        exit (1);
    }

    if ((err = snd_pcm_hw_params_get_channels (hw_params,&j)) < 0) {
        fprintf (stderr, "cannot set channel count (%s)\n",
                 snd_strerror (err));
        exit (1);
    }

when ussing alsa-lib 1.0.14 with device "hw" i get EINVAL,
when ussing alsa-lib 1.0.14 with device "default" i do not get erros 
(set or get functions)
My alsa.conf is the installation default one.
I think the dafault device on alsa.conf is setting something the 
salsa-lib does not...
Any help is wellcome...

Fausto Carvalho Marques Silva

  reply	other threads:[~2007-07-13 15:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-11 20:04 Setting audio channels on ICH5 with SALSA Fausto Carvalho Marques SIlva
2007-07-11 22:17 ` Fausto Carvalho Marques SIlva
2007-07-12  6:36   ` Clemens Ladisch
2007-07-13 15:47     ` Fausto Carvalho Marques SIlva [this message]
2007-07-13 17:19       ` Clemens Ladisch
2007-07-13 17:19         ` Fausto Carvalho Marques SIlva
2007-07-13 17:41           ` Takashi Iwai

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=46979E84.3090006@tse.gov.br \
    --to=fausto@tse.gov.br \
    --cc=alsa-devel@alsa-project.org \
    --cc=cladisch@fastmail.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.