Re: [Flightgear-devel] Runtime selection of sound device

2009-12-01 Thread Geoff McLane
In Ubuntu 8.04, a cvs SG/FG/DATA update a few minutes ago,
and great news - all the sound is back ;=))

I do get a strange output trying the new fgfs option :-
~/fg/fg7$ ./run_fgfs.sh --show-sound-devices
run_fgfs.sh: Running: ./fgfs --fg-root=/home/geoff/fg/fg7/fgfs/data
--show-sound-devices 
~/fg/fg7$ 0. 
1. weird vorbid_get


~/fg/fg7$ 

But al-info now yields much better results...
~/fg/fg7$ ./run_alinfo.sh
run_alinfo.sh: Running: ./al-info 
AL_VENDOR = OpenAL Community
AL_RENDERER = Software
AL_VERSION = 1.1
AL_EXTENSIONS = ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_EXT_MP3
AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format
AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback
ALC_LOKI_audio_channel 

ALC_MAJOR_VERSION = 1
ALC_MINOR_VERSION = 0
ALC_EXTENSIONS = 
ALC_DEFAULT_DEVICE_SPECIFIER = '((sampling-rate 44100) (device
'(native))
alsa_blitbuffer: Could not write audio data to sound device:
Input/output error
~/fg/fg7$ 

And the new 'alcinfo'
~/fg/fg7$ ./run_alcinfo.sh
run_alcinfo.sh: Running: ./alcinfo 
default output device: '((sampling-rate 44100) (device '(native))
default input device:  

ALC Error a003 occurred: ALC_INVALID_ENUM
capture support: yes
mixer frequency: 0 hz
Floating point exception
~/fg/fg7$ 

But other than that all seems good... 

Minor point, the 'roar' when you start the c172 engine
seems a tad too loud, and almost drowns out the prop 
change noise as you open the throttle, and I think the
wheel noises when you land, but I can live with that ;=))

I can hear the marker beacons, and the stall warning
as you land... only had time for one quick circuit...

Thanks and regards,

Geoff.



--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Runtime selection of sound device

2009-12-01 Thread Erik Hofman
Geoff McLane wrote:
 In Ubuntu 8.04, a cvs SG/FG/DATA update a few minutes ago,
 and great news - all the sound is back ;=))

Good news indeed.

 I do get a strange output trying the new fgfs option :-
 ~/fg/fg7$ ./run_fgfs.sh --show-sound-devices
 run_fgfs.sh: Running: ./fgfs --fg-root=/home/geoff/fg/fg7/fgfs/data
 --show-sound-devices 
 ~/fg/fg7$ 0. 
 1. weird vorbid_get
 

Looks like the Vorbis library isn't installed. But since FlightGear 
doesn't use it I wouldn't bother.

Erik

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Runtime selection of sound device

2009-11-30 Thread Erik Hofman
James Turner wrote:
 Nice work! And the preference / settings changes too - I know this is painful 
 work, but it's long overdue and will really help make using FG more pleasant 
 for lots of people. 

Thanks, It's not yet perfect but already usable as it is.

 Incidentally, I am currently cursing Apple's OpenAL implementation, it only 
 supports the default input and output devices - despite 'supporting' the 
 enumeration extension. I have a patch to iaxclient (as used by fgcom) to 
 allow input and output device selection for the openAL backend, but it's 
 completely pointless on Mac, without patches to OpenAL itself :(

That's sad.

Erik


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Runtime selection of sound device

2009-11-30 Thread Vivian Meazza
Erik Hofman

 James Turner wrote:
  Nice work! And the preference / settings changes too - I know this is
 painful work, but it's long overdue and will really help make using FG
 more pleasant for lots of people.
 
 Thanks, It's not yet perfect but already usable as it is.
 
  Incidentally, I am currently cursing Apple's OpenAL implementation, it
 only supports the default input and output devices - despite 'supporting'
 the enumeration extension. I have a patch to iaxclient (as used by fgcom)
 to allow input and output device selection for the openAL backend, but
 it's completely pointless on Mac, without patches to OpenAL itself :(
 
 That's sad.
 

That all seems to work pretty well, but where or when did we lose or where
did we put the menu item which enables us to select various views?

On a different subject, I get a crash on reset here on a completely
repeatable basis. I get this message:

trying to sequence waypoints with no active route

Then FG crashes and exits rather than resets in:

fgfs.exe!SGPropertyNode::set_string(const char * val=0x1c096528)  Line 491 +
0x12 bytes

Vivian







 



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Runtime selection of sound device

2009-11-30 Thread Nicolas Quijano
The Apple OpenAL implementation is open source, btw.
http://developer.apple.com/audio/openal.html#anchor3

On Mon, Nov 30, 2009 at 9:51 AM, Erik Hofman e...@ehofman.com wrote:

 James Turner wrote:
  Nice work! And the preference / settings changes too - I know this is
 painful work, but it's long overdue and will really help make using FG more
 pleasant for lots of people.

 Thanks, It's not yet perfect but already usable as it is.

  Incidentally, I am currently cursing Apple's OpenAL implementation, it
 only supports the default input and output devices - despite 'supporting'
 the enumeration extension. I have a patch to iaxclient (as used by fgcom) to
 allow input and output device selection for the openAL backend, but it's
 completely pointless on Mac, without patches to OpenAL itself :(

 That's sad.

 Erik



 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel




-- 
Be Kind.
Remember, everyone is fighting a hard battle.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Runtime selection of sound device

2009-11-30 Thread James Turner

On 30 Nov 2009, at 16:43, Nicolas Quijano wrote:

 The Apple OpenAL implementation is open source, btw. 
 http://developer.apple.com/audio/openal.html#anchor3

It is, and a kind person has even posted patches to fix the implementation:

http://playcontrol.net/ewing/jibberjabber/defective_core_audio_mac_os.html

But I really, really dislike messing with the standard dev packages, especially 
when I need to earn a living doing dev work on the same machine.

Oh well.

James


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel