kopia lustrzana https://github.com/OpenRTX/OpenRTX
FIXME/WIP exclude VP and codec2 to allow compilation
rodzic
27ef10d8ed
commit
7f9fc8b82c
|
@ -47,10 +47,10 @@ openrtx_src = ['openrtx/src/core/state.c',
|
|||
'openrtx/src/core/crc.c',
|
||||
'openrtx/src/core/datetime.c',
|
||||
'openrtx/src/core/openrtx.c',
|
||||
'openrtx/src/core/audio_codec.c',
|
||||
# 'openrtx/src/core/audio_codec.c',
|
||||
'openrtx/src/core/audio_stream.c',
|
||||
'openrtx/src/core/audio_path.cpp',
|
||||
'openrtx/src/core/data_conversion.c',
|
||||
# 'openrtx/src/core/data_conversion.c',
|
||||
'openrtx/src/core/memory_profiling.cpp',
|
||||
'openrtx/src/core/voicePrompts.c',
|
||||
'openrtx/src/core/voicePromptUtils.c',
|
||||
|
|
|
@ -46,7 +46,7 @@ void openrtx_init()
|
|||
gfx_init(); // Initialize display and graphics driver
|
||||
kbd_init(); // Initialize keyboard driver
|
||||
ui_init(); // Initialize user interface
|
||||
vp_init(); // Initialize voice prompts
|
||||
// vp_init(); // Initialize voice prompts
|
||||
#ifdef CONFIG_SCREEN_CONTRAST
|
||||
display_setContrast(state.settings.contrast);
|
||||
#endif
|
||||
|
|
|
@ -80,7 +80,7 @@ void *ui_threadFunc(void *arg)
|
|||
ui_saveState(); // Save local state copy
|
||||
pthread_mutex_unlock(&state_mutex); // Unlock r/w access to radio state
|
||||
|
||||
vp_tick(); // continue playing voice prompts in progress if any.
|
||||
// vp_tick(); // continue playing voice prompts in progress if any.
|
||||
|
||||
// If synchronization needed take mutex and update RTX configuration
|
||||
if(sync_rtx)
|
||||
|
|
|
@ -406,7 +406,7 @@ void vp_terminate()
|
|||
void vp_stop()
|
||||
{
|
||||
voicePromptActive = false;
|
||||
codec_stop(vpAudioPath);
|
||||
// codec_stop(vpAudioPath);
|
||||
disableSpkOutput();
|
||||
|
||||
// Clear voice prompt sequence data
|
||||
|
|
Ładowanie…
Reference in New Issue