* [Qemu-devel] [4863] Call proper function when trying to set period size
@ 2008-07-09 19:25 malc
0 siblings, 0 replies; only message in thread
From: malc @ 2008-07-09 19:25 UTC (permalink / raw)
To: qemu-devel
Revision: 4863
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4863
Author: malc
Date: 2008-07-09 19:25:24 +0000 (Wed, 09 Jul 2008)
Log Message:
-----------
Call proper function when trying to set period size
Modified Paths:
--------------
trunk/audio/alsaaudio.c
Modified: trunk/audio/alsaaudio.c
===================================================================
--- trunk/audio/alsaaudio.c 2008-07-09 15:31:50 UTC (rev 4862)
+++ trunk/audio/alsaaudio.c 2008-07-09 19:25:24 UTC (rev 4863)
@@ -385,12 +385,14 @@
obt = ptime;
}
else {
+ int dir = 0;
snd_pcm_uframes_t psize = req->period_size;
- err = snd_pcm_hw_params_set_buffer_size_near (
+ err = snd_pcm_hw_params_set_period_size_near (
handle,
hw_params,
- &psize
+ &psize,
+ &dir
);
obt = psize;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-09 19:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-09 19:25 [Qemu-devel] [4863] Call proper function when trying to set period size malc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).