Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Ashwin.Chandra@corel.com
Cc: alsa-devel@alsa-project.org
Subject: Re: Alsa Issue - Sound playback starts on left speaker	only
Date: Wed, 25 Jun 2008 12:23:19 +0200	[thread overview]
Message-ID: <s5hlk0tolt4.wl%tiwai@suse.de> (raw)
In-Reply-To: <6AA7F928714999469B70E7707C87F82C5315A8@TW-EVS02.corelcorp.corel.ics>

At Wed, 25 Jun 2008 01:52:16 +0800,
<Ashwin.Chandra@corel.com> wrote:
> 
> I have an Intel ALC861VD. Other players (mplayer, smplayer, aplay) don't
> seem to exhibit this problem. Is there any workaround I can do in my
> application so that upon first time sound playback, I can get it to play
> on both channels?

Check /proc/asound/card0/pcm0p/sub0/* files and compare between
working and non-working states.  I guess the working case uses OSS
emulation or 16bit format.

If so, try to add the following to ~/.asoundrc:

  defaults.pcm.dmix.format S16_LE


Takashi

> 
> -----Original Message-----
> From: stan [mailto:ghjeold_i_mwee@cox.net] 
> Sent: Tuesday, June 24, 2008 1:25 AM
> To: Ashwin Chandra
> Cc: alsa-devel@alsa-project.org
> Subject: Re: [alsa-devel] Alsa Issue - Sound playback starts on left
> speaker only
> 
> Ashwin.Chandra@corel.com wrote:
> >  
> >
> > Hello,
> >
> > I am having an issue with my playback application where upon playback
> > start, only the left speaker is outputted. But if I mute and unmute
> > (either through my application or using alsamixer), the sound playback
> > resumes on both left and right speakers. This only happens on a
> > particular system too (out of 5 systems). But I know it is my issue
> > because mplayer or smplayer works fine.
> >
> >  
> >
> > I believe I am setting the correct HW params (ie. 2 channels), etc.
> >
> >  
> >
> > Any ideas?
> >
> >  
> >
> > Thanks!
> >
> >   
> The ICE1724 driver has exactly this behavior.  It is a known bug and has
> 
> been there for years.
> You don't say what chip is having the problem, but I would guess that 
> this is it.  Most people
> just program a script to adjust the volume at startup to cure it.
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

  reply	other threads:[~2008-06-25 10:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-24  7:14 Alsa Issue - Sound playback starts on left speaker only Ashwin.Chandra
2008-06-24  8:25 ` stan
2008-06-24 17:52   ` Ashwin.Chandra
2008-06-25 10:23     ` Takashi Iwai [this message]
2008-06-25 18:07       ` Ashwin.Chandra
2008-06-25 21:02       ` Ashwin.Chandra
     [not found]       ` <6AA7F928714999469B70E7707C87F82C5316A8@TW-EVS02.corelcorp.corel.ics>
2008-06-26  6:25         ` Takashi Iwai
     [not found]           ` <6AA7F928714999469B70E7707C87F82C531732@TW-EVS02.corelcorp.corel.ics>
2008-06-26  6:56             ` Takashi Iwai
2008-06-25  9:29   ` Takashi Iwai
2008-06-25  9:38     ` Pavel Hofman
2008-06-25 10:19       ` Takashi Iwai
2008-06-25 16:52       ` stan

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=s5hlk0tolt4.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=Ashwin.Chandra@corel.com \
    --cc=alsa-devel@alsa-project.org \
    /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