mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
Fix for missing files in /var/snd
This commit is contained in:
@@ -147,6 +147,13 @@ bool RDCae::loadPlay(int card,QString name,int *stream,int *handle)
|
||||
}
|
||||
cae_handle[card][*stream]=*handle;
|
||||
cae_pos[card][*stream]=0xFFFFFFFF;
|
||||
|
||||
// CAE Daemon sends back a stream of -1 if there is an issue with allocating it
|
||||
// such as file missing, etc.
|
||||
if(*stream < 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user