Skip to contentSkip to conversation

SALSA Lib 0.0.11 - pcm_drain

DISCUSSION J. Scott Merritt 2 participants 4 messages Sep 16, 2007 – Sep 17, 2007

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw

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_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 ?

Sure, it's a typo :)

Fixed and released as 0.0.12 now. Thanks!

Takashi

#2 lore raw
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_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 ?

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.

#3 lore raw

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_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 ?

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 message snd_pcm_avail_update on 14-Sep-2007).

Oh, yeah, it should be fixed too. OK, I merged it now and re-released as 0.0.12. Thanks.

Takashi