VirtualBox

Ignore:
Timestamp:
Mar 25, 2008 10:17:49 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28995
Message:

Solaris host audio: fixes and integrated into Main. Needs more
rigorous testing, only tested locally here. BFE still acts weird.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r7466 r7525  
    234234#else
    235235    bool fWin = false;
     236#endif
     237#ifdef RT_OS_SOLARIS
     238    bool fSolaris = true;
     239#else
     240    bool fSolaris = false;
    236241#endif
    237242#ifdef RT_OS_DARWIN
     
    371376#endif
    372377        }
     378        if (fSolaris)
     379        {
     380            RTPrintf(                        "|solaudio");
     381        }
    373382        if (fLinux)
    374383        {
     
    14351444                        pszDrv = "CoreAudio";
    14361445                    break;
     1446                case AudioDriverType_SolAudio:
     1447                    if (details == VMINFO_MACHINEREADABLE)
     1448                        pszDrv = "solaudio";
     1449                    else
     1450                        pszDrv = "SolAudio";
     1451                    break;
    14371452                default:
    14381453                    if (details == VMINFO_MACHINEREADABLE)
     
    49234938# endif
    49244939#endif /* !RT_OS_LINUX */
     4940#ifdef RT_OS_SOLARIS
     4941                else if (strcmp(audio, "solaudio") == 0)
     4942                {
     4943                    CHECK_ERROR(audioAdapter, COMSETTER(AudioDriver)(AudioDriverType_SolAudio));
     4944                    CHECK_ERROR(audioAdapter, COMSETTER(Enabled)(true));
     4945                }
     4946
     4947#endif /* !RT_OS_SOLARIS */
    49254948#ifdef RT_OS_DARWIN
    49264949                else if (strcmp(audio, "coreaudio") == 0)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette