LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-18-2006, 01:32 PM   #1
pugilism
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
Capturing from /dev/dsp


I have an application that is playing to /dev/dsp, i want to capture this sound while it's playing and stream it to another application but it's giving me an "device in use" error, which is obvious. What can i use to multiplex /dev/dsp?
 
Old 04-20-2006, 03:27 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Well, search for some streaming recorder or such... You have to preload something replacing writing to /dev/dsp with loging. I've tuned the following for myself:
http://bigtip.narod.ru/sourcetip/dumper_c
- a rewrite of some other program to do similar thing. Read the source, and export LD_PRELOAD showing to it (containing full path of shared library resulting from compilation with --shared) before running player.

Or search for ready, easy to use solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no /dev/dsp nor /dev/mixer on 2.6.9 amuro_ray Slackware 9 08-03-2009 03:54 PM
devfs and devfsd don't create /dev/dsp or /dev/sound/dsp ? behmjose Linux - Hardware 2 10-02-2006 01:27 PM
/dev/dsp b123coder Linux - Hardware 3 04-08-2006 08:24 AM
No /dev/dsp /dev/mixer etc david.skinner Linux - Software 2 05-19-2005 03:28 AM
/dev/dsp ixion Linux - General 7 01-09-2003 07:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration