no audio devices found

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

 



Hi,

I have a raspberry pi b3+ and am running rasbpian (not sure which version- called 2018-11-13 raspbian stretch) and I installed the latest pjsip lib2.. When I run the pjsystest program, it doesn’t find any installed audio devices. I have an audio board that I added to the raspberry pi that I had to set up the board, but now it is the default audio devices and other programs (vlc,

Qmmp) see, and can use the audio just fine. It is using asla. I don’t see any place to change the audio device if it can’t find it. I’m not sure what to do. For my purposes pjsua works great for what I need, but I’m not sure what to do for it to see the sound device.

Any suggestions would be helpful. Thanks,

Output from pjsystest below:

 M E N U :

---------
0: Tests
  00: Run test wizard
  01: Device Test
  02: Play Tone
  03: Play WAV File1
  04: Play WAV File2
  05: Record Audio
  06: Latency Test
  07: AEC/AES Test

  09: Exit
1: Options
  10: View Devices
  11: View Settings

Enter the menu number: 00
15:58:49.364      systest.c  Running test wizard
15:58:49.364      systest.c  Running Audio Device List
Audio Device List
No audio devices are found
1:OK  
1
15:58:57.381      systest.c  Running Audio Settings
Error
Error querying device infoUnable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
1:OK  
1
Audio Tone Playback Test
This test will play simple ringback tone to the speaker. Please listen carefully for audio impairments such as stutter. You may need to let this test running for a while to make sure that everything is okay. Press OK to start, CANCEL to skip
1:OK  9:Cancel  
1
15:59:14.740      systest.c  Running Audio Tone Playback Test
15:59:14.740    pjsua_aud.c  Conf connect: 1 --> 0
15:59:14.740    pjsua_aud.c  .Set sound device: capture=-1, playback=-2
15:59:14.740    pjsua_aud.c  ..Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]
15:59:14.740    pjsua_aud.c  .Error opening sound device: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]
Error
Sorry we encounter error when initializing the tone generator: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
1:OK  
1
WAV File Playback Test
This test will play input.8.wav file to the speaker. Please listen carefully for audio impairments such as stutter. Let this test run for a while to make sure that everything is okay. Press OK to start, CANCEL to skip
1:OK  9:Cancel  
1
15:59:30.012      systest.c  Running WAV File Playback Test
15:59:30.012    pjsua_aud.c  Creating file player: input.8.wav..
15:59:30.012    pjsua_aud.c  .Unable to open file for playback: Not found (PJ_ENOTFOUND) [status=70006]
15:59:30.012    pjsua_aud.c  Creating file player: ../../tests/pjsua/wavs/input.8.wav..
15:59:30.022    pjsua_aud.c  .Unable to open file for playback: Not found (PJ_ENOTFOUND) [status=70006]
Error
Sorry we've encountered errorNot found (PJ_ENOTFOUND)
1:OK  
1
Audio Recording
This test will allow you to record audio from the microphone, and playback the audio to the speaker. Press OK to start recording, CANCEL to skip.
1:OK  9:Cancel  
1
15:59:32.180      systest.c  Running Audio Recording
15:59:32.180    pjsua_aud.c  Creating recorder PJSYSTEST_TESTREC.WAV..
15:59:32.184   wav_writer.c  .File writer 'PJSYSTEST_TESTREC.WAV' created: samp.rate=8000, bufsize=4KB
15:59:32.184    pjsua_aud.c  .Recorder created, id=0, slot=1
15:59:32.184    pjsua_aud.c  Conf connect: 0 --> 1
15:59:32.184    pjsua_aud.c  .Set sound device: capture=-1, playback=-2
15:59:32.184    pjsua_aud.c  ..Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]
15:59:32.184    pjsua_aud.c  .Error opening sound device: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]
15:59:32.184    pjsua_aud.c  Conf disconnect: 0 -x- 1
15:59:32.184    pjsua_aud.c  Destroying recorder 0..
Error
Sorry we encountered an error: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
1:OK  
1
Audio Device Test
This will run an automated test for about ten seconds or so, and display some statistics about your sound device. Please don't do anything until the test completes. Press OK to start, or CANCEL to skip this test.
1:OK  9:Cancel  
1
15:59:35.012      systest.c  Running Audio Device Test
Error
Sorry we had error in pjmedia_aud_dev_default_param()Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV)
1:OK  
1
15:59:36.116    pjsua_aud.c  Set sound device: capture=-1, playback=-2
15:59:36.116    pjsua_aud.c  .Error retrieving default audio device parameters: Unable to find default audio device (PJMEDIA_EAUD_NODEFDEV) [status=420006]
Audio Latency Test
This test will try to find the audio device's latency. We will play a special WAV file to the speaker for ten seconds, then at the end calculate the latency. Please don't do anything until the test is done.
1:OK  9:Cancel  
9
AEC/AES Test
This test will try to find whether the AEC/AES works good on this system. Test will play a file while recording from mic. The recording will be played back later so you can check if echo is there. Press OK to start.
1:OK  9:Cancel  
9
Test wizard
Test wizard complete.
1:OK  
1
M E N U :
---------
0: Tests
  00: Run test wizard
  01: Device Test
  02: Play Tone
  03: Play WAV File1
  04: Play WAV File2
  05: Record Audio
  06: Latency Test
  07: AEC/AES Test

  09: Exit
1: Options
  10: View Devices
  11: View Settings

Enter the menu number:

M E N U :
---------
0: Tests
  00: Run test wizard
  01: Device Test
  02: Play Tone
  03: Play WAV File1
  04: Play WAV File2
  05: Record Audio
  06: Latency Test
  07: AEC/AES Test

  09: Exit
1: Options
  10: View Devices
  11: View Settings

Enter the menu number: 10
16:02:53.803      systest.c  Running Audio Device List
Audio Device List
No audio devices are found
1:OK  

 

 

 CONFIDENTIALITY AND PROTECTION NOTICE: The information contained in this message or transmission and in any attachments (collectively hereinafter, this "Communication" is intended only for the individual or entity named above. If you believe that this Communication has been sent to you in error, do not read it; instead, please immediately reply to the sender that you have received this Communication in error, and then delete it (including all attachments). Further, if you are not the intended recipient of this Communication, you are hereby notified that any dissemination, distribution or copying of this Communication is strictly prohibited. Although this e-mail and any attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that they are virus free, and no responsibility is accepted by us for any loss or damage arising in any way from their unauthorized modification or use.
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux