![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2006
Beans: 26
|
VMPlayer and ALSA
I have had a nagging problem with VMPlayer: it uses OSS for sound. That means that unless OSS is enabled and loaded, I get the annoying /dev/dsp not found message when the player starts; as I was moving to Dapper, many updates broke OSS and made the problem reappear. Additionally, this means that while another application is using OSS and the player tries to access it, it will hang with an error message.
To enable OSS to begin with, follow the first section of this thread: http://www.ubuntuforums.org/showthre...light=oss2jack The best solution for me was adapted from this thread on the vmware forums; it uses the alsa-oss package and enables VMPlayer to use ALSA for sound. 1. Install VMPlayer and create your image. I was greatly helped by this guide; browse the rest of the thread for instructions on using qemu without wine. After you have a working image and preliminary installation of the guest OS: 2. Get the alsa-oss package: Code:
sudo apt-get install alsa-oss Code:
sudo chmod +s /usr/lib/libaoss.so.* Code:
sudo mv /usr/bin/vmplayer /usr/bin/vmplayerorig Code:
sudo vi /usr/bin/vmplayer Code:
#!/bin/bash LD_PRELOAD=libaoss.so exec /usr/bin/vmplayerorig "$@" Code:
sudo chmod +x /usr/bin/vmplayer |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|