Files
vue-pult/server/safe-aplay.js
sasha 3e90269b0b Initial commit: Vue.js тир управления система
- Клиентская часть Vue 3 + Vite
- Серверная часть Node.js + WebSocket
- Система авторизации и смен
- Управление игровыми портами
- Поддержка тем (светлая/темная)
- Адаптивный дизайн

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-19 12:24:22 +03:00

23 lines
752 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Безопасная обертка для node-aplay
// Используем заглушку для работы без звуковых файлов
console.log('[safe-aplay] 🔇 Используем заглушку звука (без файлов)');
// Создаем заглушку которая не требует реальных файлов
class MockSound {
constructor(filePath) {
this.filePath = filePath;
// Не логируем каждый файл чтобы не засорять консоль
}
play() {
// Тихо работаем без логов
return Promise.resolve();
}
stop() {
return Promise.resolve();
}
}
module.exports = MockSound;