[alsa-devel] Any OSS changes from kernel 2.6.21 to 2.6.23? Something broke.
James Courtier-Dutton
James at superbug.co.uk
Sat Nov 3 17:51:22 CET 2007
Timur Tabi wrote:
> 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.
>
Why are you using OSS. mplayer supports ALSA direct.
More information about the Alsa-devel
mailing list