why in emulator, "/dev/eac" is connected with the audio?

by max » Fri, 17 Apr 2009 16:51:33 GMT


Sponsored Links
 Hi Buddies,

I wanna get understood that why in emulator "dev/eac" is the device of
audio,

as I know, in external/qemu/audio, there is all kinds audio drivers,
such as oss, alsa,

but I am very curious why in the android linux system, the "dev/eac"
is connected with those drivers.

Anybody can give me some light on that?

Max
--~--~---------~--~----~------------~-------~--~----~

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



why in emulator, "/dev/eac" is connected with the audio?

by max » Sat, 18 Apr 2009 15:03:16 GMT


 Hi David,

Thanks for your reply.

When I study the code in frameworks\base\libs\audioflinger
\AudioHardwareGeneric.cpp, I saw it does open the device node "dev/
eac" to get a File descriptor. Therefore , the question is how "/dev/
eac" is connected with the host linux's sound system. I have read the
code in external/qemu/hw/goldfish_audio.c, but I still can not figure
out how the device node "/dev/eac" in emulator's linux system is
connected with host linux's sound system.

Thanks





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

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


Sponsored Links


why in emulator, "/dev/eac" is connected with the audio?

by Stephen » Thu, 30 Apr 2009 17:11:34 GMT


 hi Max

  have you find the answer?
  how "/dev/eac" is connected with host linux's sound system?
  I am trying to add my own device driver to android







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

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



Other Threads

1. Could the G1 be used as a monitor/wired remote control for a digital camera?

I would like to plug my G1 into my Canon Ixus and display the
viewfinder image on the G1's screen and use the G1 to control the
camera. Is this theoretically feasible? If so, does anybody feel like
developing the app? :)

I'm tempted to buy a mini USB male to male lead just to see if
anything happens when I connect them.

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

2. Is there any method help check app's UI element by automated test.

Suppose UI designers developed UI specification to define styles of
widgets/screen. App developer can easily apply the style defined by
Setting its layout resource Id. Is there a way that App tester may use
InstrumentationTestCase to automatically check if app's UI elements
followed UI specification?

Instrumentation can get Activity, Activity can find View by Id. Does
android have the method for tester Getting the resource Id the View
applied?

Thanks a lot.
--~--~---------~--~----~------------~-------~--~----~

3. Howto build Android full source for X86 Architecture on Fedora distribution.

4. Why Instrumentation send events sync but Monkey async.

5. starting Native executable from an Activity

6. GradientDrawable definition in XML?

7. Driver software for Android developer phone?