All pastes #729121 Raw Edit

Something

public text v1 · immutable
·published 2007-10-07 17:52 UTC
rendered paste body
Device #0 **Default Input**Default Output** | Name: /dev/dsp
Host: OSS | inputs: 16 | outputs: 16 | Default rate: 44100.00
half-duplex 16 bit 16 channel input rates:
        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
half-duplex 16 bit 16 channel output rates:
        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
full-duplex 16 bit 16 channel input, 16 channel output rates:
        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
--------------------------------------------------------------------------------
Device #1 **Default ALSA Input** | Name: HDA ATI SB: ALC861VD Analog (hw:0,0)
Host: ALSA | inputs: 2 | outputs: 2 | Default rate: 44100.00
half-duplex 16 bit 2 channel input rates:
        44100.00, 48000.00, 96000.00
half-duplex 16 bit 2 channel output rates:
        44100.00, 48000.00, 96000.00
full-duplex 16 bit 2 channel input, 2 channel output rates:
        44100.00, 48000.00, 96000.00
--------------------------------------------------------------------------------
Device #2 Name: HDA ATI SB: Si3054 Modem (hw:0,6)
Host: ALSA | inputs: 1 | outputs: 1 | Default rate: 16000.00
half-duplex 16 bit 1 channel input rates:
        8000.00, 9600.00, 16000.00
half-duplex 16 bit 1 channel output rates:
        8000.00, 9600.00, 16000.00
full-duplex 16 bit 1 channel input, 1 channel output rates:
        8000.00, 9600.00, 16000.00
--------------------------------------------------------------------------------
Device #3 Name: front
Host: ALSA | inputs: 0 | outputs: 2 | Default rate: 44100.00
half-duplex 16 bit 2 channel output rates:
        44100.00, 48000.00, 96000.00
--------------------------------------------------------------------------------
Device #4 Name: surround40
Host: ALSA | inputs: 0 | outputs: 2 | Default rate: 44100.00
half-duplex 16 bit 2 channel output rates:
        44100.00, 48000.00, 96000.00
--------------------------------------------------------------------------------
Device #5 Name: surround51
Host: ALSA | inputs: 0 | outputs: 2 | Default rate: 44100.00
half-duplex 16 bit 2 channel output rates:
        44100.00, 48000.00, 96000.00
--------------------------------------------------------------------------------
Device #6 Name: surround71
Host: ALSA | inputs: 0 | outputs: 2 | Default rate: 44100.00
half-duplex 16 bit 2 channel output rates:
        44100.00, 48000.00, 96000.00
--------------------------------------------------------------------------------
Device #7 Name: modem
Host: ALSA | inputs: 1 | outputs: 1 | Default rate: 16000.00
half-duplex 16 bit 1 channel input rates:
        8000.00, 9600.00, 16000.00
half-duplex 16 bit 1 channel output rates:
        8000.00, 9600.00, 16000.00
full-duplex 16 bit 1 channel input, 1 channel output rates:
        8000.00, 9600.00, 16000.00
--------------------------------------------------------------------------------
Device #8 Name: phoneline
Host: ALSA | inputs: 1 | outputs: 1 | Default rate: 16000.00
half-duplex 16 bit 1 channel input rates:
        8000.00, 9600.00, 16000.00
half-duplex 16 bit 1 channel output rates:
        8000.00, 9600.00, 16000.00
full-duplex 16 bit 1 channel input, 1 channel output rates:
        8000.00, 9600.00, 16000.00
--------------------------------------------------------------------------------
Device #9 **Default ALSA Output** | Name: default
Host: ALSA | inputs: 128 | outputs: 128 | Default rate: 44100.00
half-duplex 16 bit 128 channel input rates:
        8000.00, 9600.00, 11025.00, 16000.00, 22050.00, 32000.00, 44100.00
        48000.00, 88200.00
half-duplex 16 bit 128 channel output rates:
        8000.00, 9600.00, 11025.00, 16000.00, 22050.00, 32000.00, 44100.00
        48000.00, 88200.00
full-duplex 16 bit 128 channel input, 128 channel output rates:
        8000.00, 9600.00, 11025.00, 16000.00, 22050.00, 32000.00, 44100.00
        48000.00, 88200.00
--------------------------------------------------------------------------------
Device #10 Name: dmix
Host: ALSA | inputs: 0 | outputs: 2 | Default rate: 48000.00
half-duplex 16 bit 2 channel output rates:
        48000.00
--------------------------------------------------------------------------------
API CALL [pa(dump)] output:


freeswitch@zoe> pa indev #1
API CALL [pa(indev #1)] output:
indev set to 1


freeswitch@zoe> pa outdev #9
API CALL [pa(outdev #9)] output:
outdev set to 9


freeswitch@zoe> pa call 1234
2007-10-07 10:51:24 [NOTICE] switch_channel.c:389 switch_channel_set_name() New Chan PortAudio/1234 [eba4a3e4-74fd-11dc-b9e7-8be1c40990d1]
Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1254
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1805
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1929
API CALL [pa(call 1234)] output:
FAIL:Device Error!


freeswitch@zoe> 2007-10-07 10:51:24 [ERR] mod_portaudio.c:1263 engage_device() Can't open audio device!
2007-10-07 10:51:24 [NOTICE] mod_portaudio.c:1628 place_call() Close Channel PortAudio/1234 [CS_NEW]