Re: Sample format coversion bug?

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

 



At Mon, 29 Oct 2007 16:01:12 +0500,
Alexander E. Patrakov wrote:
> 
> Takashi Iwai wrote:
> > Well, apparently something wrong with mmap, then.
> 
> Do you mean "something is wrong with the kernel driver" or "plug really 
> expects mmap access to the card to be available"?

The latter case.  Does your driver support mmap?

> >   Does the device really support 24bit format?
> 
> No, it doesn't - that's the whole point of the test. I expected "plug" 
> to guess that the device supports a 16-bit format, record 16-bit samples 
> from the hardware, multiply all recorded samples by 256, and return the 
> result as 32-bit words (so that the result is a set of valid S24_LE 
> samples, even though the least significant byte is always zero).

Then yes, it should work like that.


Takashi
_______________________________________________
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