Translations:Sound Problems/1/uk: Difference between revisions

From KDE UserBase Wiki
(Created page with '==Основи роботи звуку== Щоб зрозуміти принципи роботи звуку у KDE, вам слід зрозуміти принципи робо...')
 
(No difference)

Latest revision as of 16:37, 18 September 2010

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Sound Problems)
==Understanding sound==
In order to understand KDE sound, you have to understand Linux sound (this chapter assumes you are running your KDE on Linux). There are two types of sound systems that run on Linux: [http://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture ''ALSA''] and [http://en.wikipedia.org/wiki/Open_Sound_System ''OSS'']. Both provide their own sound card drivers. ALSA only runs on Linux, OSS runs on many UNIX systems. ALSA allows several applications to access the sound card at the same time, OSS does not. OSS provides a device for sound output. This device can only be accessed by one application at a time. To decrease confusion, ALSA emulates OSS and also provides a device as interface to the sound card. As well ALSA as OSS calls the device for the sound card /dev/dsp usually. '''PulseAudio''', in some distros, provides another layer above these.  Its job is to handle multiple streams, so that, for instance, you can receive a message notification at the same time as listening to music.

Основи роботи звуку

Щоб зрозуміти принципи роботи звуку у KDE, вам слід зрозуміти принципи роботи звуку у Linux (у цій главі ми припускаємо, що KDE працює у середовищі Linux). У Linux можуть працювати дві основні системи роботи зі звуковими даними: ALSA і OSS. У обох цих систем є власні драйвери звукових карток. ALSA може працювати лише у Linux, OSS працює у багатьох системах UNIX. У ALSA передбачено одночасний доступ декількох програм до звукової картки, у OSS — ні. У OSS передбачено один пристрій для виведення звукових даних. У будь-який момент часу доступ до цього пристрою може мати лише одна програма. Щоб уникнути негараздів з роботою програм, ALSA імітує роботу OSS і також надає для доступу програм до звукової картки один файл пристрою. У ALSA і OSS цей спільний пристрій називається /dev/dsp. Над цими системами у деяких дистрибутивах передбачено надбудову — PulseAudio. Цей сервер призначено для обробки декількох потоків звукових даних, отже, наприклад, ви можете отримувати звукове сповіщення одночасно з відтворенням музичного твору.