Skip to contentSkip to conversation

handle an external PWM amplifier via alsa interface

DISCUSSION Matteo Canella 1 participant 1 message Jan 27, 2009

lore
Share & tools
lore
#0 lore raw

Hi,
I'm a newbie in ALSA development.
I'm trying to implement an alsa interface for the audio section of my board. I have an mpc5200 that control via i2s a pcm1774 stereo DAC and I also have an amplifier between the DAC and the speakers.
At the moment I have the pcm1774 driver properly working, but I have a few ideas on how to integrate the control of the external amplifier in the alsa structure. I need to set the amplifier level with a PWM input to it.

Now I'm trying to use "non dapm" controls, adding the PWM settings into this structure...

What do you guys think about this?
Am I completely wrong or could this be a good way?

Thanks a lot

  Ing. Matteo Canella
  Firmware Engineer
  Digitek - MTA SpA
  Via L. Romagnoli, 24
  41033 Concordia s.S. (MO) - Italy
  T. +39 0535 57732
  F. +39 0535 54550
  email: [email protected]