All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.co.uk>
To: Nicolas Boullis <nboullis@debian.org>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: writing an alsa driver for an MPEG decoder chip
Date: Sun, 28 Aug 2005 22:59:49 +0100	[thread overview]
Message-ID: <431233D5.4020502@superbug.co.uk> (raw)
In-Reply-To: <20050828144637.GA4452@home>

Nicolas Boullis wrote:
> Hi,
> 
> I am a member of the dxr3 project, that tries to write a linux driver 
> for the MPEG decoder em8300 chip that is mainly used in Sigma Design's 
> Hollywood+ and Creative Labs DXR3 boards.
> This chip handles hardware decoding of MPEG video, but is also able do 
> perform some limited audio playback.
> We corrently have a working OSS interface for the audio playbak, that 
> I'd like to replace with an ALSA one.
> I tried to write one, using Takashi Iwai's excellent "Writing an ALSA 
> Driver" guide. Unfortunately, the driver that I managed to write seems 
> to work fine when playing sound with xmms, but all other apps that I 
> tried failed to get any sound.
> 
> Anyone can help me figure out whet I missed?
> You can grab the relevant file at
> http://dxr3.sourceforge.net/download/em8300_alsa.c
> 
> Thanks in advance,
> 
> Nicolas Boullis
> 
> 
> PS: I am not subscribed to this list, please CC replies to me.
> 

I looked at the code. The period and buffer size selection looks a bit 
wrong. Can you explain to me what the actual buffer contraints are for 
the em8300 card? It looks to me that the only current contraint is 
number of periods. This seems to me to be rather a strange contrain to have.

James



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

  reply	other threads:[~2005-08-28 21:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-28 14:46 writing an alsa driver for an MPEG decoder chip Nicolas Boullis
2005-08-28 21:59 ` James Courtier-Dutton [this message]
2005-08-28 22:35   ` Nicolas Boullis
2005-08-28 22:51     ` James Courtier-Dutton
2005-08-28 23:36       ` Nicolas Boullis
2005-08-29  0:04         ` James Courtier-Dutton
2005-08-29 17:45           ` Nicolas Boullis

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=431233D5.4020502@superbug.co.uk \
    --to=james@superbug.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=nboullis@debian.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 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.