Changeset 809 for branches/api-cleanup/src/bounce/bounce_avdevice.cpp
- Timestamp:
- 01/05/08 09:40:06 (16 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/api-cleanup/src/bounce/bounce_avdevice.cpp
r742 r809 212 212 Streaming::Port *p=NULL; 213 213 p=new Streaming::AmdtpAudioPort( 214 *processor, 214 215 buff, 215 216 direction, … … 224 225 if (!p) { 225 226 debugOutput(DEBUG_LEVEL_VERBOSE, "Skipped port %s\n",buff); 226 } else {227 228 if (!processor->addPort(p)) {229 debugWarning("Could not register port with stream processor\n");230 free(buff);231 return false;232 } else {233 debugOutput(DEBUG_LEVEL_VERBOSE, "Added port %s\n",buff);234 }235 227 } 236 228 free(buff); … … 243 235 Streaming::Port *p=NULL; 244 236 p=new Streaming::AmdtpMidiPort( 237 *processor, 245 238 buff, 246 239 direction, … … 255 248 if (!p) { 256 249 debugOutput(DEBUG_LEVEL_VERBOSE, "Skipped port %s\n",buff); 257 } else {258 259 if (!processor->addPort(p)) {260 debugWarning("Could not register port with stream processor\n");261 free(buff);262 return false;263 } else {264 debugOutput(DEBUG_LEVEL_VERBOSE, "Added port %s\n",buff);265 }266 250 } 267 251 free(buff);