serenity/Userland/Utilities
kleines Filmröllchen d049626f40 Userland+LibAudio: Make audio applications support dynamic sample rate
All audio applications (aplay, Piano, Sound Player) respect the ability
of the system to have theoretically any sample rate. Therefore, they
resample their own audio into the system sample rate.

LibAudio previously had its loaders resample their own audio, even
though they expose their sample rate. This is now changed. The loaders
output audio data in their file's sample rate, which the user has to
query and resample appropriately. Resampling code from Buffer, WavLoader
and FlacLoader is removed.

Note that these applications only check the sample rate at startup,
which is reasonable (the user has to restart applications when changing
the sample rate). Fully dynamic adaptation could both lead to errors and
will require another IPC interface. This seems to be enough for now.
2021-08-27 23:35:27 +04:30
..
adjtime.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
allocate.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
aplay.cpp Userland+LibAudio: Make audio applications support dynamic sample rate 2021-08-27 23:35:27 +04:30
arp.cpp Kernel+LibC: Share definitions for net/{if,if_arp,route}.h 2021-08-14 19:58:11 +02:00
avol.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
base64.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
basename.cpp AK+Everywhere: Use mostly StringView in LexicalPath 2021-06-30 11:13:54 +02:00
beep.cpp
bt.cpp Userland: Use /proc/kernel_base to determine the kernel base address 2021-07-22 21:38:23 +02:00
cal.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
cat.cpp
checksum.cpp
chgrp.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
chmod.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
chown.cpp Userland: Return 1 when help text is shown for insufficient args 2021-06-01 21:30:16 +01:00
chres.cpp chres: Make screen an optional parameter 2021-07-10 18:51:14 +01:00
cksum.cpp cksum: Print argv[0] on failed read 2021-08-01 19:26:57 +04:30
clear.cpp
CMakeLists.txt Utilities: Add cpp-lexer 2021-08-21 22:09:56 +02:00
comm.cpp Utilities: Add an implementation of 'comm' 2021-07-14 14:13:25 +04:30
copy.cpp
cp.cpp Utilities: Implement -p flag for cp 2021-08-18 20:30:46 +02:00
cpp-lexer.cpp Utilities: Use File.error_string() instead of perror(3) in cpp-* 2021-08-22 02:01:58 +02:00
cpp-parser.cpp Utilities: Use File.error_string() instead of perror(3) in cpp-* 2021-08-22 02:01:58 +02:00
cpp-preprocessor.cpp Utilities: Use File.error_string() instead of perror(3) in cpp-* 2021-08-22 02:01:58 +02:00
crash.cpp Userland: Prefer using ARCH() over __LP64__ 2021-07-13 23:19:33 +02:00
cut.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
date.cpp date: Use DateTime::now() for time, cleanup duplicate returns 2021-08-15 12:20:38 +02:00
dd.cpp Utilities: Allow filenames containing '=' in dd (#8766) 2021-07-15 18:36:46 +04:30
ddate.cpp ddate: Use DateTime::now() for time 2021-08-15 12:20:38 +02:00
df.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
dirname.cpp AK+Everywhere: Add and use static APIs for LexicalPath 2021-06-30 11:13:54 +02:00
disasm.cpp
disk_benchmark.cpp
dmesg.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
du.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
echo.cpp echo: Implement -e flag 2021-08-17 19:59:23 +01:00
env.cpp Userland: Let env parse options up to first non-option 2021-06-08 11:30:58 +02:00
errno.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
expr.cpp LibRegex+Everywhere: Make LibRegex more unicode-aware 2021-07-18 21:10:55 +04:30
false.cpp
fgrep.cpp Userland: Return 1 when help text is shown for insufficient args 2021-06-01 21:30:16 +01:00
file.cpp LibGfx: Improve ImageDecoder construction 2021-07-27 01:17:05 +02:00
find.cpp Userland: Also cache d_type in find(1) 2021-08-18 18:13:59 +02:00
flock.cpp Userland: Return 1 when help text is shown for insufficient args 2021-06-01 21:30:16 +01:00
fortune.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
functrace.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
gml-format.cpp
grep.cpp Utilities: Add option to control when to use colored output for grep 2021-08-12 18:57:21 +02:00
gron.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
groupadd.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
groupdel.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
groups.cpp
gunzip.cpp
gzip.cpp Utilities: Add -d option to gzip 2021-08-22 16:51:18 +02:00
head.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
hexdump.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
host.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
hostname.cpp hostname: Handle 'sethostname' errors 2021-06-04 19:11:27 +02:00
id.cpp Userland: Fix id(1) printing the user's primary group for extra gids 2021-07-31 17:56:53 +02:00
ifconfig.cpp ifconfig: Use shorter argument names 2021-06-05 23:51:08 +04:30
ini.cpp Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing 2021-08-22 01:32:25 +02:00
jp.cpp Userland: Avoid a bunch of JsonObject copies 2021-05-31 17:59:02 +01:00
js.cpp js: Implement pretty-printing of Intl.DisplayNames 2021-08-26 22:04:09 +01:00
kcov-example.cpp Kernel: Add option to build with coverage instrumentation and KCOV 2021-07-26 17:40:28 +02:00
keymap.cpp Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing 2021-08-22 01:32:25 +02:00
kill.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
killall.cpp Everywhere: Improve CPU usage calculation 2021-07-18 22:08:26 +02:00
less.cpp Utilities: Make 'less' act more like 'more' when emulating 'more' :^) 2021-07-29 01:23:07 +02:00
ln.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
ls.cpp Utilities: Remove memset calls inside ls 2021-08-18 20:30:46 +02:00
lsirq.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
lsof.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
lspci.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
lsusb.cpp Kernel/USB: Move USB bus information from /proc to /sys 2021-07-18 00:55:16 +02:00
man.cpp Userland: Add pager option to man and use less by default 2021-07-07 20:01:15 +04:30
matroska.cpp LibVideo: Migrate to east-const style & apply other minor fixes 2021-06-30 11:03:51 +02:00
md.cpp md: Improve document parsing error message 2021-06-01 21:30:16 +01:00
misbehaving-application.cpp
mkdir.cpp AK+Everywhere: Use mostly StringView in LexicalPath 2021-06-30 11:13:54 +02:00
mkfifo.cpp
mknod.cpp Userland: Return 1 when help text is shown for insufficient args 2021-06-01 21:30:16 +01:00
mktemp.cpp AK: Remove the LexicalPath::is_valid() API 2021-06-30 11:13:54 +02:00
modload.cpp
modunload.cpp
mount.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
mv.cpp AK+Everywhere: Add and use static APIs for LexicalPath 2021-06-30 11:13:54 +02:00
nc.cpp
netstat.cpp Utilities: Add program argument for netstat to display connection pid 2021-08-13 20:03:57 +04:30
nl.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
notify.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
nproc.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
ntpquery.cpp Everywhere: Use AK/Math.h if applicable 2021-07-19 16:34:21 +04:30
open.cpp Utilities: Add support for relative paths in open command 2021-06-02 17:34:27 +04:30
pape.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
passwd.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
paste.cpp
pathchk.cpp
pgrep.cpp Everywhere: Improve CPU usage calculation 2021-07-18 22:08:26 +02:00
pidof.cpp Everywhere: Improve CPU usage calculation 2021-07-18 22:08:26 +02:00
ping.cpp Ping: Add -s argument to specify the payload size of the ping 2021-08-03 09:06:11 +02:00
pls.cpp Userland: Add as-user execution to the pls utility 2021-08-16 21:16:30 +02:00
pmap.cpp Utilities: Make sure columns are properly aligned for pmap on x86_64 2021-07-22 08:57:01 +02:00
printf.cpp
pro.cpp AK+Everywhere: Remove StringView::find_{first,last}_of(char) methods 2021-07-02 21:54:21 +02:00
profile.cpp profile: Always enable PERF_EVENT_SIGNPOST 2021-08-12 00:03:38 +02:00
ps.cpp Everywhere: Improve CPU usage calculation 2021-07-18 22:08:26 +02:00
purge.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
pwd.cpp Utilities: Implement pwd 2021-07-09 20:15:40 +02:00
readelf.cpp Utilities: Make the columns for readelf fit all reloc types on x86_64 2021-07-22 08:57:01 +02:00
readlink.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
realpath.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
reboot.cpp
rev.cpp
rm.cpp rm: Allow empty paths if -f is specified 2021-06-05 10:56:58 +02:00
rmdir.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
run-tests.cpp Everywhere: Rename get in ConfigFile::get_for_{lib,app,system} to open 2021-08-22 01:32:25 +02:00
seq.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
shot.cpp shot: Make output filename a hyperlink when applicable 2021-08-01 08:04:53 +02:00
shuf.cpp
shutdown.cpp
sleep.cpp
sort.cpp
sql.cpp Utilities: Some minor changes in sql REPL tool 2021-08-21 22:03:30 +02:00
stat.cpp Kernel+LibC: Use 64 bit values for ino_t 2021-08-12 20:57:32 +02:00
strace.cpp Kernel: Rename Thread::tss to Thread::regs and add x86_64 support 2021-06-27 15:46:42 +02:00
stty.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
su.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
sync.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
syscall.cpp Kernel: Make a bunch of "char const* to_string()" return StringView 2021-08-06 00:37:47 +02:00
sysctl.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
tac.cpp
tail.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
tar.cpp
tee.cpp
telws.cpp
test-bindtodevice.cpp
test-crypto.cpp LibCrypto: Replace from_base{2,8,10,16}() & to_base10 with from_base(N) 2021-06-29 16:55:54 +01:00
test-fuzz.cpp
test-imap.cpp Utilities: Add a simple utility to test the IMAP library 2021-06-11 23:58:28 +04:30
test-pthread.cpp test-pthread: Add a mutex test 2021-07-07 17:08:40 +02:00
test-unveil.cpp
test.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
test_env.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
top.cpp Everywhere: Make tracking cpu usage independent from system ticks 2021-07-18 22:08:26 +02:00
touch.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
tr.cpp AK: Move FormatParser definition from header to implementation file 2021-08-19 23:49:25 +02:00
traceroute.cpp
tree.cpp AK+Everywhere: Add and use static APIs for LexicalPath 2021-06-30 11:13:54 +02:00
true.cpp
truncate.cpp
tt.cpp LibPthread+Kernel: Add pthread_kill() and the thread_kill syscall 2021-07-09 15:36:50 +02:00
tty.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
umount.cpp
uname.cpp
uniq.cpp
unzip.cpp Utilites: Implement unzip -q 2021-06-13 17:05:48 +01:00
uptime.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
useradd.cpp Utilities: Do not allow creating users with existing usernames 2021-06-09 09:00:31 +02:00
userdel.cpp Utilities: Validate user with Core::Account in userdel 2021-06-24 17:33:14 +04:30
usermod.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
utmpupdate.cpp
w.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
wasm.cpp wasm: Don't try to print the function results if it traps 2021-07-17 01:13:39 +04:30
watch.cpp Utilities: Make watch stop parsing options on first non-option 2021-06-08 11:30:58 +02:00
wc.cpp
which.cpp
whoami.cpp
wsctl.cpp WindowServer+wsctl: Add a simple utility for toggling "flash flush" 2021-07-07 22:56:46 +02:00
xargs.cpp Everywhere: Prefer using "..."sv over StringView { "..." } 2021-07-04 14:24:03 +02:00
yes.cpp
zip.cpp