Нет системных звуков в zennoposter и projectmaker на виртуальном сервере

goldzine

Client
Регистрация
27.01.2015
Сообщения
63
Благодарностей
5
Баллы
8
Добрый день.
Столкнулся с такой проблемой - что нет системных звуков в zennoposter и projectmaker на виртуальном сервере. На компьютере все работает.

- На самом сервере звуки есть - они не хотят звучать в самом ZP.
- Если в ZP запустить ютуб - то звук есть

В чем может быть проблема? мб кто-то уже сталкивался с подобным, знаете как решить этот вопрос?


звуковое оповещение запускаю через C#:

C#:
Console.Beep(659, 125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(167);
Console.Beep(523, 125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(784, 125);
System.Threading.Thread.Sleep(375);
Console.Beep(392, 125);
System.Threading.Thread.Sleep(375);
Console.Beep(523, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(392, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(330, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(440, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(494, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(466, 125);
System.Threading.Thread.Sleep(42);
Console.Beep(440, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(392, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(784, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(880, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(698, 125);
Console.Beep(784, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(523, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(587, 125);
Console.Beep(494, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(523, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(392, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(330, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(440, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(494, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(466, 125);
System.Threading.Thread.Sleep(42);
Console.Beep(440, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(392, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(784, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(880, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(698, 125);
Console.Beep(784, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(523, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(587, 125);
Console.Beep(494, 125);
System.Threading.Thread.Sleep(375);
Console.Beep(784, 125);
Console.Beep(740, 125);
Console.Beep(698, 125);
System.Threading.Thread.Sleep(42);
Console.Beep(622, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(167);
Console.Beep(415, 125);
Console.Beep(440, 125);
Console.Beep(523, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(440, 125);
Console.Beep(523, 125);
Console.Beep(587, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(784, 125);
Console.Beep(740, 125);
Console.Beep(698, 125);
System.Threading.Thread.Sleep(42);
Console.Beep(622, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(167);
Console.Beep(698, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(698, 125);
Console.Beep(698, 125);
System.Threading.Thread.Sleep(625);
Console.Beep(784, 125);
Console.Beep(740, 125);
Console.Beep(698, 125);
System.Threading.Thread.Sleep(42);
Console.Beep(622, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(167);
Console.Beep(415, 125);
Console.Beep(440, 125);
Console.Beep(523, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(440, 125);
Console.Beep(523, 125);
Console.Beep(587, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(622, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(587, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(523, 125);
System.Threading.Thread.Sleep(1125);
Console.Beep(784, 125);
Console.Beep(740, 125);
Console.Beep(698, 125);
System.Threading.Thread.Sleep(42);
Console.Beep(622, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(167);
Console.Beep(415, 125);
Console.Beep(440, 125);
Console.Beep(523, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(440, 125);
Console.Beep(523, 125);
Console.Beep(587, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(784, 125);
Console.Beep(740, 125);
Console.Beep(698, 125);
System.Threading.Thread.Sleep(42);
Console.Beep(622, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(167);
Console.Beep(698, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(698, 125);
Console.Beep(698, 125);
System.Threading.Thread.Sleep(625);
Console.Beep(784, 125);
Console.Beep(740, 125);
Console.Beep(698, 125);
System.Threading.Thread.Sleep(42);
Console.Beep(622, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(659, 125);
System.Threading.Thread.Sleep(167);
Console.Beep(415, 125);
Console.Beep(440, 125);
Console.Beep(523, 125);
System.Threading.Thread.Sleep(125);
Console.Beep(440, 125);
Console.Beep(523, 125);
Console.Beep(587, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(622, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(587, 125);
System.Threading.Thread.Sleep(250);
Console.Beep(523, 125);
System.Threading.Thread.Sleep(625);
помогите пожалуйста
 

Yuriy Zymlex

Moderator
Команда форума
Регистрация
24.10.2016
Сообщения
6 387
Благодарностей
3 310
Баллы
113
Попробуйте такие варианты:
C#:
// 1 вариант

System.Media.SoundPlayer player = new System.Media.SoundPlayer(@"путь к файлу wav");
player.Play();

// 2 вариант

System.Media.SystemSounds.Asterisk.Play();
System.Media.SystemSounds.Beep.Play();
System.Media.SystemSounds.Exclamation.Play();
System.Media.SystemSounds.Question.Play(); // на win10 нет звука по умолчанию
System.Media.SystemSounds.Hand.Play(); // звук ошибки
 

alex7856

Client
Регистрация
17.01.2017
Сообщения
8
Благодарностей
3
Баллы
3
Если пропал звук в зеннопостере проверяем в настройках инстанса, не активна ли настройка "отключать звук".
Еще дополнительно правой кнопкой мышки по значку громкости в правом нижнем углу. В контекстном меню выбираем микшер громкости. Далее смотрим на chrome instance, не отключен ли там звук ?
 
Последнее редактирование:

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)