From: Raymond Yau <superquad.vortex2@gmail.com>
To: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: [PATCH] Two patches for Alsa-plugins (pulse)
Date: Sat, 10 Jul 2010 10:07:18 +0800 [thread overview]
Message-ID: <AANLkTiljxIAEnWRXaloxtftNNOs2-i4lT1x7fOtBmURb@mail.gmail.com> (raw)
In-Reply-To: <4C376182.5050807@epost.diwic.se>
2010/7/10 David Henningsson <launchpad.web@epost.diwic.se>
>
>
> The question is - is there an application that detects the underrun
> condition and actually acts on that condition? If so, this could be a
> regression for that app. For other apps it's an improvement, for the
> reasons originally stated.
>
> // David
>
Some application (e.g. xmms and audacious) allow user to configure the
period/buffer time
I don't know why the alsa-lib/test/latency did not run when using pulse
device
./latency -P pulse -C pulse -m 8192 -M 8192 -t 1 -p
/home/raymond/alsa-lib/test/.libs/lt-latency: invalid option -- 't'
!!!Scheduler set to Round Robin with priority 99 FAILED!!!
Playback device is pulse
Capture device is pulse
Parameters are 22050Hz, S16_LE, 2 channels, non-blocking mode
Poll mode: yes
Loop limit is 661500 frames, minimum latency = 8192, maximum latency = 8192
alsa-lib/test/latency -P hw:1,0 -C hw:1,0 -m 8192 -M 8192 -t 1 -p
/home/raymond/alsa-lib/test/.libs/lt-latency: invalid option -- 't'
!!!Scheduler set to Round Robin with priority 99 FAILED!!!
Playback device is hw:1,0
Capture device is hw:1,0
Parameters are 22050Hz, S16_LE, 2 channels, non-blocking mode
Poll mode: yes
Loop limit is 661500 frames, minimum latency = 8192, maximum latency = 8192
Hardware PCM card 1 'HDA Intel' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 22050
exact rate : 22050 (22050/1)
msbits : 16
buffer_size : 8192
period_size : 4096
period_time : 185759
tstamp_mode : NONE
period_step : 1
avail_min : 4096
period_event : 0
start_threshold : 2147483647
stop_threshold : 8192
silence_threshold: 0
silence_size : 0
boundary : 1073741824
appl_ptr : 0
hw_ptr : 0
Hardware PCM card 1 'HDA Intel' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 22050
exact rate : 22050 (22050/1)
msbits : 16
buffer_size : 8192
period_size : 4096
period_time : 185759
tstamp_mode : NONE
period_step : 1
avail_min : 4096
period_event : 0
start_threshold : 2147483647
stop_threshold : 8192
silence_threshold: 0
silence_size : 0
boundary : 1073741824
appl_ptr : 0
hw_ptr : 0
Trying latency 8192 frames, 371519.274us, 371.519274ms (2.6917Hz)
Success
Playback:
*** frames = 671744 ***
state : RUNNING
trigger_time: 14895.45132386
tstamp : 14925.138525741
delay : 8144
avail : 48
avail_max : 4152
Capture:
*** frames = 663552 ***
state : RUNNING
trigger_time: 14895.45132386
tstamp : 14925.138585923
delay : 1
avail : 1
avail_max : 4097
Maximum read: 4096 frames
Maximum read latency: 185759.637us, 185.759637ms (5.3833Hz)
Hardware sync
Playback time = 14895.45132, Record time = 14895.45132, diff = 0
next prev parent reply other threads:[~2010-07-10 2:07 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-23 19:57 [PATCH] Two patches for Alsa-plugins (pulse) David Henningsson
2010-06-23 23:44 ` Raymond Yau
2010-06-24 6:42 ` Takashi Iwai
2010-06-25 10:41 ` David Henningsson
2010-06-25 10:57 ` Colin Guthrie
2010-07-05 6:06 ` Takashi Iwai
2010-07-09 12:10 ` Takashi Iwai
2010-07-09 13:13 ` Raymond Yau
2010-07-09 16:23 ` Takashi Iwai
2010-07-09 17:50 ` David Henningsson
2010-07-09 22:58 ` Raymond Yau
2010-07-10 6:42 ` David Henningsson
2010-07-13 5:08 ` Raymond Yau
2010-07-13 6:57 ` David Henningsson
2010-07-13 8:32 ` Raymond Yau
2010-07-10 2:07 ` Raymond Yau [this message]
2010-07-29 7:11 ` Raymond Yau
2010-07-29 8:14 ` David Henningsson
2010-07-29 13:38 ` Raymond Yau
2010-07-17 4:30 ` Raymond Yau
2010-07-12 2:13 ` Raymond Yau
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=AANLkTiljxIAEnWRXaloxtftNNOs2-i4lT1x7fOtBmURb@mail.gmail.com \
--to=superquad.vortex2@gmail.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;
as well as URLs for NNTP newsgroup(s).