Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Wine sound at double speed

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
arhenius
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Mon Mar 19, 2007 8:14 pm
Location: Portugal
Contact:
Contact arhenius
Website

Wine sound at double speed

  • Quote

Post by arhenius » Tue Sep 09, 2008 1:35 pm

Hello.

I installed wine and everything is working fine except the sound.

I have an M-Audio Audiophile 2496 installed and configured on ALSA (envy24). It's sampling rate is set at 44100Hz.
I compiled wine with alsa, jack and oss use flags (ammong others). Winecgf was also set to use 44100Hz as the sampling rate.

Now for the results:

- If I try to use oss emulation, wine can not play any sound, and gives error.
- When I set winecfg to use alsa, I can get sound, but it looks to be played at double speed.
- When I set winecfg to use jack, I can ear at the correct pitch, but the sound is sometimes interrupted due to errors (also, I have to have jack started).

Is there a way to have wine to use alsa and to play the sounds at the correct pitch?

BTW, the sounds I'm interested are musics from games like afterlife and Sid Meyer's Locomotion.

Thank you in advance.

Filipe
Filipe
Top
KWhat
l33t
l33t
User avatar
Posts: 673
Joined: Sun Sep 04, 2005 4:49 pm
Location: Los Angeles

  • Quote

Post by KWhat » Thu Sep 11, 2008 4:17 pm

Throw up your ~/.asoundrc file. I have found wine to be very picky about the alsa setup. Your definitely experiencing a rate conversion issue, just not sure where. Did you try reducing the hardware acceleration? I am assuming this is happening in all applications.
Top
kokoko3k
n00b
n00b
Posts: 72
Joined: Fri May 06, 2005 4:16 pm

Re: Wine sound at double speed

  • Quote

Post by kokoko3k » Fri Sep 12, 2008 1:41 pm

arhenius wrote:It's sampling rate is set at 44100Hz.
Maybe it's not only set, but locked, use envy24 tool to unlock it or use wine with oss.
Wine under alsa, for some reason i ignore, usually sounded strange to me, like downsampled, i ever suspected it outputs @ 22khz, and now you seems to confirm this.
Top
arhenius
Tux's lil' helper
Tux's lil' helper
Posts: 81
Joined: Mon Mar 19, 2007 8:14 pm
Location: Portugal
Contact:
Contact arhenius
Website

  • Quote

Post by arhenius » Wed Sep 17, 2008 10:48 pm

Hi.

I'm sorry not answering earlier. I spent the weekend upgrading gentoo, and thought I'm now using a new kernel, the problem still remains.

So, without any delay, I'll start answering to your posts. Please regard that I'm now using the most recent stable (x86) versions of every software mentioned, as of 2008-09-15.

I haven't got any ~/.asoundrc, neither a system-wide asoundrc. Also, my soundboard is locked at 44100Hz.

The double speed effect happends when I use wine with OSS output. When I use Alsa, it complains about not having a master volume control, and simply runs the apps without sound. When I use Jack output, I get the sound at the right rate, but I get overruns from time to time, and sometimes, my jack server gets zombified (now it just dies, since the upgrade).

I'll try to unlock the rate... I'll report to you as soon as I have more information, until then, any comments, suggestions and explanations are most welcome.
Filipe
Top
Post Reply

4 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic