alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: Clemens Ladisch <cladisch@fastmail.net>
Cc: alsa-devel@alsa-project.org
Subject: Re: Any OSS changes from kernel 2.6.21 to 2.6.23? Something broke.
Date: Fri, 02 Nov 2007 13:22:24 -0500	[thread overview]
Message-ID: <472B6AE0.1090109@freescale.com> (raw)
In-Reply-To: <1194023465.19772.1219244387@webmail.messagingengine.com>

Clemens Ladisch wrote:
> Timur Tabi wrote:
>> I have a customer who says that mplayer (using OSS) does not work when he tries
>> a kernel based on 2.6.23-rc4, but it works when he uses a kernel based on
>> 2.6.21.  Everything else is the same (including the version of alsa-lib), so I
>> presume something broke in the OSS emulation in the kernel.
> 
> It could also be a change in the driver.
> 
> And it would be nice to know what "does not work" actually means.

I didn't want to get into a length description of the problem without first 
seeing if there were any obvious changes.  There are still a few things I can debug.

The problem I'm seeing is that when using mplayer to play a video file through 
the OSS interface, at some point in the movie, the driver will stop telling ALSA 
that has finished playing a period.  It's almost as if ALSA is throttling the 
driver incorrectly.

If I tell mplayer to just play the file through OSS, the problem occurs almost 
immediately.  If I tell mplayer to convert the sample rate from 44100 to 48000 
(my driver understands 48000 but not 44100), the problem doesn't always occur, 
but when it does (about every other time I play the file), it starts to happen 
about 5 seconds into the file.

-- 
Timur Tabi
Linux kernel developer at Freescale

  reply	other threads:[~2007-11-02 18:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02 15:36 Any OSS changes from kernel 2.6.21 to 2.6.23? Something broke Timur Tabi
2007-11-02 17:11 ` Clemens Ladisch
2007-11-02 18:22   ` Timur Tabi [this message]
2007-11-03 16:51     ` James Courtier-Dutton
2007-11-04 15:15       ` Timur Tabi
2007-11-05 14:27 ` Takashi Iwai
2007-11-08  0:15   ` Timur Tabi
2007-11-08  7:34     ` Clemens Ladisch
2007-11-08 17:35       ` Timur Tabi
2007-11-08 19:33       ` Timur Tabi
  -- strict thread matches above, loose matches on Subject: below --
2011-01-31  3:09 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=472B6AE0.1090109@freescale.com \
    --to=timur@freescale.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=cladisch@fastmail.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 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).