All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Wildgoose <lists@wildgooses.com>
To: Ed Wildgoose <lists@wildgooses.com>
Cc: Takashi Iwai <tiwai@suse.de>, Jaroslav Kysela <perex@suse.cz>,
	Paul Davis <paul@linuxaudiosystems.com>,
	alsa-devel@lists.sourceforge.net
Subject: Re: Problem with RME 9632 and Plug
Date: Wed, 04 Aug 2004 11:21:46 +0100	[thread overview]
Message-ID: <4110B8BA.30002@wildgooses.com> (raw)
In-Reply-To: <4110B29B.4020006@wildgooses.com>

Ed Wildgoose wrote:

>
>>> It won't help. We don't convert count of periods in the plug plugin.
>>> The only one solution is that the application will start using
>>> an external timing source for PCM (see set/get_tick_time functions)
>>> - or another timer available for applications - in this case when 
>>> hardware has this constraint.   
>>
>> Hmm, basically RME h/w can generate enough fine interrupts with a
>> small period size, but it can handle only two periods.
>>
>> If we have an intermediate buffer, any number of periods must be able
>> to handle (only when the given period size or size/N is supported by
>> hw)...
>
> Are you implying that this is possible with the code today, or only 
> that it's theoretically possible to add code to the plug device to do 
> this?
>
> Clearly the plug device could emulate a larger buffer with more 
> periods and then run it's own thread to spool the stuff to the 
> hardware in slow time.  However, whether this is desirable is another 
> matter.


Of course this functionality is already in dmix isn't it?  ie DMix will 
emulate a virtual device with arbitrary sized buffers and periods?  Or 
does it just let you select values but require that they correspond to 
those that the hardware is capable of supporting?

I have tried a few quick workarounds to find something which would 
emulate a device with higher latency.  Jack was the obvious one, but 
even there it seems to only show the underlying hardware and hence you 
are back to 2 periods again.

Hacking mplayer is proving a little more tricky... I will take my 
thoughts to the mplayer list, but it looks as though the main decoding 
loop can't quite get down to very low latencies, the process of 
alternating between decoding a video frame, then adding some audio is 
still causing the odd dropout, and presumably this is caused by the 
video decoding phase (more testing needed)

Thanks for any ideas on workarounds

Ed W


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com

  reply	other threads:[~2004-08-04 10:21 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-03 13:46 Problem with RME 9632 and Plug Ed Wildgoose
2004-08-03 14:36 ` Paul Davis
2004-08-03 15:44   ` Ed Wildgoose
2004-08-03 16:21     ` Ed Wildgoose
2004-08-03 17:32       ` Paul Davis
2004-08-03 23:55         ` Ed Wildgoose
2004-08-04  0:18           ` Paul Davis
2004-08-04  7:39             ` Jaroslav Kysela
2004-08-04  9:35               ` Ed Wildgoose
2004-08-04 10:20                 ` Jaroslav Kysela
2004-08-04 11:16                   ` Ed Wildgoose
2004-08-04 12:24                     ` Paul Davis
2004-08-04 12:43                       ` Ed Wildgoose
2004-08-04 13:01                         ` Paul Davis
2004-08-04 13:31                           ` Ed Wildgoose
2004-08-04 15:13                             ` Zsolt Barat
2004-08-04 15:03                           ` Zsolt Barat
2004-08-04 15:24                             ` Paul Davis
2004-08-04 13:35                         ` James Courtier-Dutton
2004-08-04  9:44               ` Takashi Iwai
2004-08-04  9:55                 ` Ed Wildgoose
2004-08-04 10:21                   ` Ed Wildgoose [this message]
2004-08-04 10:20                 ` Jaroslav Kysela
2004-08-04 10:27                   ` Takashi Iwai
2004-08-04 10:56                     ` Jaroslav Kysela
2004-08-04 11:15                       ` Takashi Iwai
2004-08-04 10:30                   ` Ed Wildgoose
2004-08-04 10:53                     ` Jaroslav Kysela
2004-08-04 11:21                       ` Ed Wildgoose
2004-08-04  9:52             ` Ed Wildgoose

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=4110B8BA.30002@wildgooses.com \
    --to=lists@wildgooses.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=paul@linuxaudiosystems.com \
    --cc=perex@suse.cz \
    --cc=tiwai@suse.de \
    /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.