SALSA Lib 0.0.11 - pcm_drain
In salsa-lib 0.0.11, pcm-macros.h : line 229
snd_pcm_drain calls the ioctl with SNDRV_PCM_IOCTL_DROP. (seemingly confusing -drop- with -drain-)
Is there any reason that this shouldn't be changed to call the ioctl with SNDRV_PCM_IOCTL_DRAIN ?
Thanks, Scott.
At Sun, 16 Sep 2007 19:01:32 -0400,
Quoted 8 lines · J. Scott Merritt
In salsa-lib 0.0.11,
pcm-macros.h: line 229
snd_pcm_draincalls the ioctl withSNDRV_PCM_IOCTL_DROP. (seemingly confusing -drop- with -drain-)Is there any reason that this shouldn't be changed to call the ioctl with
SNDRV_PCM_IOCTL_DRAIN?
Sure, it's a typo :)
Fixed and released as 0.0.12 now. Thanks!
Takashi
Quoted 11 lines · On Mon, 17 Sep 2007 14:34:39 +0200 Takashi Iwai <[email protected]> wrote:
At Sun, 16 Sep 2007 19:01:32 -0400,
Quoted 8 lines · J. Scott Merritt
In salsa-lib 0.0.11,
pcm-macros.h: line 229
snd_pcm_draincalls the ioctl withSNDRV_PCM_IOCTL_DROP. (seemingly confusing -drop- with -drain-)Is there any reason that this shouldn't be changed to call the ioctl with
SNDRV_PCM_IOCTL_DRAIN?
Quoted 6 lines
Sure, it's a typo :)
Fixed and released as 0.0.12 now. Thanks!
Takashi
Thanks Takashi,
I do not yet see 0.0.12 on the FTP server (ftp.suse.com/pub/people/tiwai/salsa-lib), but I'm sure it will be there shortly.
However, if you are preparing another SALSA release, you might also want to consider including:
pcm->stream = stream;
somewhere around line 133 in pcm.c (as per my message snd_pcm_avail_update on 14-Sep-2007).
Thanks, Scott.
At Mon, 17 Sep 2007 09:32:43 -0400,
Quoted 20 lines · J. Scott Merritt
Quoted 16 lines · On Mon, 17 Sep 2007 14:34:39 +0200 Takashi Iwai <[email protected]> wrote:
At Sun, 16 Sep 2007 19:01:32 -0400,
Quoted 8 lines · J. Scott Merritt
In salsa-lib 0.0.11,
pcm-macros.h: line 229
snd_pcm_draincalls the ioctl withSNDRV_PCM_IOCTL_DROP. (seemingly confusing -drop- with -drain-)Is there any reason that this shouldn't be changed to call the ioctl with
SNDRV_PCM_IOCTL_DRAIN?Sure, it's a typo :)
Fixed and released as 0.0.12 now. Thanks!
Quoted 7 lines
Quoted 1 line
Takashi
Thanks Takashi,
I do not yet see 0.0.12 on the FTP server (ftp.suse.com/pub/people/tiwai/salsa-lib), but I'm sure it will be there shortly.
It'll take some time to be exported to FTP server.
Quoted 7 lines
However, if you are preparing another SALSA release, you might also want to consider including:
pcm->stream= stream;somewhere around line 133 in
pcm.c(as per my messagesnd_pcm_avail_updateon 14-Sep-2007).
Oh, yeah, it should be fixed too. OK, I merged it now and re-released as 0.0.12. Thanks.
Takashi