On Sun, Mar 17, 2013 at 10:29:18AM +0100, Jan Stary wrote: > On Mar 16 17:37:19, bcal...@devio.us wrote: > > Hi ports -- > > > > Attached is a tarball for ctronome, a command line metronome. > > > > Works for me on amd64 and loongson; I assume it will work on macppc and all > > other archs as well due to the simplicity of the program, but I haven't > > tested it. > > Works fine on my IBM Thinkpad, > but fails on current/amd64: > > $ ctronome prog_example.txt > FATAL: your wav has 1 channels, while your DSP only supports 2 channels. > > Apparently, this doesn't use any of the sndio functionality, > and talks to audio hardware directly via the dsp_* routines > (ossaudio). > > Indeed, the audio interface on this machine can only do stereo itself. > I believe most audio hardware now can do stereo (and possibly not mono). > > Would it make sense to hardwire the stereo wav's to be used by ctronome? > It works for me with patch-ctronome_h replaced with the diff bellow.
This needs to have a sndio backend written before it can go in. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.