refactor: Minor changes
> use bmswac_resampler_s16_ad temporarily (reduces load times) > fix hook name
This commit is contained in:
+4
-4
@@ -18,7 +18,7 @@ int on_avs_fs_lstat(const char *path, struct avs::core::avs_stat *stat)
|
||||
{
|
||||
if (strstr(path, needle_))
|
||||
{
|
||||
log_info("hooks::soundbank", "{}({})", __FUNCTION__, path);
|
||||
log_info("hooks::devel", "{}({})", __FUNCTION__, path);
|
||||
}
|
||||
return avs_fs_lstat_(path, stat);
|
||||
}
|
||||
@@ -26,7 +26,7 @@ avs::core::avs_file_t on_avs_fs_mount(const char *mountpoint, const char *fsroot
|
||||
{
|
||||
if (strstr(fsroot, needle_))
|
||||
{
|
||||
log_info("hooks::soundbank", "{}({}=>{}) @{} :nullptr data?{} ", __FUNCTION__, fsroot, mountpoint, fstype, data == nullptr);
|
||||
log_info("hooks::devel", "{}({}=>{}) @{} :nullptr data?{} ", __FUNCTION__, fsroot, mountpoint, fstype, data == nullptr);
|
||||
}
|
||||
return avs_fs_mount_(mountpoint, fsroot, fstype, data);
|
||||
}
|
||||
@@ -34,7 +34,7 @@ avs::core::avs_file_t on_avs_fs_open(const char *name, uint16_t mode, int flags)
|
||||
{
|
||||
if (strstr(name, needle_))
|
||||
{
|
||||
log_info("hooks::soundbank", "{}({}::{}) @{}", __FUNCTION__, name, mode, flags);
|
||||
log_info("hooks::devel", "{}({}::{}) @{}", __FUNCTION__, name, mode, flags);
|
||||
}
|
||||
return avs_fs_open_(name, mode, flags);
|
||||
}
|
||||
@@ -103,7 +103,7 @@ void bind_routine(devel_routine_t val, void (*cb)())
|
||||
}
|
||||
void entry_main()
|
||||
{
|
||||
if (routines()) log_info("hooks:devel", "Processing subroutines..");
|
||||
if (routines()) log_info("hooks::devel", "Processing subroutines..");
|
||||
for (devel_routine_t i = 0; i < devel_routine_last; i++)
|
||||
{
|
||||
if (active_routine(i) && routine_cb_[i]) routine_cb_[i]();
|
||||
|
||||
Reference in New Issue
Block a user