Skip to content

Commit

Permalink
conf-t527-audio : 优化音频设备名称
Browse files Browse the repository at this point in the history
  • Loading branch information
sc-bin committed Dec 19, 2024
1 parent d87d8ff commit 19045d3
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 17 deletions.
2 changes: 1 addition & 1 deletion main/conf-t527-audio/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: conf-t527-audio
Description: conf audio
Version: 1.0.0
Version: 1.0.1
Maintainer: sc-bin <[email protected]>
Section: free
Priority: optional
Expand Down
12 changes: 12 additions & 0 deletions main/conf-t527-audio/DEBIAN/postinst
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
#!/bin/bash

systemctl enable T527_enable_amixer.service
if [ -f /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf ] ;then
echo "default.conf"
sed -i "s/auto-profiles = yes/auto-profiles = no/" /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
fi
if [ -f /etc/pulse/default.pa ] ;then
echo "default.pa 1"
echo "load-module module-alsa-sink device=hw:audiocodec sink_name=AudioCodec-Playback sink_properties=\"device.description='Audio Codec'\"" >> /etc/pulse/default.pa
fi
if [ -f /etc/pulse/default.pa ] ;then
echo "default.pa 2"
echo "load-module module-alsa-sink device=hw:hdmi sink_name=HDMI-Playback sink_properties=\"device.description='HDMI Audio'\"" >> /etc/pulse/default.pa
fi
18 changes: 9 additions & 9 deletions server/dists/bookworm/Release
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
Architectures: all arm64
Codename: bookworm
Components: main
Date: Thu, 19 Dec 2024 01:57:47 +0000
Date: Thu, 19 Dec 2024 07:00:54 +0000
Description: Your description
Label: Walnut Pi
Origin: Walnut Pi
Suite: stable
MD5Sum:
9a16eb15af2cc9de5edebf8dca8caa8e 178 Release
0639aa868bbabc64c67eb58e74c11ca5 17543 main/binary-all/Packages
248cf5018c6b3174e98476d206d08c7d 178 Release
2e4b9e08b383e8c87e4043ab8b2d47fc 17543 main/binary-all/Packages
8b2a4bb98a5ba9601784a3a7f86d2909 4212 main/binary-arm64/Packages
SHA1:
0a78ac8ec3d72d15a92724cd98ea81d7d69f562f 178 Release
1cb5cb70ce59b8de7ec85fe38228d7a9a9cccb60 17543 main/binary-all/Packages
c138bbe39f5d8d67e64426069b3dae690f73ed2f 178 Release
fcc1e3debbeb31624ed3f41adeb537cd02ad0b3f 17543 main/binary-all/Packages
ecdcb56a55ce86915dbb0f7e80beddd56b3d4fd5 4212 main/binary-arm64/Packages
SHA256:
88cd817e819d5a24810d58e0a28744bdeef53f6cf5d3fdcb5fe9f0c7c566f7cf 178 Release
92512daeeb5c6a29fbb1bc1f1dfec5b1c013d436f2fe625f70afd1048e40ddf3 17543 main/binary-all/Packages
bd752f01a03e994acdde672802d37c55ccf193c17bcd47c325e8b038b0bd30b6 178 Release
990adc185f498aa74109bb5c45ab46ffc3532b2335c4cc8c11bd2ee44e66f365 17543 main/binary-all/Packages
e2f1605d186d6096583f2408a9dd4609f48319535c4ede1177bd6ba8e5c28daa 4212 main/binary-arm64/Packages
SHA512:
9682c48c5d414955ba52d56034af32e8bd48f477139ef59403f10222cd4b3b8b5951e349b42f0ffd835606fd91c917a56072439fd08937aff765aa1d6b9e010d 178 Release
74077b062adbfb461500855c4e806ce48bdc346a1020b8aedbf0b1b2d1e481792ca44ad5b2e0cc99c20187af5c57fae0bdad373925ad5ba4eca269436166652a 17543 main/binary-all/Packages
56b6b379116f88f2f5adf570fb4831bf45900dfe31bd3a53ea1fe277a4d93fe4dec808ec6e7040e98bd13f82928a65294f53a2dfb0f87d283257b8edf84531d9 178 Release
0c0818b999aca77831c22b6290915a761a93d9cbc1d7cf883aa1706cd8240372bd94c7c91d8d58793133cb91b52464b94f6c626fa8a73b61c31c65b1a8d90056 17543 main/binary-all/Packages
533b1a61a1dc08828b47e538ae9f635ba1b9d26fa241701b4c8ac319a72308b42b25e18305e531f5c74813b84a4ec18e91def8a079e7f9a0dc775d57ae10da98 4212 main/binary-arm64/Packages
12 changes: 6 additions & 6 deletions server/dists/bookworm/main/binary-all/Packages
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ Priority: optional
Description: setting autologin user is pi

Package: conf-t527-audio
Version: 1.0.0
Version: 1.0.1
Architecture: all
Maintainer: sc-bin <[email protected]>
Installed-Size: 36
Filename: main/conf-t527-audio_1.0.0_all.deb
Size: 1198
MD5sum: 75a0151406b68a0ffccbc50f7ed32001
SHA1: bb4e1f28dccbc924e44695e32b2e4a94976d93b6
SHA256: e5f7045c827d31f6ea4e51dff068dcc290db7571ef2319d6e217fa47b6365f19
Filename: main/conf-t527-audio_1.0.1_all.deb
Size: 1432
MD5sum: 3795b15e18c1da769daae517e290371c
SHA1: c3c2440655102de53e4d341a304225600559cccf
SHA256: 61d5d787bf93e65387cbefbf3fc15e1a982b8ef29985e93ba809e768922532cd
Section: free
Priority: optional
Description: conf audio
Expand Down
Binary file added server/main/conf-t527-audio_1.0.1_all.deb
Binary file not shown.
2 changes: 1 addition & 1 deletion wpi-update
Submodule wpi-update updated from 30c124 to 887120

0 comments on commit 19045d3

Please sign in to comment.