- 時間撮記:
- 2014-3-4 下午07:21:18 (11 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r50585 r50686 2503 2503 attachStatusDriver(pInst, &mapSharedFolderLed, 0, 0, NULL, NULL, 0); 2504 2504 2505 #ifndef VBOX_WITH_PDM_AUDIO_DRIVER 2505 2506 /* 2506 2507 * Audio Sniffer Device … … 2516 2517 AudioSniffer *pAudioSniffer = mAudioSniffer; 2517 2518 InsertConfigInteger(pCfg, "Object", (uintptr_t)pAudioSniffer); 2519 #endif 2518 2520 2519 2521 /* … … 2569 2571 /* the Audio driver */ 2570 2572 InsertConfigNode(pInst, "LUN#0", &pLunL0); 2571 InsertConfigString(pLunL0, "Driver", "AUDIO"); 2573 InsertConfigString(pLunL0, "Driver", "AUDIO"); 2574 2575 #ifdef VBOX_WITH_PDM_AUDIO_DRIVER 2576 InsertConfigNode(pLunL0, "AttachedDriver", &pLunL1); 2577 InsertConfigString(pLunL1, "Driver", "PulseAudio"); 2578 #endif 2579 2572 2580 InsertConfigNode(pLunL0, "Config", &pCfg); 2573 2581 … … 2591 2599 case AudioDriverType_DirectSound: 2592 2600 { 2601 #ifdef VBOX_WITH_PDM_AUDIO_DRIVER 2602 InsertConfigString(pCfg, "AudioDriver", "DSoundAudio"); 2603 #else 2593 2604 InsertConfigString(pCfg, "AudioDriver", "dsound"); 2605 #endif 2594 2606 break; 2595 2607 } … … 2606 2618 case AudioDriverType_ALSA: 2607 2619 { 2620 #ifdef VBOX_WITH_PDM_AUDIO_DRIVER 2621 InsertConfigString(pCfg, "AudioDriver", "AlsaAudio"); 2622 #else 2608 2623 InsertConfigString(pCfg, "AudioDriver", "alsa"); 2624 #endif 2609 2625 break; 2610 2626 } … … 2613 2629 case AudioDriverType_Pulse: 2614 2630 { 2631 #ifdef VBOX_WITH_PDM_AUDIO_DRIVER 2632 InsertConfigString(pCfg, "AudioDriver", "PulseAudio"); 2633 #else 2615 2634 InsertConfigString(pCfg, "AudioDriver", "pulse"); 2635 #endif 2616 2636 break; 2617 2637 } … … 2629 2649 case AudioDriverType_Pulse: 2630 2650 { 2651 #ifdef VBOX_WITH_PDM_AUDIO_DRIVER 2652 InsertConfigString(pCfg, "AudioDriver", "PulseAudio"); 2653 #else 2631 2654 InsertConfigString(pCfg, "AudioDriver", "pulse"); 2655 #endif 2632 2656 break; 2633 2657 } … … 2644 2668 hrc = pMachine->COMGETTER(Name)(bstr.asOutParam()); H(); 2645 2669 InsertConfigString(pCfg, "StreamName", bstr); 2670 #ifdef VBOX_WITH_PDM_AUDIO_DRIVER 2671 /* the Audio driver */ 2672 InsertConfigNode(pInst, "LUN#1", &pLunL0); 2673 InsertConfigString(pLunL0, "Driver", "AUDIO"); 2674 InsertConfigNode(pLunL0, "AttachedDriver", &pLunL1); 2675 InsertConfigString(pLunL1, "Driver", "AudioVRDE"); 2676 InsertConfigNode(pLunL0, "Config", &pCfg); 2677 InsertConfigString(pCfg, "AudioDriver", "AudioVRDE"); 2678 InsertConfigString(pCfg, "StreamName", bstr); 2679 InsertConfigNode(pLunL1, "Config", &pCfg); 2680 InsertConfigInteger(pCfg, "Object", (uintptr_t)mAudioVRDE); 2681 InsertConfigInteger(pCfg, "ObjectVRDPServer", (uintptr_t)mConsoleVRDPServer); 2682 2683 #endif 2646 2684 } 2647 2685
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器