add(media): add front aac tone.

This commit is contained in:
kangjun 2024-10-09 19:47:53 +08:00
parent 164a702e6e
commit 1b23e0a282
10 changed files with 11 additions and 11 deletions

View File

@ -39,7 +39,7 @@ MODULE_LICENSE("GPL");
#define ID_REG_LOW 0x03f1
#define ID_VAL_HIGH ((V4L2_IDENT_SENSOR) >> 8)
#define ID_VAL_LOW ((V4L2_IDENT_SENSOR) & 0xff)
#define SENSOR_FRAME_RATE 20
#define SENSOR_FRAME_RATE 15
/*
* The GC2083 i2c address
@ -50,8 +50,8 @@ MODULE_LICENSE("GPL");
#define SENSOR_NAME "gc2083_mipi"
#define SENSOR_NAME_2 "gc2083_mipi_2"
#define GC2083_1920X1088_20FPS
//#define GC2083_1920X1088_15FPS
// #define GC2083_1920X1088_20FPS
#define GC2083_1920X1088_15FPS
//#define GC2083_1920X360_120FPS
/*
* The default register settings

View File

@ -126,14 +126,14 @@ if [ ! -d "/mnt/UDISK/picture" ]; then
cp -r /APP/picture/* /mnt/UDISK/picture
fi
for file in "/APP/res"/*.aac; do
if [ -f "$file" ]; then
dest_file="/mnt/UDISK/$(basename "$file")"
if [ ! -f "$dest_file" ]; then
cp "$file" "$dest_file"
fi
fi
done
#for file in "/APP/res"/*.aac; do
# if [ -f "$file" ]; then
# dest_file="/mnt/UDISK/$(basename "$file")"
# if [ ! -f "$dest_file" ]; then
# cp "$file" "$dest_file"
# fi
# fi
#done
if [ ! -f "/mnt/UDISK/pix_auth_key.bin" ]; then
cp /APP/res/pix_auth_key.bin /mnt/UDISK/pix_auth_key.bin