error when playing A2DP by alsa_aplay

by archerypp » Thu, 23 Jul 2009 19:52:31 GMT


Sponsored Links
 Hi, I want to use alsa_aplay to play A2DP.
After I finished connecting bt headset, I used the following command
and error occurred:
#alsa_aplay -Dplug:bluetooth /file.wav.
##ALSA lib external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM bluetooth
aplay: main:590: audio open error: No such file or directory

Have you ever meet this issue?
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



error when playing A2DP by alsa_aplay

by pavan savoy » Thu, 23 Jul 2009 19:55:49 GMT


 how is the asoundrc file ?

does it have the pcm.bluetooth {
device XX:XX:XX:XX:XX:XX
}

regards,
Pavan






-- 
--Pavan Savoy

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Other Threads

1. Simplest way to store state information in an AppWidgetProvider (between onUpdate() cycles)

I know I can save information in a static attribute in a widget,
however, is there a way for a widget instance to save the state
information similar to the Activity onSaveInstanceState(Bundle
outState) method?

I don't want to write to a database for this state information.


--~--~---------~--~----~------------~-------~--~----~

2. problem with glDrawTex and untextured quads/lines

Hello,

some elements of my game draw untextured quads and lines.
To optimize the game, i switched 2d texture rendering from glDrawArrays
() to glDrawTexiOES(), which noticeably raised the frame rate but also
caused all untextured quads/lines (which still utilize glDrawArrays)
to no longer be rendered at all.
Through some testing i've noticed that the untextured elements can be
drawn together with glDrawTexiOES(), but only if at least one textured
element was prior drawn by glVertexPointer(), glTexCoordPointer() and
glDrawArrays().
Once any textured quad was drawn through glDrawArrays() i can
completly switch to glDrawTexiOES() and all untextured quads/lines are
drawn.

Now my questions are, is this a known behaviour? or am i doing
something wrong? or could this be a bug in the G1? (The problem does
not appear on the emulator)

Please let me know if you have any advice. Thanks,
Mike.

--~--~---------~--~----~------------~-------~--~----~

3. help! adding an activity of my application to another application

4. Cursor position at the end of text

5. Time to first screen, boot-up time and app-start time?

6. LocationManager always returns null ... ?

7. what is the fast way to save/load string from/in an array?