[sbox-DIABLO_ARMEL: ~] > gcc -Wall pa_devs.c -lportaudio -o pa_devs
[sbox-DIABLO_ARMEL: ~] > ./pa_devs
PortAudio version number = 1899
PortAudio version text = 'PortAudio V19-devel (built Jun 28 2009)'
Number of devices = 1
--------------------------------------- device #0
[ Default Input ]
Name = /dev/dsp
Host API = OSS
Max inputs = 16, Max outputs = 0
Default low input latency = 0.012
Default low output latency = -0.000
Default high input latency = 0.046
Default high output latency = -0.000
Default sample rate = 44100.00
Supported standard sample rates
for half-duplex 16 bit 16 channel input =
8000.00, 9600.00, 11025.00, 12000.00,
16000.00, 22050.00, 24000.00, 32000.00,
44100.00, 48000.00, 88200.00, 96000.00,
192000.00
----------------------------------------------
[sbox-DIABLO_ARMEL: ~] >
On the n800 I get the following:
Code:
Nokia-N800-43-7:/opt/stuff# ./pa_devs
PortAudio version number = 1899
PortAudio version text = 'PortAudio V19-devel (built Jun 28 2009)'
Number of devices = 0
----------------------------------------------
Nokia-N800-43-7:/opt/stuff#
Anyone know how to get portaudio to detect audio devices? Am i missing something obvious?
I'm using portaudio packages from maemo extras (diablo n800) and am working with the test file from here:
http://www.portaudio.com/trac/browse...test/pa_devs.c
In scratchbox I get the following output:
Cheers