[alsa-devel] intel8x0 - copy function

Takashi Iwai tiwai at suse.de
Fri Apr 25 09:04:11 CEST 2008

At Fri, 25 Apr 2008 12:12:36 +0530,
Harsha priya gupta wrote:
> Hi,
> I am using Intel8x0 driver for my sound card.  During data transfer from
> user to driver, I am trying to collect the buffer. I have implemented .copy
> function and also disabled the mmap.
> If I disable the mmap in .info structure, i get an error that the device is
> in use. If i try getting the debug messages; It fails in
> snd_pcm_common_ioctl1 for  SNDRV_PCM_IOCTL_HW_REFINE.
> Can anyone please guide me on to the right path of implementing what I want
> to do.

Does the error occur even if you access via "hw:0", such as,
	% aplay -Dhw:0 foo.wav

??  If yes, there is some incosistency between the hardware
configuration and the implementation...


More information about the Alsa-devel mailing list