Describe if audio device exists, but does not support both directions

This commit is contained in:
Andreas Eversberg
2019-10-27 07:03:23 +01:00
parent 2fde5025af
commit 23bb88ef6e
2 changed files with 14 additions and 9 deletions

View File

@@ -222,7 +222,7 @@ int sender_open_audio(int latspl)
/* open device */
master->audio = master->audio_open(master->audiodev, tx_f, rx_f, channels, paging_frequency, master->samplerate, latspl, master->max_deviation, master->max_modulation);
if (!master->audio) {
PDEBUG(DSENDER, DEBUG_ERROR, "No audio device!\n");
PDEBUG(DSENDER, DEBUG_ERROR, "No device for transceiver!\n");
return -EIO;
}
}