Compare commits

...

2 commits

Author SHA1 Message Date
Solomon Peachy
ebfba622b6 fix yellow in dfa33c246b
(Today I learned that the Cowon D2 is fixed at 44.1KHz)

Change-Id: I8d50c6b81b144e32a79a2728c9cad2ffdc7b03ca
2026-03-01 22:58:33 -05:00
Solomon Peachy
e15451815a tagcache: Prevent a infinite tagcache scan/commit loop
If no new entries were committed, there's no need to kick
off a new scan/autoupdate.

Change-Id: I3e8e497e4fe04d46612401e1ec6b72f30a8b77a4
2026-03-01 21:11:36 -05:00
2 changed files with 3 additions and 2 deletions

View file

@ -3549,8 +3549,8 @@ static bool commit(void)
tcrc_buffer_unlock(); tcrc_buffer_unlock();
} }
/* Reload tagcache. */ /* Reload tagcache only if we committed new entries */
if (tc_stat.ramcache_allocated > 0) if (tc_stat.ramcache_allocated > 0 && tch.entry_count > 0)
tagcache_start_scan(); tagcache_start_scan();
#endif /* HAVE_TC_RAMCACHE */ #endif /* HAVE_TC_RAMCACHE */

View file

@ -92,6 +92,7 @@ static void sink_dma_init(void)
static void sink_set_freq(uint16_t freq) static void sink_set_freq(uint16_t freq)
{ {
(void)freq;
} }
static void play_start_pcm(void) static void play_start_pcm(void)