Re: [PATCH] sparc dbri: recording is back

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

 



At Wed, 23 Aug 2006 20:10:35 +0200,
Krzysztof Helt wrote:
> 
> @@ -2159,7 +2139,7 @@ static snd_pcm_uframes_t snd_dbri_pointe
>  	snd_pcm_uframes_t ret;
>  
>  	ret = bytes_to_frames(substream->runtime, info->offset)
> -		% substream->runtime->buffer_size;
 >+		% (substream->runtime->buffer_size + 1);
>  	dprintk(D_USR, "I/O pointer: %ld frames of %ld.\n",
>  		ret, substream->runtime->buffer_size);
>  	return ret;

What is the reason of this change?  The original code looks OK to me.
The pointer callback must return a value between 0 and
(buffer_size-1).


Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/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