Skip to contentSkip to conversation

sound application needed...

DISCUSSION Kaushik Kumar 2 participants 3 messages Jul 20, 2005 – Jul 21, 2005 2 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

Hi all,

I need a simple sound application to test my sound driver which does *not* use the alsa user lib API.

Or Can you tell me how to write one...

Thanx!
kaushik

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click

#3 lore raw
Quoted 2 lines · Kaushik Kumar

I need a simple sound application to test my sound driver which does *not* use the alsa user lib API.

You can cat files to /dev/dsp, like so:

cat /proc/kcore > /dev/dsp

You can also read from it, then play it again:

cat /dev/dsp > tmp; cat tmp > /dev/dsp # hit ^C to stop recording

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#4 lore raw

hi phil,

I am actually implementing an user level sound driver.. which is still in its rudimentary stages. It does *not* use the /proc interface. I have a simple driver API which the application needs to use. And I need to basically test it.

Any further help would be appreciated.

Thanx!
kaushik

Quoted 4 lines · Phil Frost
Quoted 2 lines · Kaushik Kumar

I need a simple sound application to test my sound driver which does *not* use the alsa user lib API.

Quoted 8 lines

You can cat files to /dev/dsp, like so:

cat /proc/kcore > /dev/dsp

You can also read from it, then play it again:

cat /dev/dsp > tmp; cat tmp > /dev/dsp # hit ^C to stop recording

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click