Skip to content

Commit

Permalink
audio fixes + initial audio capture support (malc)
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2040 c046a42c-6fe2-441c-8c8c-71466251a162
  • Loading branch information
bellard committed Jul 4, 2006
1 parent feea13e commit 8ead62c
Show file tree
Hide file tree
Showing 15 changed files with 514 additions and 54 deletions.
5 changes: 2 additions & 3 deletions audio/alsaaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ static struct {
.size_in_usec_in = 1,
.size_in_usec_out = 1,
#endif
.pcm_name_out = "hw:0,0",
.pcm_name_in = "hw:0,0",
.pcm_name_out = "default",
.pcm_name_in = "default",
#ifdef HIGH_LATENCY
.buffer_size_in = 400000,
.period_size_in = 400000 / 4,
Expand Down Expand Up @@ -606,7 +606,6 @@ static int alsa_run_out (HWVoiceOut *hw)
}
}

mixeng_clear (src, written);
rpos = (rpos + written) % hw->samples;
samples -= written;
len -= written;
Expand Down
Loading

0 comments on commit 8ead62c

Please sign in to comment.