Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* bug in playing 6-channel sound
@ 2019-07-04 10:46 Julian Bradfield
  2019-07-05 10:21 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Julian Bradfield @ 2019-07-04 10:46 UTC (permalink / raw)
  To: alsa-devel

Some five years ago, the following post

https://mailman.alsa-project.org/pipermail/alsa-devel/2014-February/072265.html

reported a failure to play six-channel sound, that could be worked
around by setting the prealloc value for the device to various values
*other than* the default 64. 

I have just run into this playing a movie from my laptop (Thinkpad
Yoga X1, Intel HDA PCH sound card outputting through HDMI) running
Xubuntu 18.04, up to date as at the time of posting.

I see exactly the same problem as in that post, and the same
workaround works for me - I tried prealloc values 63,65,32,128, and
any of them is ok.

I'm a bit baffled that such a problem has survived for several years.

If any developer would like me to provide debugging information,
please get in touch - I have some time available at present, but not
enough to learn ALSA and debug it myself!

I will remain subscribed to the list for a few weeks to read any
followups.

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

* Re: bug in playing 6-channel sound
  2019-07-04 10:46 bug in playing 6-channel sound Julian Bradfield
@ 2019-07-05 10:21 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2019-07-05 10:21 UTC (permalink / raw)
  To: Julian Bradfield; +Cc: alsa-devel

On Thu, 04 Jul 2019 12:46:20 +0200,
Julian Bradfield wrote:
> 
> Some five years ago, the following post
> 
> https://mailman.alsa-project.org/pipermail/alsa-devel/2014-February/072265.html
> 
> reported a failure to play six-channel sound, that could be worked
> around by setting the prealloc value for the device to various values
> *other than* the default 64. 
> 
> I have just run into this playing a movie from my laptop (Thinkpad
> Yoga X1, Intel HDA PCH sound card outputting through HDMI) running
> Xubuntu 18.04, up to date as at the time of posting.
> 
> I see exactly the same problem as in that post, and the same
> workaround works for me - I tried prealloc values 63,65,32,128, and
> any of them is ok.
> 
> I'm a bit baffled that such a problem has survived for several years.

Maybe just because most distros use the larger preallocation size via
kconfig option since long time ago.  It's kept to 64 as default in the
source tree just for a historical reason.


Takashi

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

end of thread, other threads:[~2019-07-05 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-04 10:46 bug in playing 6-channel sound Julian Bradfield
2019-07-05 10:21 ` Takashi Iwai

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