Deutsch English Français Italiano |
<v4togj$1jujh$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Alastair Hogge <agh@riseup.net> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: 14.1: /dev/audio gone? Is there a replacement? Date: Wed, 19 Jun 2024 04:57:55 -0000 (UTC) Organization: A noiseless patient Spider Lines: 50 Message-ID: <v4togj$1jujh$1@dont-email.me> References: <ydo784j2zm.fsf@UBEblock.psr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 19 Jun 2024 06:57:56 +0200 (CEST) Injection-Info: dont-email.me; posting-host="78d479c3875cc7b4c781efb9d809f654"; logging-data="1702513"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cUstTfB0tntSoXwHOhi9y8oaJs6S1gT0=" User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2) Cancel-Lock: sha1:fpnrNVVo5djWGfha1MZz6guhB5k= Bytes: 2798 On Thu, 13 Jun 2024 11:07:09 -0400, Winston wrote: Hi, > SUMMARY: > > After upgrading to 14.1, it looks like /dev/audio is gone. > Maybe this is some side effect of the "hot un/plugging" changes to audio > that wasn't mentioned in the Release Notes? > > I used to be able to do "cp somesound.au /dev/audio". > What, if anything, is the replacement? > > DETAILS: > > The boot-up messages in the log file show the device uaudio0 getting > discovered just as before. The only log file difference I see is that > "pcm0: <USB audio> on uaudio0" has changed to "pcm0: on uaudio0". > I see no audio*, uaudio*, nor pcm* in /dev now, though. > > 1) /dev/dsp0 isn't an instant substitute: > "cp somesound.au /dev/dsp0" sounds like both the wrong speed and the > volume cranked up well past distortion level. > > 2) "out123 -m -r 8000 --speed .5 -P -6 somesound.au" sounds like maybe > something like this could be made to work if I could find all the > right options, but the result so far is horribly noisy. [The .au > file I'm trying to play is sample rate 8000 mono.] > > 3) pacat/paplay gets "Connection failure: Connection refused". > > Any suggestions? > -WBE There has been loads of exciting work in /sys/dev/sound/, tho, the two commits that might be of interest are: sound: Get rid of snd_clone and use DEVFS_CDEVPRIV(9): https://cgit.freebsd.org./src/commit/sys/dev/sound/pcm? id=e8c0d15a64fadb4a330f2da7244becaac161bb70 sound: Remove unused dsp_cdevs[] fields and devices: https://cgit.freebsd.org./src/commit/sys/dev/sound/pcm/dsp.c? id=72cbd381075a2eb22a070505334d1ce92ec2d7ad Otherwise no idea on how to replicate the older methods with the new sound work. -- To health and anarchy