mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
[1.41]
Added language da (Danish) Fixed to wave_sada.cpp git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@222 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+3
-10
@@ -305,16 +305,9 @@ int wave_close(void* theHandler)
|
||||
|
||||
int wave_is_busy(void* theHandler)
|
||||
{
|
||||
audio_info_t ainfo;
|
||||
int audio_fd = (int) theHandler;
|
||||
if (!audio_fd) {
|
||||
audio_fd = sun_audio_fd;
|
||||
}
|
||||
ENTER("wave_is_busy");
|
||||
ioctl(audio_fd, AUDIO_GETINFO, &ainfo);
|
||||
SHOW("wave_is_busy: active=%d", ainfo.play.active);
|
||||
SHOW_TIME("wave_is_busy > LEAVE");
|
||||
return ainfo.play.active;
|
||||
uint32_t time;
|
||||
wave_get_remaining_time(total_samples_sent - 1, &time);
|
||||
return time != 0;
|
||||
}
|
||||
|
||||
//>
|
||||
|
||||
Reference in New Issue
Block a user