diff --git a/openrtx/src/core/audio_stream.c b/openrtx/src/core/audio_stream.c index 24bc5979..bfb3438a 100644 --- a/openrtx/src/core/audio_stream.c +++ b/openrtx/src/core/audio_stream.c @@ -91,7 +91,7 @@ streamId audioStream_start(const pathId path, stream_sample_t * const buf, } // No audio device found - if(dev == NULL) + if((dev == NULL) || (dev->driver == NULL)) return -ENODEV; // Search for an empty audio stream slot