Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #199638 > unrolled thread
| Started by | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| First post | 2018-08-30 19:20 +0200 |
| Last post | 2018-08-31 10:20 +0200 |
| Articles | 5 — 5 participants |
Back to article view | Back to linux.debian.user
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Debian Stretch Am Confused about /dev/dsp Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-30 19:20 +0200
Re: Debian Stretch Am Confused about /dev/dsp "Martin McCormick" <martin.m@suddenlink.net> - 2018-08-30 22:20 +0200
Re: Debian Stretch Am Confused about /dev/dsp Dan Ritter <dsr@randomstring.org> - 2018-08-31 00:10 +0200
Re: Debian Stretch Am Confused about /dev/dsp didier gaumet <didier.gaumet@gmail.com> - 2018-08-31 10:00 +0200
Re: Debian Stretch Am Confused about /dev/dsp Ric Moore <wayward4now@gmail.com> - 2018-08-31 10:20 +0200
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2018-08-30 19:20 +0200 |
| Subject | Re: Debian Stretch Am Confused about /dev/dsp |
| Message-ID | <wsyLT-75z-1@gated-at.bofh.it> |
On Thu, Aug 30, 2018 at 12:14:57PM -0500, Martin McCormick wrote: > After successfully installing stretch on a system, there > was no /dev/dsp. I needed to play some mp3 files and so > installed mplayer. [...] /dev/dsp is part of the legacy OSS (Open Sound System) interface. If you play audio using only ALSA, or ALSA + Pulse, you do not need this older interface. If your software requires the /dev/dsp interface (because it predates ALSA), you can try loading the snd-pcm-oss module. At least, that's what the IRC bot says to do. It also pointed me to <http://wiki.debian.org/ReleaseGoals/NoLinuxDevDsp>, if that's of any help.
[toc] | [next] | [standalone]
| From | "Martin McCormick" <martin.m@suddenlink.net> |
|---|---|
| Date | 2018-08-30 22:20 +0200 |
| Message-ID | <wsBA5-hF-3@gated-at.bofh.it> |
| In reply to | #199638 |
Greg Wooledge <wooledg@eeg.ccf.org> writes: > /dev/dsp is part of the legacy OSS (Open Sound System) interface. If > you play audio using only ALSA, or ALSA + Pulse, you do not need this > older interface. > > If your software requires the /dev/dsp interface (because it predates > ALSA), you can try loading the snd-pcm-oss module. At least, that's > what the IRC bot says to do. Thank you. I am happy to report that adding snd-pcm-oss to /etc/modules brought the /dev/dsp interfaces back. I never did a lsmod on the system a week or so ago to see what was there when I first saw /dev/dsp and /dev/dsp1 and it could be that the snd-pcm-oss module was loaded as a result of installing mplayer although mplayer does not need /dev/dsp and works fine without it. When I shut down the system and restarted it today, i did do lsmod looking for snd-pcm-oss and it was not there. After placingthe name of the module in /etc/modules, I rebooted so as to start from scratch and it was there along with /dev/dsp and /dev/dsp1 for the usb device which now works like a charm. I must read up on how to code for not needing /dev/dspx to fix the real issue here. The software I wrote doesn't predate oss but some documentation I red years ago that probably does predate oss was what I used to wrige some C routines that send and receive sound plus use ioctl to set, say, /dev/dsp or /dev/dsp1 for stereo at 32000 samples per second. I used that to make a stereo sound card record 2 independent 8-K 8-bit audio channels from two radio scanners Music stinks when recorded that way but scanner audio has such a limited pass band that it sounds pretty decent. Many thanks. > It also pointed me to <http://wiki.debian.org/ReleaseGoals/NoLinuxDevDsp>, > if that's of any help. I will save this message and also learn the correct way to send and receive audio these days. Martin
[toc] | [prev] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2018-08-31 00:10 +0200 |
| Message-ID | <wsDiy-1kA-9@gated-at.bofh.it> |
| In reply to | #199642 |
On Thu, Aug 30, 2018 at 03:10:24PM -0500, Martin McCormick wrote: > The software I wrote doesn't predate oss but some > documentation I red years ago that probably does predate oss was > what I used to wrige some C routines that send and receive sound > plus use ioctl to set, say, /dev/dsp or /dev/dsp1 for stereo at > 32000 samples per second. > > I used that to make a stereo sound card record 2 > independent 8-K 8-bit audio channels from two radio scanners > > Music stinks when recorded that way but scanner audio has > such a limited pass band that it sounds pretty decent. > > Many thanks. > > > It also pointed me to <http://wiki.debian.org/ReleaseGoals/NoLinuxDevDsp>, > > if that's of any help. > > I will save this message and also learn the correct way > to send and receive audio these days. I think that 'sox' which can also be called as 'play' or 'rec' is what you want. Use rec to record from sound-input, and sox to split it by channel into two files. -dsr-
[toc] | [prev] | [next] | [standalone]
| From | didier gaumet <didier.gaumet@gmail.com> |
|---|---|
| Date | 2018-08-31 10:00 +0200 |
| Message-ID | <wsMvw-6x1-5@gated-at.bofh.it> |
| In reply to | #199642 |
Hello, from what I understand, using alsa-oss would be better than using the OSS emulation module, partircularly if one is to use sound plug-ins? https://packages.debian.org/stretch/alsa-oss
[toc] | [prev] | [next] | [standalone]
| From | Ric Moore <wayward4now@gmail.com> |
|---|---|
| Date | 2018-08-31 10:20 +0200 |
| Message-ID | <wsMOR-6T9-1@gated-at.bofh.it> |
| In reply to | #199647 |
On 08/31/2018 03:51 AM, didier gaumet wrote: > Hello, > > from what I understand, using alsa-oss would be better than using the > OSS emulation module, partircularly if one is to use sound plug-ins? > https://packages.debian.org/stretch/alsa-oss If you use pulse you can execute your program using the prefix "padsp" Kino still requires /dev/dsp so you would launch it using padsp kino Works a charm. Ric -- My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ..the Sin of Ignorance, and the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad. http://linuxcounter.net/user/44256.html
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web