| 1 | = Checking if Speaker is Functioning Properly by Playing a WAV File = |
| 2 | |
| 3 | An easy way to check if speaker is functioning properly is by using '''pjsua''' to play a WAV file to the speaker, with these easy steps: |
| 4 | |
| 5 | 1. Find any WAV file with the following specification: |
| 6 | * any clock rate |
| 7 | * '''mono''' |
| 8 | * 16bit, PCM sample |
| 9 | 1. Run pjsua with the file: |
| 10 | {{{ |
| 11 | $ ./pjsua --play-file THEFILE.WAV |
| 12 | }}} |
| 13 | 1. Check that the file is registered to the bridge: |
| 14 | {{{ |
| 15 | >>> cl |
| 16 | Conference ports: |
| 17 | Port #00[16KHz/10ms] Primary Sound Capture Driver transmitting to: |
| 18 | Port #01[16KHz/10ms] d16.wav transmitting to: |
| 19 | }}} |
| 20 | 1. Play the file to the speaker: |
| 21 | {{{ |
| 22 | >>> cc 1 0 |
| 23 | Success |
| 24 | }}} |
| 25 | 1. Done. You should hear the file played to the speaker. |
| 26 | |
| 27 | If you couldn't hear the file played to the speaker, then there's probably something wrong with your speaker. |