Paul Davis wrote:
>
> >> You don't need to do this. Use the 'plughw' device which should do all
> >> conversions from you.
> >
> >I am a little confused about your advice. I am not sure how to access
> >the 'plughw' device from my application.
>
> snd_pcm_open (&handle, "plughw:N,M", ...)
>
>Apart from rates or 44.1 or 48kHz I was unable to find a rate/period
>size combination that I was able to use with plughw:0,0.
This is an error in alsa-lib as far as I can tell. its possible to set
the rate to 32kHz using the hardware device (for the Hammerfall) and
use it without a problem. I w
Paul Davis wrote:
>
> >I am a little confused about your advice. I am not sure how to access
> >the 'plughw' device from my application.
>
> snd_pcm_open (&handle, "plughw:N,M", ...)
>
> where N and M are the card number and subdevice number. Preferably,
> this is a string supplied by the
Jaroslav Kysela wrote:
>
> On Thu, 27 Jun 2002, Kris Modrak wrote:
>
> > I am writing a PCM application and wish to play a .wav file that has a
> > sampling rate of 8kHz on a hardware setup that only supports sampling
> > frequencies of 44.1 or 48kHz.
> >
> > Does anyone know how to implement th
On Thu, 27 Jun 2002, Kris Modrak wrote:
> I am writing a PCM application and wish to play a .wav file that has a
> sampling rate of 8kHz on a hardware setup that only supports sampling
> frequencies of 44.1 or 48kHz.
>
> Does anyone know how to implement this?
You don't need to do this. Use the
I am writing a PCM application and wish to play a .wav file that has a
sampling rate of 8kHz on a hardware setup that only supports sampling
frequencies of 44.1 or 48kHz.
Does anyone know how to implement this?
I have tried setting up a rate plugin in my .asoundrc file
pcm.r8 {
type rat