Revision 6920fdab loop-mt.c

View differences:

loop-mt.c
127 127
  period = csize;
128 128
  s = s1;
129 129
 
130
  stream_init(8);	// FIXME!
130
  stream_init(8, s);	// FIXME!
131 131
  pthread_mutex_init(&cb_mutex, NULL);
132 132
  pthread_mutex_init(&topology_mutex, NULL);
133 133
  pthread_create(&receive_thread, NULL, receive, NULL); 
......
147 147
  chunks_per_period = chunks;
148 148
  s = s1;
149 149
 
150
  stream_init(1);	// FIXME!
150
  stream_init(1, s);
151 151
  pthread_mutex_init(&cb_mutex, NULL);
152 152
  pthread_mutex_init(&topology_mutex, NULL);
153 153
  pthread_create(&receive_thread, NULL, source_receive, NULL); 

Also available in: Unified diff