From: Takashi Iwai <tiwai@suse.de>
To: Eduard Hasenleithner <ehasenle@spamcop.net>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: ice1712 pro mode and alsaplayer
Date: Tue, 08 Jul 2003 13:06:11 +0200 [thread overview]
Message-ID: <s5hr851cm70.wl@alsa2.suse.de> (raw)
In-Reply-To: <1057435751.13735.45.camel@boundary.priv>
At 05 Jul 2003 22:09:12 +0200,
Eduard Hasenleithner wrote:
>
> So, alsaplayer still fails with set_periods to value 13 for a reason
> that I do not know, because I have forced alsaplayer to use the value 6.
> It appears that the "[" and "]" means that the borders are inclusive and
> that "(" and ")" means that the borders are exclusive. Although 13 and 7
> are exclusive alsaplayer tries to use these values. Maybe this is a bug
> in alsaplayer.
i guess yes. as you pointed out, the max. periods are 6 in fact.
> 2. With the ice1712, 256k of buffer memory and assuming 44.1kSps only
> 0.13 seconds of playback can be stored in the driver buffer. I noticed a
> lot of xrun when doing background tasks while listening to music or when
> only watching a video. What can be done about this?
> - Implement a pre-buffer in kernel with the source bitrate
> and number of channels?
we unlikely do this. basically such a buffer-handling shouldn't be
the job of kernel.
> - increase the kernel buffer. But then only for one second
> 1.8M of kernel ram are needed!
256kB is the hardware limit. so, it's also not possible.
unfortuantely, there is no concrete "good" solution for this problem.
an easy solution is to raise the scheduling priority of the
alsaplayer. then no xrun shouldn't happen.
the real solution might be to increase the size of internal buffer in
alsaplayer like xmms has...
Takashi
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
prev parent reply other threads:[~2003-07-08 11:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-05 20:09 ice1712 pro mode and alsaplayer Eduard Hasenleithner
2003-07-08 11:06 ` Takashi Iwai [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=s5hr851cm70.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=ehasenle@spamcop.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.