lkml.org 
[lkml]   [1998]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sb16 duplex fix
Andrea Arcangeli wrote:
>
> It' s not a fix btw ;-).
>
> On Tue, 13 Oct 1998, Daniel J. Rodriksson wrote:
>
> >in the sb module. I now consider the patch safe so I feel
> >it's time for public release.
>
> The mmap case? I think you should cause mmap() to fail if used on the
> real-time-bit-converted channel.
>
Yes, but since this is in the upper level ( I have already
modified audio.c) it would require to put a new field
in device->dmap ( only in the dmap_out ) to indicate
bit conversion is happening, meaning this device can't
be mmaped.

Another options would be:
Convert the mmapped buffer!
Find out if sb16 can do 16-16 rather than 8-16 or 16-8.

I have the creative pdf describing the hardware but haven't
had a look into it. This next weekend!


> Andrea Arcangeli

--
-------------------------------------------------------------|
| Remember Scotch: 'THERE CAN BE ONLY ONE' |
-------------------------------------------------------------|
| Daniel J. Rodriksson | C-220,ETSI Telecomunicaciones |
| djr@dit.upm.es | Avda Paraninfo S/N |
| http://www.dit.upm.es/~djr | 28040 Madrid |
| +34-1-3367366 + ext 469 | SPAIN |
|------------------------------------------------------------|

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.096 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site