370 | | } |
---|
371 | | |
---|
372 | | /* If debug is enabled, show what's been read from the flash */ |
---|
373 | | debugOutput(DEBUG_LEVEL_VERBOSE, "Settings read from flash:\n"); |
---|
374 | | if (m_rme_model == RME_MODEL_FIREFACE800) { |
---|
375 | | debugOutput(DEBUG_LEVEL_VERBOSE, " Phantom: %d %d %d %d\n", |
---|
376 | | dsettings->mic_phantom[0], dsettings->mic_phantom[1], |
---|
377 | | dsettings->mic_phantom[2], dsettings->mic_phantom[2]); |
---|
378 | | |
---|
379 | | } else |
---|
380 | | if (m_rme_model == RME_MODEL_FIREFACE400) { |
---|
381 | | debugOutput(DEBUG_LEVEL_VERBOSE, " Phantom: %d %d\n", |
---|
382 | | dsettings->mic_phantom[0], dsettings->mic_phantom[1]); |
---|
383 | | debugOutput(DEBUG_LEVEL_VERBOSE, " Input pad: %d %d\n", |
---|
384 | | dsettings->ff400_input_pad[0], dsettings->ff400_input_pad[1]); |
---|
385 | | } |
---|
386 | | debugOutput(DEBUG_LEVEL_VERBOSE, " spdif input mode: %d\n", dsettings->spdif_input_mode); |
---|
387 | | debugOutput(DEBUG_LEVEL_VERBOSE, " spdif output emphasis: %d\n", dsettings->spdif_output_emphasis); |
---|
388 | | debugOutput(DEBUG_LEVEL_VERBOSE, " spdif output pro: %d\n", dsettings->spdif_output_pro); |
---|
389 | | debugOutput(DEBUG_LEVEL_VERBOSE, " spdif output nonaudio: %d\n", dsettings->spdif_output_nonaudio); |
---|
390 | | debugOutput(DEBUG_LEVEL_VERBOSE, " spdif output mode: %d\n", dsettings->spdif_output_mode); |
---|
391 | | debugOutput(DEBUG_LEVEL_VERBOSE, " clock mode: %d\n", dsettings->clock_mode); |
---|
392 | | debugOutput(DEBUG_LEVEL_VERBOSE, " sync ref: %d\n", dsettings->sync_ref); |
---|
393 | | debugOutput(DEBUG_LEVEL_VERBOSE, " tms: %d\n", dsettings->tms); |
---|
394 | | debugOutput(DEBUG_LEVEL_VERBOSE, " limit bandwidth: %d\n", dsettings->limit_bandwidth); |
---|
395 | | debugOutput(DEBUG_LEVEL_VERBOSE, " stop on dropout: %d\n", dsettings->stop_on_dropout); |
---|
396 | | debugOutput(DEBUG_LEVEL_VERBOSE, " input level: %d\n", dsettings->input_level); |
---|
397 | | debugOutput(DEBUG_LEVEL_VERBOSE, " output level: %d\n", dsettings->output_level); |
---|
398 | | if (m_rme_model == RME_MODEL_FIREFACE800) { |
---|
399 | | debugOutput(DEBUG_LEVEL_VERBOSE, " filter: %d\n", dsettings->filter); |
---|
400 | | debugOutput(DEBUG_LEVEL_VERBOSE, " fuzz: %d\n", dsettings->fuzz); |
---|
401 | | } else |
---|
402 | | if (m_rme_model == RME_MODEL_FIREFACE400) { |
---|
403 | | debugOutput(DEBUG_LEVEL_VERBOSE, " instr input 0: %d\n", dsettings->ff400_instr_input[0]); |
---|
404 | | debugOutput(DEBUG_LEVEL_VERBOSE, " instr input 1: %d\n", dsettings->ff400_instr_input[1]); |
---|
405 | | } |
---|
406 | | debugOutput(DEBUG_LEVEL_VERBOSE, " limiter: %d\n", dsettings->limiter); |
---|
407 | | debugOutput(DEBUG_LEVEL_VERBOSE, " sample rate: %d\n", dsettings->sample_rate); |
---|
408 | | debugOutput(DEBUG_LEVEL_VERBOSE, " word clock single speed: %d\n", dsettings->word_clock_single_speed); |
---|
409 | | if (m_rme_model == RME_MODEL_FIREFACE400) { |
---|
410 | | debugOutput(DEBUG_LEVEL_VERBOSE, " phones level: %d\n", dsettings->phones_level); |
---|
411 | | } else |
---|
412 | | if (m_rme_model == RME_MODEL_FIREFACE800) { |
---|
413 | | debugOutput(DEBUG_LEVEL_VERBOSE, " input opts: %d %d %d\n", |
---|
414 | | dsettings->input_opt[0], dsettings->input_opt[1], |
---|
415 | | dsettings->input_opt[2]); |
---|
| 371 | |
---|
| 372 | /* If debug is enabled, show what's been read from the flash */ |
---|
| 373 | debugOutput(DEBUG_LEVEL_VERBOSE, "Settings acquired from flash:\n"); |
---|
| 374 | if (m_rme_model == RME_MODEL_FIREFACE800) { |
---|
| 375 | debugOutput(DEBUG_LEVEL_VERBOSE, " Phantom: %d %d %d %d\n", |
---|
| 376 | dsettings->mic_phantom[0], dsettings->mic_phantom[1], |
---|
| 377 | dsettings->mic_phantom[2], dsettings->mic_phantom[2]); |
---|
| 378 | |
---|
| 379 | } else |
---|
| 380 | if (m_rme_model == RME_MODEL_FIREFACE400) { |
---|
| 381 | debugOutput(DEBUG_LEVEL_VERBOSE, " Phantom: %d %d\n", |
---|
| 382 | dsettings->mic_phantom[0], dsettings->mic_phantom[1]); |
---|
| 383 | debugOutput(DEBUG_LEVEL_VERBOSE, " Input pad: %d %d\n", |
---|
| 384 | dsettings->ff400_input_pad[0], dsettings->ff400_input_pad[1]); |
---|
| 385 | } |
---|
| 386 | debugOutput(DEBUG_LEVEL_VERBOSE, " spdif input mode: %d\n", dsettings->spdif_input_mode); |
---|
| 387 | debugOutput(DEBUG_LEVEL_VERBOSE, " spdif output emphasis: %d\n", dsettings->spdif_output_emphasis); |
---|
| 388 | debugOutput(DEBUG_LEVEL_VERBOSE, " spdif output pro: %d\n", dsettings->spdif_output_pro); |
---|
| 389 | debugOutput(DEBUG_LEVEL_VERBOSE, " spdif output nonaudio: %d\n", dsettings->spdif_output_nonaudio); |
---|
| 390 | debugOutput(DEBUG_LEVEL_VERBOSE, " spdif output mode: %d\n", dsettings->spdif_output_mode); |
---|
| 391 | debugOutput(DEBUG_LEVEL_VERBOSE, " clock mode: %d\n", dsettings->clock_mode); |
---|
| 392 | debugOutput(DEBUG_LEVEL_VERBOSE, " sync ref: %d\n", dsettings->sync_ref); |
---|
| 393 | debugOutput(DEBUG_LEVEL_VERBOSE, " tms: %d\n", dsettings->tms); |
---|
| 394 | debugOutput(DEBUG_LEVEL_VERBOSE, " limit firewire bandwidth: %d\n", dsettings->limit_bandwidth); |
---|
| 395 | debugOutput(DEBUG_LEVEL_VERBOSE, " stop on dropout: %d\n", dsettings->stop_on_dropout); |
---|
| 396 | debugOutput(DEBUG_LEVEL_VERBOSE, " input level: %d\n", dsettings->input_level); |
---|
| 397 | debugOutput(DEBUG_LEVEL_VERBOSE, " output level: %d\n", dsettings->output_level); |
---|
| 398 | if (m_rme_model == RME_MODEL_FIREFACE800) { |
---|
| 399 | debugOutput(DEBUG_LEVEL_VERBOSE, " filter: %d\n", dsettings->filter); |
---|
| 400 | debugOutput(DEBUG_LEVEL_VERBOSE, " fuzz: %d\n", dsettings->fuzz); |
---|
| 401 | } else |
---|
| 402 | if (m_rme_model == RME_MODEL_FIREFACE400) { |
---|
| 403 | debugOutput(DEBUG_LEVEL_VERBOSE, " instr input 0: %d\n", dsettings->ff400_instr_input[0]); |
---|
| 404 | debugOutput(DEBUG_LEVEL_VERBOSE, " instr input 1: %d\n", dsettings->ff400_instr_input[1]); |
---|
| 405 | } |
---|
| 406 | debugOutput(DEBUG_LEVEL_VERBOSE, " limiter: %d\n", dsettings->limiter); |
---|
| 407 | debugOutput(DEBUG_LEVEL_VERBOSE, " sample rate: %d\n", dsettings->sample_rate); |
---|
| 408 | debugOutput(DEBUG_LEVEL_VERBOSE, " word clock single speed: %d\n", dsettings->word_clock_single_speed); |
---|
| 409 | if (m_rme_model == RME_MODEL_FIREFACE400) { |
---|
| 410 | debugOutput(DEBUG_LEVEL_VERBOSE, " phones level: %d\n", dsettings->phones_level); |
---|
| 411 | } else |
---|
| 412 | if (m_rme_model == RME_MODEL_FIREFACE800) { |
---|
| 413 | debugOutput(DEBUG_LEVEL_VERBOSE, " input opts: %d %d %d\n", |
---|
| 414 | dsettings->input_opt[0], dsettings->input_opt[1], |
---|
| 415 | dsettings->input_opt[2]); |
---|
| 416 | } |
---|