Questions concerning OpenAL and SDL sound

Hi,
After having sound problems with Warsow, I wanted to rebuild OpenAL as it seemed to use OSS by default. However, the PKGBUILD currently in ABS does not work anymore, the download for the source is invalid. I wrote my own PKGBUILD for openal-soft, which seems to work OK so far (I just had to create a symbolic link for libopenal.so.0, as libopenal.so.1 is now created by default). This version linked against my alsa-libs works without problems. Would it be possible to to replace openal with openal-soft or at least change the PKGBUILD or is there a reason the old version is still the standard in the repos?
Another issue was sound in Urban Terror, which also seemed to use OSS by default. As this game only uses SDL Audio and cannot be compiled to use OpenAL (the flags are ignnored), I wondered why SDL uses OSS by default and not alsa. The current SDL-version is compiled with ALSA and OSS support, but it always used OSS. After rebuilding and reinstalling SDL with --disable-oss, it worked properly (read: I could play music and Urban Terror at the same time). I don't know if there is a configuration file for SDL somewhere, I found nothing in /etc/, but as ALSA is preferred over OSS nowadays, perhaps --disable-oss could be added to the PKGBUILD for SDL. Perhaps I built SDL from source with OSS installed using the standard PKGBUILD, and OSS is not enabled in the repo's SDL, but I think this could be updated nevertheless.

Yes, it does work, but I find it a bit irritating that OSS is default for SDL, as the majority of users use ALSA nowadays. Same goes for OpenAL according to http://icculus.org/lgfaq/#setthatdriver - perhaps this should be noted somewhere?

Similar Messages

  • I had a repair done on my MacBook Pro and had to have a new hard drive installed. The Apple Auth Repair Shop then updated the OS from 10.6.8 to 10.7.5. Now my iPhoto v 9.2.3 will not open and it sounds like it will not work with this OS. Can you plea

    I had a repair done on my MacBook Pro and had to have a new hard drive installed. The Apple Auth Repair Shop then updated the OS from 10.6.8 to 10.7.5. Now my iPhoto v 9.2.3 will not open and it sounds like it will not work with this OS. Can you please advise?

    You may need many other updates to retain compatibility with Lion. I suggest you reinstall Snow Leopard. Unfortunately, you will need to erase the drive first. Be sure to backup your data if you haven't done so already.
    Clean Install of Snow Leopard
    Be sure to make a backup first because the following procedure will erase
    the drive and everything on it.
         1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came
             with your computer.  Insert the disc into the optical drive and restart the computer.
             After the chime press and hold down the  "C" key.  Release the key when you see
             a small spinning gear appear below the dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, click on Options button
             and select GUID, click on OK, then set the format type to MacOS Extended
             (Journaled, if supported), then click on the Apply button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. After you finish Setup Assistant will complete the installation after which
             you will be running a fresh install of OS X.  You can now begin the update process
             by opening Software Update and installing all recommended updates to bring your
             installation current.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.

  • Question about open and close of MySqlConnection

    hi
        i'd like to ask a question.   
      MySqlConnection connection = newMySqlConnection(stringConnection);
                    MySqlCommand cmd = connection.CreateCommand();
                    connection.Open(); and i have a try catch. accoding to your opinion, i should put  connection.Close() in the block of try,or outside of block of try? according to you,if i open the connection and do not close,is it bad?or i open 2 times(using different istancse,like connection1 and connecton2),is it ok? thank u very muchbest regardsmartin  

    This code will work in tests. But it will propably fail in a production environment. You don't even close the connection and that is bad enough. This is how you should never,
    EVER work with disposeable objects!
    try
    MySqlConnection connectionLev = newMySqlConnection("server=P30LSIMUL;user id=root;database=cncp20l");
    MySqlCommand cmd = connectionLev.CreateCommand();
    connectionLev.Open();
    Console.WriteLine("OK");
    catch (Exception ex)
    Console.WriteLine(ex.Message);
    try
    MySqlConnection connectionLev = newMySqlConnection("server=P30LSIMUL;user id=root;database=cncp20l");
    MySqlCommand cmd = connectionLev.CreateCommand();
    connectionLev.Open();
    Console.WriteLine("OK");
    catch (Exception ex)
    Console.WriteLine(ex.Message);
    If code like that runs in any production environment, you are about to get fired.
    From a catapult.
    SqlConnections implement Finalize so when the GC does collect them, they will be properly closed. That can be anywhere between "milisccond the reference vanishes" and "the programm is closed after 100 years of the computer running without
    a hitch and reboot."
    Put one of those blocks (or both) into a loop that runs 100 times and you will run out of avalible SQL conenctions.
    Since you alraedy have a try...catch block, just use the construct that Magnus showed you:
    Put the variable outside of the try (so finalize can access it). Check for null (in case an exception happened before/during the creation, not during the use of it) then Dispose.
    Note that finalize is even run after the function it is contained in returns (about the only code that can still run then). And that you should always log/expose ex.ToString(), never only the message (that one contains only 5% of the information, the otehr
    95% are much more important).
    More tips about exception handling:
    http://www.codeproject.com/Articles/9538/Exception-Handling-Best-Practices-in-NET
    Let's talk about MVVM: http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/b1a8bf14-4acd-4d77-9df8-bdb95b02dbe2 Please mark post as helpfull and answers respectively.

  • 2 simple questions about opening and closing seperate windows via iWeb...

    I'm a web newbie, so please excuse me for my lack of terminology. My questions are... 1. How do i have iWeb open a separate browser window "simultaneously" from my main page to display a quicktime movie or piece of artwork? 2. Is it possible with iWeb to create a "close" window button within that same seperate window so that the veiwer does not have to click the red button in the upper left hand corner. Thanks guys and girls!
    G5 Dual 2.3   Mac OS X (10.4.5)  

    Sorry! i meant I tried all of the links that are on your web page. There are quite a few of them and I watched most of the movies but there aren't any that open on a new window with a link to close it. I thought that happened because I had a pop-up blocker but even after dissabling the blocker and trying opening some of them again they still opened in the same window. I did come accross a couple of links that changed the window and made it do wacky thinks like moving fast left and right and forcing the window to get smaller. Kinda fun but this is not what I had in mind.. lol The rollover javascript is nice but I couldn't find it on the page's source. Is it the part that says "<script language="JavaScript1.2" src=..."? I'm just curious to know which software you used to make the flash movies and how difficult it was. Maya rocks by the way!

  • Quicktime won't open and system sound is muted

    This is a strange one...
    My Macbook Pro's sound is locked on mute and none of my quicktime files will open... kicking back an error -101.
    I've scoured all over the net, and I've seen things about headphone jacks showing red light and pluging and unpluging headphones in to make it work... no dice.  But along that same line, if I plug in my TwelveSouth Base jump speaker, suddenly I regain volume control and quicktimes will open... and play.  Sound will come through the basejump speaker, but not the built in.  But as soon as I unplug this USB powered speaker... Qucktime won't open any more new files, and the ones that were open will no longer play.  Pluging in the speaker... quicktime playback is restored.  But still the built-ins won't work.
    This problem cascades to iTunes as well.... won't play any songs.  You press play, and nothing happens, the head doesn't move... truly nothing.  the application acts as if the play button doesn't work.
    I've never heard of a problem like this, it's like the core system is expecting an external component to do basic function in regards to audio.

    I just bought the iSkysoft Media converter and after converting 3 videos I have, it simply blocked sound for
    iTunes, QuickTime Player and any app the uses media, for example Keynote.
    The error is this one you guys are reporting: An unknown error occurred (-101)
    Could somebody give a hand???

  • Turn off opening and closing sounds

    I am using CS 5 in Win 7 Pro, 64 bit and have all system sounds turned off in control panel and also have the Play Windows Startup Sounds box unchecked, but I still get a sound that reminds me of the warbling a suddenly released spring makes, every time Ps. opens. Then I get a loud pop every time it closes. I have searched many times for a way to turn off this useless racket but have found no help. Is it possible that PS has it's own hidden clipboard that might be the source of these sounds? If so I hope someone knows how to snatch the thing out by the roots. Please do not tell me to turn off my speakers or stop using my computer. I only want an answer for stopping two sounds that Photoshop makes..

    meamjw wrote:
    I am using CS 5 in Win 7 Pro, 64 bit and have all system sounds turned off in control panel and also have the Play Windows Startup Sounds box unchecked, but I still get a sound that reminds me of the warbling a suddenly released spring makes, every time Ps. opens. Then I get a loud pop every time it closes. I have searched many times for a way to turn off this useless racket but have found no help. Is it possible that PS has it's own hidden clipboard that might be the source of these sounds? If so I hope someone knows how to snatch the thing out by the roots. Please do not tell me to turn off my speakers or stop using my computer. I only want an answer for stopping two sounds that Photoshop makes..
    I would try what Chris suggested. There's the possibility of a grounding loop somewhere. Start with cables (since they're the cheapest solution) used in your audio setup and work your way up from there, all the way up to your audio interface and its drivers.

  • Some installation questions concerning AS and 8i

    I will be installing 8i Enterprise Edition so that I can work with 9i AS. I have read through most of the Installation Guide for Oracle 8i - Enterprise Edition Release 3 (8.1.7) for Windows NT. I have some questions that didnt seem to be addressed in the documentation.
    How to access Web Site component?
    Appendix A, 'Individual Components Available for Installation,' indicates that the Oracle Enterprise Manager Web Site component is not included in either the Typical or Minimal installations of Oracle 8i Enterprise Edition. Is it available through a custom installation, or how do I access this component?
    Advanced Security questions:
    That same appendix also makes it clear that one of the primary differences between the Typical and Minimal installations is all of the Advanced Security features (encryption and integrity support; authentication support; and so on). It seems that I will need the Advanced Security component, because I will be configuring a database that stores usernames and passwords. However, I will be working with Oracle Portal. Can security features be configured just through Portal and 9i Application Server, or do I need to use Advanced Security instead, or in addition to, Portal and AS?
    From what I understand, Advanced Security works with SSL (Secure Socket Layers). Does this affect visitors' ability to access a Web application anonymously before login (doesnt interaction with an application in SSL require online exchange between computers of authenticated, encrypted digital certificates? I hope this question makes sense; I'm new to the topic.) Is there a short answer to this question?
    Application Server instead of Oracle HTTP server:
    I also saw in Appendix A that the Oracle HTTP server powered by Apache is included with both the Typical and Minimal installations. It's also bundled as a "Web listener" with the Oracle Enterprise Manager Web Site.
    However, I will be installing 9i Application Server instead to work with the 8i database. Will this cause any conflicts? I'm just wondering if the Oracle HTTP server component can be excluded from the beginning, without doing a custom install. I did see on pg. 3-6 of the Installation Guide (under 'Oracle Enterprise Manager Web Browser Requirements') that Oracle Enterprise Web Site does support the Oracle Internet Application Server.
    Also, I understand from the section on 'Mandatory Individual Component Requirements' that Advanced Security "requires preinstallation of an LDAP directory such as Oracle Internet Directory (provided on the component CD-ROM)." It refers me to the Oracle Advanced Security Administrator's Guide for further information.
    Oracle Internet Directory:
    However, I haven't been able to access the Security Administrator documentation yet for installation procedures since I haven't been able to successfully download 8i Enterprise Edition (with all of the supporting documentation) yet.
    I looked at the online 8i documentation at http://technet.oracle.com/docs/products/oracle8i/doc_index.htm but did not see any reference to the Advanced Security Administrators Guide.
    As for Oracle Internet Directory itself, I did just find the Oracle Internet Directory Administrator's Guide on the oracle8i/doc_index.htm page mentioned above - so that should help.
    I also looked at the Oracle Internet Directory download page to see if links to documentation might be provided there, but saw that "Oracle Internet Directory Release 2.1.1.0 is delivered as part of Oracle8i Release 3" which leads me back to the 8i Enterprise Edition page where Ive been experiencing download difficulties. So far as I know, theres no evaluation-version CDs available for this software, though there are evaluation CDs available for 9i AS.
    null

    Urfaust wrote:
    You can use the rankmirrors script to determine which is the fastest mirror for you.
    http://wiki.archlinux.org/index.php/Mir … heir_Speed
    @op - the tip that urfaust posted is contained in the beginners_guide wiki article.  You should not attempt installing arch without reading this guide.  If you have two computers, you can install arch on one while browsing to the guide on the 2nd.

  • Question Concerning Erase and Sync and Itunes backups

    Earlier this year my Computers Harddrive exploded without me making a backup.  overtime I have moved all my new data to a new Itunes library and now after just about everything has been moved My Itunes is telling me that for my 5 devices, That I need to do an Erase and Sync.  If I were to first backup my devices in Itunes would I be able to recover everything after the Erase and Sync ( Notes, Contacts, Remiders,ect.) Also a side question,  If I restore my phone from a backup, are the data in the Apps Lost
    Sorry For Poor Grammar did this in a hurry

    If the songs are still on your computer then you'll have to add them back into iTunes and rebuild your library. Once you've done that you can reload your iPod. Pressing "Erase and Sync" when iTunes brings up the dialogue window asking whether you want to replace the songs on your iPod with the songs in this iTunes does exactly what it says. If you linked to an iTunes with only a few or completely different songs it will have erased your original iPod song list, iTunes itself must have been empty at that point as erase and sync erases the iPod not iTunes. If you lost your songs entirely from the computer and the iPod there are some data recovery programs on the market. I've no personal experience of them so I can't say how effective they are, here's an example: iPod Data RecoveryBuegie - Recovering Songs
    None of the recovery programs are particularly cheap so you have to decide if in your particular circumstances it's worth it to get your songs back. It may be if you have a lot of purchased tracks which you would have to pay to download again. If they came primarily from your CDs then it's most likely not as you can re-rip them.

  • Question concerning Selecting and Deselecting Toggle Buttons

    Hello Everyone,
    I am still relatively new to the adobe web suite (still in the trial period in fact). I am working on creating a mock-up of a main web page design to demonstrate and discuss with management. The decision associated with such would determine if we go forward with purchasing adobe products, continuing a redesign of our website among many other things.
    The big issue that I am running into at the moment is creating a series of interactive thumbnails.
    I have the following set up on the page:
    - A section for the actual image (full sized) complete with a title and description provided at the side for one of potentially many topics.
    - Below the topic/image section is a series of thumbnails, which the first one is set for full opacity and marked as selected. (All of these thumbnails are in a Custom Component and break down into a Toggle Button component each, if the image is unselected it remains set at a low opacity)
    - When selecting one of the other thumbnails, I need it to change the image (this part works), select/set the thumbnail to full opacity (this part works as well, given it is a toggle button feature), and lastly unselect the previous thumbnail (causing it to go to a lower opacity, I cannot figure out a way to accomplish this one)
    - In the future I intend to design side bars (left and right) for both thumbnails and the section above (effectively changing the topic to a new one)
    The ultimate idea is to create articles, provided with thumbnails associated to the article at the bottom and to allow clean alternation between the thumbnails, and likewise be able to switch to a new article (with a new set of thumbnails associated to the new article) as well.
    Any help would be greatly appreciated.
    -Steven

    I think I found the solution of my own question. I share it in the hope that it’ll be useful to other people. Remind that I use Cp 6.1.0.319. I modified the project as follows: 1) I unchecked “Visible in output” for the button “Audio Play” (Bt_play) 2) I  modified the AA associated to the audio on/off buttons as descrived below: Action Name: Play Assign cpCmndMute with 0 Show Bt_Stop Enable Bt_Stop Hide Bt_Play Disable    Bt_Play Action Name: Stop Assign cpCmndMute with 1 Show Bt_Play  Enable Bt_Play  Hide Bt_Stop Disable Bt_Stop In this way the two buttons in the same location work well as a real toggle button! Greetings Elena

  • Straightforward question concerning borders and frame position

    Two small questions:
    How would you create a frame ( or something similar) that does not have the standard blue bar on its top? I'm trying to code a slash screen and the bar makes it just look silly.
    Secondly how would one predetermine where a JFrame showed up on the screen? Specifically, I just want to center it.
    Thanks guys.

    Use JWindow instead of JFrame for a splash screen, there's no title bar. And the code to center it:
    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
    setLocation((d.width / 2) - (getWidth() / 2),
                (d.height / 2) - (getHeight() / 2));

  • Question concerning Eclipse and Tomcat Plugin and JSP

    I have a Tomcat-Project that I am working on in Eclipse and quite a few external JARs. Everything works fine, when I run my Test class within my project (in Eclipse). But as soon, as I am trying to call the jsp in my browser I get Exceptions: "java.lang.NoClassDefFoundError: org/apache/log4j/Logger" for example, which tells me that in the browser it can't find the JARs... I'm guessing something's wrong with the classpath but I was thinking that Eclipse would handle those things for me...
    I've added the JARs to my project via Eclipse (Properties -> Java Build Path -> Libraries -> Add external JARs). And I've created a subdirectory for my jsp files and allowed my project to update the .xml file for the settings and all... Do I need to do anything else? What have I done wrong so far, have I forgotten to do?

    I solved the problem...

  • Question concerning WebService and certificates

    Hi, well i'd like to get data from a WebService. Scenario is RFC to WebService in SAP XI.
    Therefore i also have to use user&pw and a certificate key i got previously!
    So i created the receiver channel and now i am stuck. There is the option User Authentification and Configure Certificate Authentication. What do i have to use and how to configure. I know i have to use the keystore-service in VisualAdmin, but how?!
    I already read this: /people/rahul.nawale2/blog/2006/05/31/how-to-use-client-authentication-with-soap-adapter but it does not fir my needs actually.
    Again, i have user&pw AND certificate-key (only key in plain characters!). how to use these 3?!
    thx in advance, br

    Hi Jens,
    Go through following pdf. It will clear some of you doubts.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/964f67ec-0701-0010-bd88-f995abf4e1fc
    -Pinkle

  • Question Concerning "Terms and Conditions"

    Lately I have been pondering about whether I should put iPodLinux on my 3rd Generation iPod so that I can play videos on it and more that Apple doesn't allow you to do. I would normally do this in a heartbeat, only my Apple Care extended warranty doesn't expire for 5 more months. So, I looked at the "Terms and Conditions" for my warranty and found an interesting bit....
    The plan does not cover:
    "Damage to the Covered Equipment caused by accident, abuse, neglect, misuse (including faulty installation, repair, or maintenance by anyone other than Apple or an Apple authorized Service Provider), unauthorized modification"
    That does on, but you can see the point I'm making just from that. According to the section I just read, it is not violating your warranty to install other software on your iPod, but Apple won't cover it if your iPod is damaged because of the software. So, say I installed iPodLinux on my iPod, and it was working fine, but one day my scroll wheel just stopped working... I could get my iPod repaired because it is still covered under the warranty, correct?
    Please let me know if I am interpretting this incorrectly.
    -Timo

    ^Thats what I suspected, only I couldn't find anything about just installing it and voiding your warranty, only that AppleCare doesn't cover damage resulting from manipulation of your iPod.
    Of course, I wasn't reading the original iPod warranty...
    -Timo

  • Question concerning Hibernate and EJB3 Annotation overlap

    Consider the following, from the JBoss EJB3 Tutorial:
    @OneToOne(cascade = {CascadeType.ALL})
    @JoinColumn(name = "ADDRESS_ID")
    public Address getAddress()
    return address;
    The above two annotations are applicable, using JBoss Libraries and Hibernate Libraries.
    If one wishes to use both JBoss EJB3 annotations, and Hibernate with Annotations,
    do annotations need to be used twice? Naturally, if Hibernate and Jboss identical
    annocations are imported, there will be a compilation conflict error.
    I know that full package names can be used on annotations to avoid that.
    So, if I used the above code snippet, and I want to Hibernate using
    the equivalent hibernate annotations, what should one ideally
    do and why?

    Zac1234 wrote:
    I know that Netbeans automatically may build and deploy the completed
    EJB using ant to gather resources behind the scenes.
    which is why you shouldn't use it to learn about things. It hiding things from you means you don't learn all you need to know.
    with V2.1, regardless as to the container software that I'm deploying the bean to,
    am I now required to have an appropriate XML deployment descriptor,
    yup, and the ANT build file is not it.
    or is this something unique to jsps/servlets?Not the same thing. Different deployment descriptors for different applications.

  • Question Concerning Anchor Usage

    New to Dreamweaver's web world and have a question concerning
    Anchors and Drop Down Menus. Is it possible to have one of the
    selections from my main navigation drop down menu Anchored to a
    particular section of a page?
    Thank You for any input.

    OH, that. Duh.... 8)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "E Michael Brandt" <[email protected]> wrote
    in message
    news:fu5vq2$gs1$[email protected]..
    > jcraw77 wrote:
    >> New to Dreamweaver's web world and have a question
    concerning Anchors and
    >> Drop Down Menus. Is it possible to have one of the
    selections from my
    >> main navigation drop down menu Anchored to a
    particular section of a
    >> page?
    >>
    >> Thank You for any input.
    >
    > Sure, just make its link be href="#anchorname"
    >
    > --
    >
    >
    > E. Michael Brandt
    >
    > www.divahtml.com
    >
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    > Standards-compliant scripts and Dreamweaver Extensions
    >
    > www.valleywebdesigns.com/vwd_Vdw.asp
    > JustSo PictureWindow
    > JustSo PhotoAlbum, et alia
    >
    > --

Maybe you are looking for