Hi all,
A While back - actually about 6 months ago, I used to use Mandrake 10.2. I could use it on my system in command line mode and in X to record audio from my soundcard to an mp3. I used this at the commnad line;
Code:
sox -t ossdsp -w -s -r 44050 -c 1 /dev/dsp -t raw - | lame -x -m m -b 256 - test.mp3
Which used to work fine. Since then, I have changed over to Slackware 10.2 current (and installed the current versions of the linux modules, alsa, etc). However the line above once sox and lame are installed dosen't seem to work -- using that at the command line gives me a file 0 bytes long.
Also, typing this at a command line;
Shows almost nothing -- on very rare occasions I will see some sort of output from that command but it only works for a brief moment -- /dev/dsp seems to return nothing at all mainly.
The odd thing is that recording with a program like audacity works just fine - it is just at the command line that nothing works. Playing back audio also has no problems either.
I also tried this;
Code:
rec -c 2 -r 44100 -s w my_file.wav
Which did produce a result, but the audio was very broken up.
Does anyone have any ideas what could be wrong? The KDE mixer and alsamixer at the command line both seem to agree.
I get the same problems either running within or outside of X . Oddly, only command line programs are affected.
SP