mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-23 09:18:34 +02:00
Fix for missing files in /var/snd
This commit is contained in:
parent
b22f8d7d54
commit
1d470006f2
@ -15070,3 +15070,6 @@
|
|||||||
2016-04-14 Fred Gleason <fredg@paravelsystems.com>
|
2016-04-14 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Removed the libXmu from the list of tested libraries for Qt3 in
|
* Removed the libXmu from the list of tested libraries for Qt3 in
|
||||||
'acinclude.m4'.
|
'acinclude.m4'.
|
||||||
|
2016-04-09 Brian McGlynn <brian.mcglynn@geneseemedia.net>
|
||||||
|
* Updated lib/rdcae.cpp to return error code when file does not exist
|
||||||
|
in /var/snd
|
||||||
|
@ -147,6 +147,13 @@ bool RDCae::loadPlay(int card,QString name,int *stream,int *handle)
|
|||||||
}
|
}
|
||||||
cae_handle[card][*stream]=*handle;
|
cae_handle[card][*stream]=*handle;
|
||||||
cae_pos[card][*stream]=0xFFFFFFFF;
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user