esound r517 - trunk
- From: jmouette svn gnome org
- To: svn-commits-list gnome org
- Subject: esound r517 - trunk
- Date: Tue, 18 Nov 2008 20:19:01 +0000 (UTC)
Author: jmouette
Date: Tue Nov 18 20:19:01 2008
New Revision: 517
URL: http://svn.gnome.org/viewvc/esound?rev=517&view=rev
Log:
* audio_alsa09.c: fix signedness of parameters passed to the
ALSA API.
Modified:
trunk/ChangeLog
trunk/audio_alsa09.c
Modified: trunk/audio_alsa09.c
==============================================================================
--- trunk/audio_alsa09.c (original)
+++ trunk/audio_alsa09.c Tue Nov 18 20:19:01 2008
@@ -93,11 +93,11 @@
snd_pcm_t *handle;
snd_pcm_hw_params_t *hwparams;
int err;
- int periods;
+ unsigned int periods;
#ifdef DRIVER_ALSA_09_NEW_PCM_API
int t_dir=0;
- int t_speed=speed;
+ unsigned int t_speed=(unsigned int)speed;
snd_pcm_uframes_t t_bufsize=BUFFERSIZE;
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]