what should be the command line argument when running SinkService of Audio for ALSA device in linux.

asked 2015-04-15 21:28:18 -0800

Bhagwatks gravatar image

updated 2015-04-15 21:48:14 -0800

I am not able to identify the device and mixer argument . What should be the name for linux ALSA device.

As My application is running but giving me error like this : AllJoyn Audio build info: v0.00.000 (Built Wed Apr 15 05:51:31 UTC 2015 by root) Found "BKS" :GGqhnWlx.15 objectPath=/Speaker/In, sessionPort=10000 SinkAdded: :GGqhnWlx.15 0.968 ** ERROR ALLJOYN_AUDIO AddSink ...udio/src/SinkPlayer.cc:556 | Port.Connect() failed: ER_B SinkRemoved: :GGqhnWlx.15 lost=1 Lost :GGqhnWlx.15

and again when I call the open command getting the below error : available commands: open, close, play, pause, volume, mute, quit open 32.552 ** ERROR ALLJOYN_AUDIO external ...udio/src/SinkPlayer.cc:464 | Stream.Open() failed: ER_BU

I have run the SinkService with the below :

./audio/bin/samples/SinkService -D"device 3" "BKS" AllJoyn Library version: v14.06.00a AllJoyn Library build info: AllJoyn Library v14.06.00a (Built Fri Jan 16 06:28:43 UTC 2015 by root - Git: alljoyn branch: '(no branc h)' tag: 'v14.06a-rc1' (+0 changes) commit ref: 9d096987205609053a9a656ebd72972ea92eff17) AllJoyn Audio version: v0.00.000 AllJoyn Audio build info: v0.00.000 (Built Wed Apr 15 05:51:31 UTC 2015 by root) Accepting join session request from :GGqhnWlx.16 (opts.proximity=ff, opts.traffic=1, opts.transports=fe7f) SessionJoined with :GGqhnWlx.16 (id=-506768304) Link timeout has been set to 20s ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM device 3 0.336 * ERROR ALLJOYN_AUDIO lepDisp ...src/posix/ALSADevice.cc:78 | cannot open audio device "device 3" (No such file or directory): ER_OS_ERROR 0.336 ERROR ALLJOYN_AUDIO lepDisp ...src/AudioSinkObject.cc:306 | Failed to open audio device: ER_FAIL ^C[root@localhost dist]# ./audio/bin/samples/SinkService -Dhw:0,0 "BKS" AllJoyn Library version: v14.06.00a AllJoyn Library build info: AllJoyn Library v14.06.00a (Built Fri Jan 16 06:28:43 UTC 2015 by root - Git: alljoyn branch: '(no branc h)' tag: 'v14.06a-rc1' (+0 changes) commit ref: 9d096987205609053a9a656ebd72972ea92eff17) AllJoyn Audio version: v0.00.000 AllJoyn Audio build info: v0.00.000 (Built Wed Apr 15 05:51:31 UTC 2015 by root) Accepting join session request from :GGqhnWlx.16 (opts.proximity=ff, opts.traffic=1, opts.transports=fe7f) SessionJoined with :GGqhnWlx.16 (id=464224539) Link timeout has been set to 20s 0.528 ERROR ALLJOYN_AUDIO lepDisp ...src/posix/ALSADevice.cc:78 | cannot open audio device "hw:0,0" (No such file or d irectory): ER_OS_ERROR 0.528 * ERROR ALLJOYN_AUDIO lepDisp ...src/AudioSinkObject.cc:306 | Failed to open audio device: ER_FAIL

Please help.

edit retag flag offensive close merge delete

Comments

you might try on the core mailing list. https://lists.allseenalliance.org/mailman/listinfo/allseen-core

ry.jones ( 2015-08-07 21:11:22 -0800 )edit