Mercurial > audlegacy
changeset 1525:a830b959c061 trunk
[svn] - locking the mutex on audacious data upload is unnecessary.
author | nenolod |
---|---|
date | Mon, 07 Aug 2006 22:58:22 -0700 |
parents | a2a3fd886132 |
children | 98a9c54459f0 |
files | ChangeLog Plugins/Visualization/paranormal/client.c |
diffstat | 2 files changed, 9 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Aug 07 21:56:22 2006 -0700 +++ b/ChangeLog Mon Aug 07 22:58:22 2006 -0700 @@ -1,3 +1,12 @@ +2006-08-08 04:56:22 +0000 William Pitcock <nenolod@nenolod.net> + revision [1962] + - some cleanups + + + Changes: Modified: + +2 -2 trunk/Plugins/Visualization/paranormal/client.c + + 2006-08-08 04:47:55 +0000 William Pitcock <nenolod@nenolod.net> revision [1960] - it might help if i actually ran bison on the script parser eh :)
--- a/Plugins/Visualization/paranormal/client.c Mon Aug 07 21:56:22 2006 -0700 +++ b/Plugins/Visualization/paranormal/client.c Mon Aug 07 22:58:22 2006 -0700 @@ -229,9 +229,6 @@ { guint i; - /* Lock the audio data */ - SDL_mutexP (audio_data_mutex); - /* Set up the audio data */ for (i=0; i<512; i++) { @@ -240,9 +237,6 @@ intermediate_pcm_data[PN_CHANNEL_CENTER][i] = .5 * (intermediate_pcm_data[PN_CHANNEL_LEFT][i] + intermediate_pcm_data[PN_CHANNEL_RIGHT][i]); } - - /* Unlock the audio data */ - SDL_mutexV (audio_data_mutex); } static void @@ -250,9 +244,6 @@ { guint i; - /* Lock the audio data */ - SDL_mutexP (audio_data_mutex); - /* Set up the audio data */ for (i=0; i<256; i++) { @@ -261,9 +252,6 @@ intermediate_freq_data[PN_CHANNEL_CENTER][i] = .5 * (intermediate_freq_data[PN_CHANNEL_LEFT][i] + intermediate_freq_data[PN_CHANNEL_RIGHT][i]); } - - /* Unlock the audio data */ - SDL_mutexV (audio_data_mutex); } static gboolean