All of lore.kernel.org
 help / color / mirror / Atom feed
* OSS emulation and hardware configuration
@ 2011-09-14 13:37 Mike Crowe
  2011-09-14 15:04 ` Clemens Ladisch
  2011-09-14 16:13 ` Mark Brown
  0 siblings, 2 replies; 10+ messages in thread
From: Mike Crowe @ 2011-09-14 13:37 UTC (permalink / raw)
  To: alsa-devel

Hi folks,

Apologies if this is obvious, but how does the OSS emulation layer set
hardware parameters at the codec level?

We are working in an embedded environment, and using a custom codec
driver.  When we access it via the ALSA API, it works fine.  We have a
bf5xx_wm8990_hw_params() function with configures the critical
hardware parameters of the codec, and I have diagnostics code in the
driver which does kernel prints when the driver changes key codec
parameters (such as bit rate, timing, etc).

When my OSS application opens it's device and changes the audio rate,
I don't see that function getting called.  In core/oss/pcm_oss.c, I
see the snd_pcm_oss_set_rate() function getting called, but I don't
understand how it changes parameters in the codec.  My
bf5xx_wm8990_hw_params() never gets called.

Can somebody please point me in the right direction?  I have two
applications who need to access the audio driver, and at different bit
rates.  I have to makes sure they are getting set correctly.

Mike

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-09-14 23:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-14 13:37 OSS emulation and hardware configuration Mike Crowe
2011-09-14 15:04 ` Clemens Ladisch
2011-09-14 15:20   ` Mike Crowe
2011-09-14 16:08     ` Sean McNamara
2011-09-14 16:20       ` Mike Crowe
2011-09-14 16:57         ` Sean McNamara
2011-09-14 17:04       ` Takashi Iwai
2011-09-14 16:13 ` Mark Brown
2011-09-14 16:27   ` Mike Crowe
2011-09-14 23:23     ` Mark Brown

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.