UMLComputerGraphics / GraphicsProject

UML Graphics 2 Final Project 2013
7 stars 1 forks source link

FMOD doesn't play sound under linux?? #80

Closed nuclearmistake closed 11 years ago

nuclearmistake commented 11 years ago

aplay plays sound properly, but I get nothing from fmod

sudo lshw -C sound -multimedia
description: Audio device product: GF114 HDMI Audio Controller vendor: NVIDIA Corporation physical id: 0.1 bus info: pci@0000:01:00.1 version: a1 width: 32 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=snd_hda_intel latency=0 resources: irq:17 memory:f6080000-f6083fff
-multimedia description: Audio device product: 6 Series/C200 Series Chipset Family High Definition Audio Controller vendor: Intel Corporation physical id: 1b bus info: pci@0000:00:1b.0 version: 05 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=snd_hda_intel latency=0 resources: irq:53 memory:f6500000-f6503fff

jnsnow commented 11 years ago

"Works for me", Fedora 18.

snd_hda_codec_hdmi 36748 4 snd_hda_codec_realtek 78433 1 snd_hda_intel 43715 6 snd_hda_codec 132514 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel snd_hwdep 17650 1 snd_hda_codec snd_seq 64877 0 snd_seq_device 14136 1 snd_seq snd_pcm 98004 3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel snd_page_alloc 18268 2 snd_pcm,snd_hda_intel snd_timer 28690 2 snd_pcm,snd_seq snd 79379 21 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec,snd_hda_intel,snd_seq_device soundcore 14491 1 snd

Linux Nosuri.trimex.us 3.8.11-200.fc18.x86_64 #1 SMP Wed May 1 19:44:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

nuclearmistake commented 11 years ago

snd_hda_codec_hdmi 37223 4 snd_hda_codec_realtek 79916 1 snd_hda_intel 44339 4 snd_hda_codec 141461 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel snd_hwdep 13668 1 snd_hda_codec snd_pcm 102477 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec snd_seq_midi 13324 0 snd_rawmidi 30417 1 snd_seq_midi snd_seq_midi_event 14899 1 snd_seq_midi snd_seq 61930 2 snd_seq_midi,snd_seq_midi_event snd_timer 29989 2 snd_pcm,snd_seq snd_seq_device 14497 3 snd_seq_midi,snd_rawmidi,snd_seq snd 69533 18 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 12680 1 snd snd_page_alloc 18798 2 snd_hda_intel,snd_pcm

Linux EMLT 3.8.0-030800-generic #201302181935 SMP Tue Feb 19 00:36:19 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

nuclearmistake commented 11 years ago

I can hear something, but it's definitely not audible to humans... it's like an ultra high pitch whining sound, like a capacitor singing or something... but it's coincident with the sound-using programs running. O.o

InspectorConstructor commented 11 years ago

uh Unfortunately it is working on my linux box too http://i.imgur.com/2FVhY7U.gif

just to be absolutely sure it don't work, can you run the binary and move the camera to the base of the bottle, (or press 'r' to take you there?) The sound is emitted from there, and decreases in volume as you move away... dunno

nuclearmistake commented 11 years ago

well F&^% me. It does work... but the scale of the volume decrease with distance is way too steep for the scale IMO.

InspectorConstructor commented 11 years ago

ok yeah, it's very steep... Not a prob, will change the const value that controls that

nuclearmistake commented 11 years ago

3.56 = ftw

franckamayou commented 11 years ago

@nuclearmistake can you check if fMod works in Qt Linux?

nuclearmistake commented 11 years ago

It builds and plays sounds too

On Mon, May 6, 2013 at 8:40 PM, franckamayou notifications@github.comwrote:

@nuclearmistake https://github.com/nuclearmistake can you check if fMod works in Qt Linux?

— Reply to this email directly or view it on GitHubhttps://github.com/UMLComputerGraphics/GraphicsProject/issues/80#issuecomment-17516939 .

Eric McCann University of Massachusetts, Lowell Department of Computer Science One University Avenue Olsen Hall, Room 304 Lowell, MA 01854 Lab: 978.934.3385 Email: emccann@cs.uml.edu Homepage (lab): www.cs.uml.edu/robots Homepage: www.emccann.net

franckamayou commented 11 years ago

I just pushed changes that incorporate fMod in Qt for mac too. mac users: run make preparemac then make qt

if that doesnt work, then run: export DYLD_LIBRARY_PATH=/path/to/src/fMod/lib:$DYLD_LIBRARY_PATH then make qt