Maria,
Are you sure that "default:Dongle" is the correct name for your USB audio 
device?  On one of my setups, the audio devices look like this....
root@VoVBBB3Angstrom0904:~# aplay -L (I think this is a SoX command)
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=Black
    TI BeagleBone Black,
    Default Audio Device
sysdefault:CARD=Device
    Generic USB Audio Device, USB Audio
    Default Audio Device
root@VoVBBB3Angstrom0904:~#

I found that I can play an audio howl when using the 
SoX<http://sox.sourceforge.net/>library like this...
aplay -D "default:CARD=Device" /home/root/audio/wolfhowl.wav

I think it also works in the default Angstrom like this...
ffmpeg -i name.mp3  -f alsa "default:CARD=Device" -re -vol 255

(To install SoX in Angstrom)
opkg update
opkg install sox


I hope you get it to work!
-frenchy



--
Respectfully,
Steve French
President, Volt Vision
www.voltvision.com


On Tuesday, November 26, 2013 9:24:42 AM UTC-5, Maria Christopoulou wrote:
>
>
> Hello,
>
> I have some issues with a Usb Audio Dongle (COnrad) in Beaglebone Black.
>
> 1. I connect the Usb Audio Dongle in the BBB.
> 2. I run "speaker-test default:Dongle -t sine" to output audio from the 
> dongle.
> 3. While the program runs, I hear the audio only in the first period. I 
> don't hear the rest periods, although there is optical indication (LED 
> light) that the dongle is operating.
> 4. I stop the program with Ctrl+C and when I run the above command again, 
> it shows this error:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *root@beaglebone:~# speaker-test -D default:Dongle -t sinespeaker-test 
> 1.0.25Playback device is default:DongleStream parameters are 48000Hz, 
> S16_LE, 1 channelsSine wave rate is 440.0000HzRate set to 48000Hz 
> (requested 48000Hz)Buffer size range from 96 to 262144Period size range 
> from 48 to 131072Using max buffer size 262144Periods = 4Unable to set hw 
> params for playback: Input/output errorSetting of hwparams failed: 
> Input/output error*
> I have to remove and place back the dongle, in order to retest.
>
> Any ideas?
>
>
> Thank you,
>
> Maria
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to