* [PATCH] usbus428.c.patch_1.4_1.5
@ 2003-10-05 19:25 Karsten Wiese
2003-10-06 13:15 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Karsten Wiese @ 2003-10-05 19:25 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
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
[-- Attachment #2: usbus428.c.patch_1.4_1.5 --]
[-- Type: text/x-diff, Size: 1271 bytes --]
? .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
diff -u -r1.3 usbus428audio.c
--- alsa-driver/usb/us428/usbus428audio.c 30 Sep 2003 08:54:47 -0000 1.3
+++ alsa-driver/usb/us428/usbus428audio.c 5 Oct 2003 19:10:30 -0000
@@ -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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] usbus428.c.patch_1.4_1.5
2003-10-05 19:25 [PATCH] usbus428.c.patch_1.4_1.5 Karsten Wiese
@ 2003-10-06 13:15 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2003-10-06 13:15 UTC (permalink / raw)
To: Karsten Wiese; +Cc: alsa-devel
At Sun, 5 Oct 2003 21:25:27 +0200,
Karsten Wiese wrote:
>
> [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.
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-06 13:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-05 19:25 [PATCH] usbus428.c.patch_1.4_1.5 Karsten Wiese
2003-10-06 13:15 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.