# HG changeset patch # User nenolod # Date 1155016702 25200 # Node ID a830b959c0614b9e1fa42a3c1e58541a97eaf3d7 # Parent a2a3fd886132026fb31d784ae10c00822516235a [svn] - locking the mutex on audacious data upload is unnecessary. diff -r a2a3fd886132 -r a830b959c061 ChangeLog --- 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 + revision [1962] + - some cleanups + + + Changes: Modified: + +2 -2 trunk/Plugins/Visualization/paranormal/client.c + + 2006-08-08 04:47:55 +0000 William Pitcock revision [1960] - it might help if i actually ran bison on the script parser eh :) diff -r a2a3fd886132 -r a830b959c061 Plugins/Visualization/paranormal/client.c --- 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