Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342587
b: refs/heads/master
c: 9af4e7f
h: refs/heads/master
i:
  342585: 815a2dc
  342583: 2206a77
v: v3
  • Loading branch information
Xi Wang authored and Takashi Iwai committed Nov 14, 2012
1 parent 3f46011 commit 3c74561
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1762a59d8e8b5e99f6f4a0f292b40f3cacb108ba
refs/heads/master: 9af4e7fedab490fec6e831912859d6be92e9140d
3 changes: 2 additions & 1 deletion trunk/sound/core/oss/pcm_plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,13 @@ int snd_pcm_plugin_free(struct snd_pcm_plugin *plugin)
snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t drv_frames)
{
struct snd_pcm_plugin *plugin, *plugin_prev, *plugin_next;
int stream = snd_pcm_plug_stream(plug);
int stream;

if (snd_BUG_ON(!plug))
return -ENXIO;
if (drv_frames == 0)
return 0;
stream = snd_pcm_plug_stream(plug);
if (stream == SNDRV_PCM_STREAM_PLAYBACK) {
plugin = snd_pcm_plug_last(plug);
while (plugin && drv_frames > 0) {
Expand Down

0 comments on commit 3c74561

Please sign in to comment.