无音频Android中86音频、Android

2023-09-05 11:12:04 作者:做个女王称霸一方

我已经安装在VirtualBox中的 Android的86 的图像(4.0-RC1-的EeePC)在戴尔的Latitude D820。这种特殊的ISO是不是为笔记本电脑,但所有可用的ISO的工作原理是最好的。

I've setup an Android-x86 image (4.0-RC1-eeepc) in VirtualBox on a Dell Latitude D820. This particular ISO is not for the laptop, but of all available ISOs it works the best.

我已经经历了一些我所遇到的(由不具有ISO为我的设备)的烦恼的工作,但我一直没能得到良好的工作。而Android-x86的VirtualBox的教程和其它在线资源,指示我使用ALSA驱动程序的SoundBlaster 16,但是这并没有奏效。

I have worked through some of the troubles I have come across (by not having an ISO for my device), but I haven't been able to get the sound working. The Android-x86 VirtualBox tutorial and other online resources directed me to use the ALSA driver with SoundBlaster 16, but this has not worked.

这的问题,让我来看看一些ALSA的命令看看我能找到,但我没有得到它的任何地方。

This question got me to look at some of the ALSA commands to see what I could find, but I'm not getting anywhere with it.

随着ALSA驱动器和控制器的SoundBlaster我从 alsa_ctl初始化

With the ALSA driver and SoundBlaster controller I get the following from alsa_ctl init

Unknown hardware: "Dummy" "Dummy Mixer"
Hardware is initialized using a guess method

这看起来非常错误给我,让切换到英特尔高保真音频的其他问题一样。

This looked very wrong to me so switched to the Intel HD Audio as the other question did.

随着ALSA驱动器和英特尔高保真音频控制器,我从 alsa_ctl初始化

With the ALSA driver and Intel HD Audio controller I get the following from alsa_ctl init

Unknown hardware: "HDA-Intel" "SigmaTel ID 7680" ...
Hardware is initialized using a guess method

虽然这看起来有点更有前途,我还是没有音讯。

While this looks a little more promising, I still have no audio.

由于Android是的基本的Linux的,我想我能翻译的Linux解决方案。一些网页具有类似于这个说修改内容的/ etc / modprobe.d / ALSA-base.conf 并添加选项SND-HDA-Intel型号= CORRECT_MODEL ,这似乎帮助了很多Linux用户。不过,这似乎并不适用于Android系统。至少不是我的,因为我没有的alsa-base.conf

Since Android is basically Linux, I thought I would be able to translate a Linux solution. Several webpages have content similar to this one saying to modify /etc/modprobe.d/alsa-base.conf and add options snd-hda-intel model=CORRECT_MODEL and this appears to help a lot of Linux users. However, this doesn't seem applicable to Android. At least not to me, since I don't have alsa-base.conf

我知道这样很了解的音频和ALSA。有没有点儿从上面我所跳了呢?即使是在一个总的方向轻推将是巨大的。

I know so very little about audio and ALSA. Is there anyting jumping out from what I have above? Even a nudge in a general direction would be great.

这是我有一些问题: 这是什么意思时,我得到了未知硬件:虚拟信息?没有音频设备?

Some questions that I have: What does it mean when I get the Unknown hardware: "Dummy" info? No audio device?

最后,我已经验证了我的声音作品的虚拟框外。我的第一个throught是因为我的笔记本电脑可以用声音运行Linux,我应该能够包含在Android的Linux驱动程序。这是否有什么意义?不幸的是,我也真的不知道如何去要么做。

Lastly, I have verified that my sound works outside of virtual box. My first throught is that since my laptop can run Linux with sound, I should be able to include the Linux drivers in Android. Does that make any sense? Unfortunately, I also don't really know how to go about doing that either.

感谢您

推荐答案

曾在VBOX类似的无音讯的问题。在您init.sh加入这一行的alsa_amixer东西到底:

Had a similar no audio problem in vbox. In your init.sh add this line to the end of the alsa_amixer stuff:

alsa_amixer集PCM 100取消静音

在我交锋,我的音频工作得很好。

After I aded that my audio worked fine.