Minor cleanup, not worth mentioning.

Just commiting so it does not clash with Couriersud's work.
This commit is contained in:
Derrick Renaud 2009-10-03 13:09:02 +00:00
parent 08a4572e09
commit dffbe9eff3
3 changed files with 7 additions and 8 deletions

View File

@ -693,11 +693,11 @@ INLINE void update_main_nodes(discrete_info *info, int samples)
sn->ptr = sn->task->node_buf[sn->output_node]; sn->ptr = sn->task->node_buf[sn->output_node];
} }
if (DISCRETE_PROFILING)
info->total_samples += samples;
while (samples-- > 0) while (samples-- > 0)
{ {
if (DISCRETE_PROFILING)
info->total_samples++;
/* update source node buffer */ /* update source node buffer */
for (entry = info->source_list; entry != 0; entry = entry->next) for (entry = info->source_list; entry != 0; entry = entry->next)
{ {

View File

@ -3744,9 +3744,9 @@ struct _discrete_info
/* list of "main" task nodes */ /* list of "main" task nodes */
linked_list_entry *main_list; /* node_description * */ linked_list_entry *main_list; /* node_description * */
/* list of main source nodes */ /* list of main source nodes */
linked_list_entry *source_list; /* discrete_source_node */ linked_list_entry *source_list; /* discrete_source_node */
/* list of discrete blocks after prescan (IMPORT, DELETE, REPLACE) */ /* list of discrete blocks after prescan (IMPORT, DELETE, REPLACE) */

View File

@ -2051,7 +2051,7 @@ WRITE8_DEVICE_HANDLER( clowns_audio_2_w )
#define SPACWALK_R304 RES_M(1) #define SPACWALK_R304 RES_M(1)
#define SPACWALK_R305 RES_K(3680) #define SPACWALK_R305 RES_K(3680)
#define SPACWALK_R307 RES_K(20) #define SPACWALK_R307 RES_K(20)
#define SPACWALK_R308 RES_K(20) /* not labeled but beside R307 */ #define SPACWALK_R308 RES_K(20) /* not labeled but it's beside R307 */
#define SPACWALK_R419 RES_K(2.7) #define SPACWALK_R419 RES_K(2.7)
#define SPACWALK_R420 RES_K(20) #define SPACWALK_R420 RES_K(20)
#define SPACWALK_R421 RES_K(11) #define SPACWALK_R421 RES_K(11)
@ -2068,7 +2068,7 @@ WRITE8_DEVICE_HANDLER( clowns_audio_2_w )
#define SPACWALK_C301 CAP_U(2.2) #define SPACWALK_C301 CAP_U(2.2)
#define SPACWALK_C302 CAP_U(2.2) #define SPACWALK_C302 CAP_U(2.2)
#define SPACWALK_C303 CAP_U(0.0047) #define SPACWALK_C303 CAP_U(0.0047)
#define SPACWALK_C304 CAP_U(0.0047) /* not labeled but beside C303 */ #define SPACWALK_C304 CAP_U(0.0047) /* not labeled but it's beside C303 */
#define SPACWALK_C602 CAP_U(1) #define SPACWALK_C602 CAP_U(1)
@ -2142,7 +2142,6 @@ DISCRETE_OP_AMP_TRIG_VCA(NODE_RELATIVE(NODE_35, _num), /* IC M2-3, pin 9 */
&spacwalk_sb_hit_tvca_info) \ &spacwalk_sb_hit_tvca_info) \
/* Wrong values. Untested */ \ /* Wrong values. Untested */ \
/* The rest of the circuit is a filter. \ /* The rest of the circuit is a filter. \
*The frequency response was calculated with SPICE. */ \
DISCRETE_FILTER2(NODE_RELATIVE(NODE_37, _num), \ DISCRETE_FILTER2(NODE_RELATIVE(NODE_37, _num), \
1, /* ENAB */ \ 1, /* ENAB */ \
NODE_RELATIVE(NODE_35, _num), /* INP0 */ \ NODE_RELATIVE(NODE_35, _num), /* INP0 */ \