On Fri, 21 Aug 1998, James wrote:
> On Fri, 21 Aug 1998, luser wrote:
>
> -/dev/dsp is also locked when a process has openned it for read
> -or write (or both ?) so one only process may use it.
>
> not with my card, if i have 2 VTs running i can play an mpeg on one, and
What card do you have
> On Fri, 21 Aug 1998, luser wrote:
>
> -/dev/dsp is also locked when a process has openned it for read
> -or write (or both ?) so one only process may use it.
>
> not with my card, if i have 2 VTs running i can play an mpeg on one, and
> on the other do:
>
> cat /dev/dsp > capture
>
>
On Fri, 21 Aug 1998, James wrote:
> but it's crappy quality (sounds like 11025 8bit mono). Maybe that's the
> default for that and i need to change it.
I'm not sure. Try something like:
int S;
int desdsp;
if( (dspdes = open("/dev/dsp", O_RDONLY)) == -1)
{ /* clean up */ }
S = 4
On Fri, 21 Aug 1998, luser wrote:
-/dev/dsp is also locked when a process has openned it for read
-or write (or both ?) so one only process may use it.
not with my card, if i have 2 VTs running i can play an mpeg on one, and
on the other do:
cat /dev/dsp > capture
then stop the mpeg a
On Fri, 21 Aug 1998, luser wrote:
-> how can i capture the data that my soundcard produces when it makes sounds?
-
-Not very easily using software, you would need to use pipes and a
-program to write to a file and the device file. ioclt() is used
-to set sampling speed/size, it's problematic. I
On Fri, 21 Aug 1998, James wrote:
> how can i capture the data that my soundcard produces when it makes sounds?
Not very easily using software, you would need to use pipes and a
program to write to a file and the device file. ioclt() is used
to set sampling speed/size, it's problematic. If s
James wrote:
> how can i capture the data that my soundcard produces when it makes sounds?
> e.g i run an mpeg decoder, whilst it's playing i have some other program
> (that i'm trying to write) that captures this data (what device, etc?) and
> writes it to a file (actually it'll send it out a s
o to the analog output).
I've got no idea if one can access this info via a device file, hopefully
someone else can shed some light.
Andy
> -Original Message-
> From: James [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, August 20, 1998 5:22 PM
> To: Linux C Programming
how can i capture the data that my soundcard produces when it makes sounds?
e.g i run an mpeg decoder, whilst it's playing i have some other program
(that i'm trying to write) that captures this data (what device, etc?) and
writes it to a file (actually it'll send it out a serial port, but that's