Active Topics

 


Reply
Thread Tools
Posts: 11 | Thanked: 27 times | Joined on Nov 2007 @ Manchester
#1
I'm playing about with portaudio and wondering if anyone can help.

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:

Code:
[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?

Cheers
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#2
In SB it uses OSS. Does this only use OSS? If yes, you need OSS emulation in ALSA, or enable support for something else than OSS.

See: http://maemo.org/maemo_release_docum...1.x/node9.html

To compile PortAudio see http://www.portaudio.com/trac/wiki/T.../Compile/Linux
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:18.