Re: Problem with mplayer and OSS on at91sam9g20(kernel 2.6.30)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 24, 2009 at 02:36:26PM +0200, Sedji Gaouaou wrote:

> -- 2 error messages to note -------------------------
> mplayer:
> "[AO OSS]setup: driver doesn't support SNDCTL_DSP_GETOSPACE :-("

This is just going to be a knock on effect of the hw_params failing, I
expect...

> kernel:
> "asoc: machine hw_params failed"

...for which I'd suggest drilling down into the function to see which
operation fails.  Looking at the code I'd expect it's getting upset
because it's being called with an invalid rate (OSS emulation calls
hw_params with partially initialised parameters) but you're not seeing
the log message that ought to be printed when that happens.  Some trace
showing what causes it to return an error ought to point out the
culprit.  The usual way to fix these is to ignore any errors in the
function which isn't ideal but is needed with the way OSS emulation
works.

I won't have access to my sam9g20 board until next week to look at this
myself.  

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux