Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Any NetBSD Amiga audio support?



In message <Pine.NEB.3.96.980210111051.244A-100000%battle.war.com@localhost>, 
you write:
> 
> Subject says it all. Is there some simple way of sending an .au or .iff or
> .8svx (or what-have-you) to the audio device to be played?
>
> Is there any support for digitizing hardware (the reading from the
> /dev/audio half of the duplex)? Does the audio device when read, sample
> the parallel port to read the digitizer values there?
> 
> I tried to read the man pages and they told me that simply writing to
> /dev/audio an .au file would play it off to the speakers.. however,
> /dev/audio became the file I copied in there, suggesting to me that the
> /dev/audio didn't exist in the first place. However, /dev/audio1,
> /dev/audio2, etc do exist--writing to them though gives me a "device busy"
> error message.
> 
> Anyone? I guess following the audio threads would probably be a good idea
> in this case, however I haven't been around for very long. :)

I've been able to cat .au files to /dev/audio0 but I haven't been able
to compile any programs to play any other type of files, like mod
players, etc.

As long as you have audio support in your kernel, you should be able to
just:

# cat file.au > /dev/audio0

Here are the /dev files I have for audio:

# ls -l /dev/audio*
crw-rw-rw-  1 root  wheel   41, 128 Feb  5 22:47 /dev/audio0
crw-rw-rw-  1 root  wheel   41, 129 Jan 28 22:01 /dev/audio1
crw-rw-rw-  1 root  wheel   41, 130 Jan 28 22:02 /dev/audio2
crw-rw-rw-  1 root  wheel   41, 131 Jan 28 22:02 /dev/audio3
crw-rw-rw-  1 root  wheel   41, 192 Jan 28 22:01 /dev/audioctl0
crw-rw-rw-  1 root  wheel   41, 193 Jan 28 22:01 /dev/audioctl1
crw-rw-rw-  1 root  wheel   41, 194 Jan 28 22:02 /dev/audioctl2
crw-rw-rw-  1 root  wheel   41, 195 Jan 28 22:02 /dev/audioctl3

I've not done much reading on these yet, so I don't know what the other 
devices are for...




Home | Main Index | Thread Index | Old Index