usbus428.c.patch_1.4_1.5
PATCH 1/1 usbus428.c.patch_1.4_1.5
Hi Takashi,
this enables DRAINING.
Here it is a really bugfix for using us428 with snd & alsaplayer. Please commit.
What do you think about the us428control stuffs I sent you last week?
best,
Karsten
? .directory
? alsa-driver/cscope.files
? alsa-driver/cscope.out
? alsa-driver/usb/us428/cscope.out
? alsa-lib/cscope.files
Index: alsa-driver/usb/us428/usbus428audio.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/usb/us428/usbus428audio.c,v retrieving revision 1.3
usb/us428/usbus428audio.c +4 -2
@@ -401,13 +401,15 @@ }if (pcm_captsubs) -if (pcm_captsubs->runtime->status->state ==SNDRV_PCM_STATE_RUNNING ) +if (pcm_captsubs->runtime->status->state ==SNDRV_PCM_STATE_RUNNING + || pcm_captsubs->runtime->status->state ==SNDRV_PCM_STATE_DRAINING ) runtime = pcm_captsubs->runtime;if (NULL == runtime){snd_us428_substream_t *playsubs = captsubs->stream->substream +SNDRV_PCM_STREAM_PLAYBACK ;snd_pcm_substream_t *pcm_playsubs = playsubs->pcm_substream;if (pcm_playsubs) -if (pcm_playsubs->runtime->status->state ==SNDRV_PCM_STATE_RUNNING ) +if (pcm_playsubs->runtime->status->state ==SNDRV_PCM_STATE_RUNNING + || pcm_playsubs->runtime->status->state ==SNDRV_PCM_STATE_DRAINING ) runtime = pcm_playsubs->runtime; }
Takashi Iwai
AppliedAt Sun, 5 Oct 2003 21:25:27 +0200,
Quoted 7 lines · Karsten Wiese
[1 <text/plain; us-ascii (7bit)>]
Hi Takashi,this enables DRAINING.
Here it is a really bugfix for using us428 with snd & alsaplayer. Please commit.
thanks, applied now.
Quoted 1 line
What do you think about the us428control stuffs I sent you last week?
it looks fine, i'll commit it soon, too.
ciao,
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf