Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26323
b: refs/heads/master
c: 5c59e09
h: refs/heads/master
i:
  26321: a3f2e15
  26319: 51c94b5
v: v3
  • Loading branch information
Steven Finney authored and Jaroslav Kysela committed Apr 27, 2006
1 parent 307b599 commit 64a7731
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bc56eff1279d2f33a6afe74a673360ae1cd0d838
refs/heads/master: 5c59e09d7e51f5781439aa6f1963076568fd1f4f
2 changes: 2 additions & 0 deletions trunk/sound/core/oss/pcm_oss.c
Original file line number Diff line number Diff line change
Expand Up @@ -1242,6 +1242,8 @@ static int snd_pcm_oss_set_format(struct snd_pcm_oss_file *pcm_oss_file, int for

if (format != AFMT_QUERY) {
formats = snd_pcm_oss_get_formats(pcm_oss_file);
if (formats < 0)
return formats;
if (!(formats & format))
format = AFMT_U8;
for (idx = 1; idx >= 0; --idx) {
Expand Down

0 comments on commit 64a7731

Please sign in to comment.