Usb audio codec что это
Решил завести отдельную тему, т.к. не нашел руководства по работе через встроенный звуковой codec в FTDX-3000.
Пока все пробовал опытным путем. Опыт уже был по работе на TS-590S.
Получилось так, что звук в режиме RX можно получать на компьютер, прослушивать его через динамики компьютера, записывать на програмный магнитофон и т.п. Но уровень сигнала идет очень высокий, при записи возникают нелинейные искажения. Попытки уменьшить уровень при помощи встроенного звукового микшера Windows 7 привели к тому, что пришлось установить уровень 2 - это на самом минимуме.
Возник вопрос:
Где в меню FTDX-3000 отрегулировать уровни RX и TX сигналов, поступающих с компьютера через USB и внутренний Audio codec?
Интересно для все мод: CW, SSB, цифровые
Решил завести отдельную тему, т.к. не нашел руководства по работе через встроенный звуковой codec в FTDX-3000.
Пока все пробовал опытным путем. Опыт уже был по работе на TS-590S.
Получилось так, что звук в режиме RX можно получать на компьютер, прослушивать его через динамики компьютера, записывать на програмный магнитофон и т.п. Но уровень сигнала идет очень высокий, при записи возникают нелинейные искажения. Попытки уменьшить уровень при помощи встроенного звукового микшера Windows 7 привели к тому, что пришлось установить уровень 2 - это на самом минимуме.
Возник вопрос:
Где в меню FTDX-3000 отрегулировать уровни RX и TX сигналов, поступающих с компьютера через USB и внутренний Audio codec?
Интересно для все мод: CW, SSB, цифровые
Если у вас что-то не получается ПРОЧТИТЕ НА КОНЕЦ ИНСТРУКЦИЮ.
это я вам кричу.
меню 077
в меню заходить учить надо?
Если у вас что-то не получается ПРОЧТИТЕ НА КОНЕЦ ИНСТРУКЦИЮ.
это я вам кричу.
меню 077
в меню заходить учить надо?
Можете не кричать.
Пункты 77 - 78 давно видел, и инструкцию читал. п.77 называется DATA OUT LEVEL Функция установки уровня сигнала в режимах AFSK контакт 5 разъема RTTY/Paket
Никакого отношения, судя по инструкции к регулировке кодеке USB не имеет.
Может, кто может, все же объяснить - как регулировать сигналы с USB Codec в FTDX-3000?
Обнаружил на просторах интернета инструкцию по работе с USB audio codec на FTDX-3000.
Может, кому будет полезна.
Но ответа на мой вопрос там нет.
Драйвер называется: usbaudio2.sys , а связанный inf-файл — usbaudio2.inf.
Драйвер будет идентифицировать в диспетчере устройств как "Устройство класса 2 USB". Это имя будет перезаписан строкой ПРОДУКТА USB, если оно доступно.
Драйвер автоматически включается, если совместимое устройство подключено к системе. Однако если в системе или клиентский компонент Центра обновления Windows существует сторонний драйвер, этот драйвер будет установлен и переопределен драйвер класса.
Replies (8)
Thank you for posting your query on Microsoft Community.
I understand that you are facing issues with audio on Windows 10.
This issue could occur if there is issue with audio drivers.
In order to help you better, please provide the information:
1. Are you getting any error message?
2. What is the make and model of the Computer?
Refer to the below steps and check if it helps.
Method 1 : I suggest you to perform the Hardware and Devices troubleshooter and check if it helps.
1. Click on search bar next to Start Menu.
2. Type “Troubleshooting” without the quotes and click on Troubleshooting.
3. Click on View All on the left panel of the screen.
4. Click on Hardware and Devices.
5. Click on Next and follow the prompts to run the troubleshooter.
If the issue still persist, refer to the below method.
Method 2 : I suggest you to run the Windows update troubleshooter and try to update audio driver from device manager.
Step 1: Try to run the Windows update troubleshooter and install the latest updates.
1. Click on search bar next to Start Menu.
2. Type “ Troubleshooting ” without the quotes and click on Troubleshooting.
3. Then click on View All on the left panel of the screen.
4. Click on Windows Update .
Step 2 : Try to update the audio driver and check if it helps.
1. Press Windows Key + R Key.
2. Then type “devmgmt.msc” without the quotes and hit on Enter Key.
3. Expand Audio inputs and outputs.
4. Right click on the driver and click on Update driver software.
Reply to us with the information, so that we can assist you better.
Get back to us if you need any further assistance on Windows related issues and we will be glad to help.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
14 people found this reply helpful
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
My PC is "self assembly". Intel Pentium + Nvidia graphics + SSD etc. So far, for an year, it has worked without problem.
I tried to update drivers the way you described, it did not work. Above is my device management window with the two troublesome devices. The USB Audio Codec disappaers when I unplug the usb cable of the speakers and update the hardware.
Does that give you any ideas?
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
5 people found this reply helpful
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Thank you for the reply. I will surely help you with this.
1. Did the issue started after installing recent Windows Update?
2. If yes, what is the Knowledge Base article number of the Windows Update which was installed recently?
To view Windows Update history follow these steps:
a. Click on Start and type Windows Update settings.
b. Click on Advanced Options.
c. Click View Update your History.
I suggest you to uninstall the Windows Update which was installed recently and check if it helps.
a. Click on Start and type Programs and Features in the search box.
b. Open it and click on View installed Updates in the left pane.
c. Right-click on the Update you want to uninstall and click on Uninstall.
Restart the computer and check if the issue persists.
Hope this information helps. Reply to the post with an updated status of the issue so that we can assist you further.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Yes, the issue started after recent update, but I tried proposed method (uninstalling update) and it did not help.
When I unplug the USB Audio Speakers I still get the "Audio Device one High definition Audio Bus" in the device list. What can that be?
The USB Speakers should run on legacy driver but they don't.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Thanks for the update on the issue.
The driver might not installed properly, please try these methods.
Method 1: Try installing the driver
- Press Windows key + R
- Type devmgmt.msc
- Expand Other devices and select the Audio Device on High Definition Audio Bus and CODEC driver
- Right click and select Uninstall
- Restart the computer
After restarting the computer, please download the latest audio driver available for your computer from the link below:
Method 2: Check in compatibility mode.
Download the audio drivers from manufacture's websites for Windows 10, if there no drivers available for Windows 10, d ownload the latest driver from the manufacturer’s website and try installing it in compatibility mode. Compatibility mode runs the program using settings from a previous version of Windows.
Follow these steps to install the drivers in compatibility mode and check if that helps.
a. Download the driver from the manufacturer’s website.
b. Right-click on the driver setup file and click on ‘properties’ .
c. Click on the ‘compatibility’ tab and check the box ‘Run this program in compatibility mode for’ and select Windows 8 operating system from the drop down menu and proceed with the installation.
d. Once this is done, restart the computer and check if the issue persists.
Let us know if you need further assistance. We will be glad to help you further.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this reply?
Thanks for your feedback.
I have a 5 year old Mackie ProFx8 mixer that uses a USB port for data transfer. When you configure your system, the USB CODEC driver will be used. Anything that hangs off the mixer will be detected like your speakers and mics. Everything goes through the USB port on the mixer. It acts like an analog to digital USB hub.
You need to disable audio drivers of devices not attached to the mixer to avoid any feedback and potential driver bugs. Many computer motherboards have onboard audio chipsets like VIA or Realtek. You may be using Nvidia or ATI Radeon graphics cards too. They will install their own HD audio and virtual drivers.
You do not need to use those and should disable them. You want to avoid having anything influencing your audio pipeline.
I started receiving "pops" whenever I left clicked with my mouse on various user interface elements in applications that I was running. It was extremely annoying. You may not have had these before but they start showing up after adding more gear to your USB mixer and USB ports. After hours of troubleshooting, I disabled all the devices mentioned above. You would think that would work, but it didn't.
To eliminate the problems entirely, uninstall all unused audio drivers.
Go to Device Manager
Click on Audio inputs and outputs
Right click the audio components you do not need
Disable first, then uninstall
Click on Sound, video and game controllers
Right click the audio components you do not need
Disable first, then uninstall
Reboot your computer.
Right click on the speaker icon in the tray
Look at the Playback list and Recording list
You should see devices attached to the USB Audio CODEC listed
Do the same with Device Manager and check that the system did not reinstall the drivers you eliminated
Кодек - это кодер + декодер.
кодер это устройство для цифрового кодирования цифрового сигнала. с целью сжатия, шифрования, защиты от потерь, а декодер - его обратное декодирование. это можно делать как аппаратно специально разработанной микросхемой, так и программно.
А ЦАП - это цифро-аналоговый преобразователь, он преобразует цифровой сигнал в аналоговый. именно от качества работы ЦАП зависит качество аналогового сигнала на выходе.
Под кодеком подразумевают комбайн ЦАП-АЦП-микшер. Отдельный ЦАП - это тупо преобразователь, больше ничего он не умеет. Кодек по всей видимости ставят в модели, умеющие в диктофон еще. Каждая отдельно взятая функция в мультифункциональном устройстве _обычно_ хуже чем устройство с одной единственной функцией.
который на микроконтроллере, в который зашит кодек (набор кодеков, декодирующий необходимые аудио-форматы) и который имеет ЦАП для вывода звука, ибо уши не умеют понимать нули и единицы.
Остальное от лукавого. От торгашей.
Что такое "кодек" - кодер-декодер, программная или аппаратная фигулина, позволяющая кодировать или декодировать какой-то поток данных.
Что такое ЦАП? - цифро-аналоговый преобразователь, который преобразует поток декодированных аудиоданных в звук.
И то и другое - неотъемлемая часть ЛЮБОГО цифрового звуковоспроизводящего устройства, от мультимедиа-плеера до примитивных игрушек, в общем, любая шарманка, которая умеет из файла звук воспроизводить.
А твой вопрос звучит так: какая машина лучше, которая на колесах или на руле?
Аудиокодек (англ. Audio codec; аудио кодер/декодер) — компьютерная программа или аппаратное средство, предназначенное для кодирования или декодирования аудиоданных.
ЦАП — цифро-аналоговый преобразователь, с его помощью цифровой сигнал (MP3/FLAC) преобразуется в аналоговый, чтобы вывести его на ваши наушники.
Какая машина лучше - на моторе или на колёсах? ;)
ЦАП - цифро-аналоговый преобразователь, железо. Он есть в любом цифровом аудиоплеере. По той простой причине, что человеческий слух воспринимает только аналоговый сигнал.
Кодек - программа. Тоже есть в любом MP3- плеере, иначе плеер не смог бы декодировать MP3.
Получается, что кодек это как кодек в виндовсе, чтобы операционная система смогла бы его воспроизводить видео?
Топология звуковых функций
Драйвер поддерживает все типы сущностей, определенные в ADC-2 3.13.
Каждая сущность терминала должна иметь допустимое подключение часов в совместимом оборудовании USB Audio 2.0. Путь к часам может дополнительно включать единицы умножения часов и селектора часов и должен заканчиваться сущностью источника часов.
Драйвер поддерживает только один источник часов. Если устройство реализует несколько сущностей источника часов и селектор часов, драйвер будет использовать источник часов, выбранный по умолчанию, и не изменит положение селектора часов.
Единица обработки (ADC-2 3.13.9) с несколькими входными контактами не поддерживается.
Единица расширения (ADC-2 3.13.10) с несколькими входными контактами не поддерживается.
Циклические пути в топологии не допускаются.
Дополнительные сведения о изготовителях оборудования и IHV
Изготовители оборудования и IHV должны протестировать существующие и новые устройства на соответствие предоставленному встроенному драйверу.
Не существует какой-либо конкретной настройки партнера, связанной с встроенным драйвером USB Audio 2.0.
Эта запись INF-файла (предоставленная в обновлении для Windows выпуска 1703) используется для определения того, что встроенный драйвер является универсальным драйвером устройства.
Встроенный драйвер регистрирует следующие совместимые идентификаторы с usbaudio2.inf.
Сведения о типах подклассов см. в спецификации USB audio 2.0.
Устройства USB Audio 2.0 с MIDI (подкласс 0x03 выше) перечисляют функцию MIDI как отдельное многокомпонентное устройство с загруженной usbaudio.sys (драйвер USB Audio 1.0).
Драйвер класса USB Audio 1.0 регистрирует этот совместимый идентификатор в wdma_usb.inf.
И имеет следующие исключения:
Произвольное количество каналов (больше восьми) не поддерживается в общем режиме из-за ограничения Windows стека звука.
Clock selector entity
For details on this specification, refer to ADC-2 5.2.5.2
The USB Audio 2.0 driver does not support clock selection. The driver uses the Clock Source Entity which is selected by default and never issues a Clock Selector Control SET CUR request. The Clock Selector Control GET CUR request (ADC-2 5.2.5.2.1) must be implemented in compatible USB Audio 2.0 hardware.
Форматы аудио
Драйвер поддерживает указанные ниже форматы. Альтернативный параметр, указывающий другой формат, определенный в FMT-2, или неизвестный формат, будет игнорироваться.
Форматы I типа (FMT-2 2.3.1):
- Формат PCM с 8.32 битами на выборку (FMT-2 2.3.1.7.1)
- Формат PCM8 (FMT-2 2.3.1.7.2)
- формат IEEE_FLOAT (FMT-2 2.3.1.7.3)
Форматы III типа (FMT-2 2.3.3 и A.2.3):
- IEC61937_AC-3
- IEC61937_MPEG-2_AAC_ADTS
- IEC61937_DTS-I
- IEC61937_DTS-II
- IEC61937_DTS-III
- TYPE_III_WMA
Feedback Hub
If you run into a problem with this driver, collect audio logs and then follow steps outlined in this blog entry to bring it to our attention via the Feedback Hub.
Драйверы и обновления IHV USB Audio 2.0
Для сторонних драйверов USB Audio 2.0 для IHV эти драйверы будут по-прежнему предпочтительнее для своих устройств по сравнению с нашим встроенным драйвером, если только они не обновят драйвер, чтобы явно переопределить это поведение и использовать встроенный драйвер.
Audio Jack Registry Descriptions
Starting in Windows 10 release 1703, IHVs that create USB Audio Class 2.0 devices having one or more jacks have the capability to describe these jacks to the in-box Audio Class 2.0 driver. The in-box driver uses the supplied jack information when handling the KSPROPERTY_JACK_DESCRIPTION for this device.
Jack information is stored in the registry in the device instance key (HW key).
The following describes the audio jack information settings in the registry:
= terminal ID (As defined in the descriptor)
= Jack number (1 ~ n).
Convention for and is:
- Base 10 (8, 9, 10 rather than 8, 9, a)
- No leading zeros
- n is 1-based (first jack is jack 1 rather than jack 0)
T1_NrJacks, T1_J2_ChannelMapping, T1_J2_ConnectorType
For additional audio jack information, see KSJACK_DESCRIPTION structure.
These registry values can be set in various ways:
By using custom INFs which wrap the in-box INF for the purpose to set these values.
Directly by the h/w device via a Microsoft OS Descriptors for USB devices (see example below). For more information about creating these descriptors, see Microsoft OS Descriptors for USB Devices.
Descriptors
An audio function must implement exactly one AudioControl Interface Descriptor (ADC-2 4.7) and one or more AudioStreaming Interface Descriptors (ADC-2 4.9). A function with an audio control interface but no streaming interface is not supported.
The driver supports all descriptor types defined in ADC-2, section 4. The following subsections provide comments on some specific descriptor types.
Troubleshooting
If the driver does not start, the system event log should be checked. The driver logs events which indicate the reason for the failure. Similarly, audio logs can be manually collected following the steps described in this blog entry. If the failure may indicate a driver problem, please report it using the Feedback Hub described below, and include the logs.
For information on how to read logs for the USB Audio 2.0 class driver using supplemental TMF files, see this blog entry. For general information on working with TMF files, see Displaying a Trace Log with a TMF File.
For information on "Audio services not responding" error and USB audio device does not work in Windows 10 version 1703 see, USB Audio Not Playing
Audio streaming
The driver supports the following endpoint synchronization types (USB-2 5.12.4.1):
- Asynchronous IN and OUT
- Synchronous IN and OUT
- Adaptive IN and OUT
For the asynchronous OUT case the driver supports explicit feedback only. A feedback endpoint must be implemented in the respective alternate setting of the AS interface. The driver does not support implicit feedback.
There is currently limited support for devices using a shared clock for multiple endpoints.
For the Adaptive IN case the driver does not support a feedforward endpoint. If such an endpoint is present in the alternate setting, it will be ignored. The driver handles the Adaptive IN stream in the same way as an Asynchronous IN stream.
The size of isochronous packets created by the device must be within the limits specified in FMT-2.0 section 2.3.1.1. This means that the deviation of actual packet size from nominal size must not exceed +/- one audio slot (audio slot = channel count samples).
Audio function topology
The driver supports all entity types defined in ADC-2 3.13.
Each Terminal Entity must have a valid clock connection in compatible USB Audio 2.0 hardware. The clock path may optionally include Clock Multiplier and Clock Selector units and must end in a Clock Source Entity.
The driver supports one single clock source only. If a device implements multiple clock source entities and a clock selector, then the driver will use the clock source that is selected by default and will not modify the clock selector’s position.
A Processing Unit (ADC-2 3.13.9) with more than one input pin is not supported.
An Extension Unit (ADC-2 3.13.10) with more than one input pin is not supported.
Cyclic paths in the topology are not allowed.
Пример дескрипторов ОС Майкрософт для USB
Следующие дескрипторы ОС Майкрософт для USB-примера содержат сопоставление каналов и цвет одного разъема. Пример — для несоставного устройства с одним дескрипторовом компонента.
Поставщик IHV должен расширить его, чтобы он содержал любые другие сведения для описания джека.
Feature descriptions
This section describes the features of the USB Audio 2.0 driver.
дескриптор конечной точки аудиоданных Class-Specific AS
Дополнительные сведения об этой спецификации см. в статье ADC-2 4.10.1.2.
Флаг MaxPacketsOnly в поле bmAttributes не поддерживается и будет игнорироваться.
Поля bmControls, bLockDelayUnits и wLockDelay будут игнорироваться.
Сущность | Control | GET CUR | SET CUR | GET RANGE | ПРЕРВАТЬ |
---|---|---|---|---|---|
Источник часов | Элемент управления частотой выборки | x | x | x | |
Селектор часов | Элемент управления "Селектор часов" | x | |||
Множитель часов | Элемент управления numerator | x | |||
Элемент управления знаменателя | x | ||||
Терминал | Элемент управления соединителем | x | x | ||
Единица Mixer | Элемент управления Mixer | x | x | x | |
Единица выбора | Элемент управления селектором | x | x | ||
Единица возможностей | Отключение звука элемента управления | x | x | x | |
Управление громкостей | x | x | x | x | |
Автоматическое управление получением | x | x | |||
Единица эффектов | – | ||||
Единица обработки | – | ||||
Единица расширения | – |
Дополнительные сведения об элементах управления и запросах доступны в следующих подразделах.
Дескрипторы
Звуковая функция должна реализовывать только один дескриптор интерфейса AudioControl (ADC-2 4.7) и один или несколько дескрипторов интерфейса AudioStreaming (ADC-2 4.9). Функция с интерфейсом управления звуком, но интерфейс потоковой передачи не поддерживается.
Драйвер поддерживает все типы дескрипторов, определенные в ADC-2, разделе 4. В следующих подразделах приводятся комментарии по некоторым конкретным типам дескрипторов.
Type I format type descriptor
For details on this specification, refer to FMT-2 2.3.1.6.
The following restrictions apply:
Format | Subslot size | Bit resolution |
---|---|---|
Type I PCM format: | 1 | 8 |
Type I PCM8 format: | bSubslotSize == 1 | bBitResolution == 8 |
Type I IEEE_FLOAT format: | bSubslotSize == 4 | bBitResolution == 32 |
Type III IEC61937 formats: | bSubslotSize == 2 | bBitResolution == 16 |
Driver development
This USB Audio 2.0 class driver was developed by Thesycon and is supported by Microsoft.
I have Alesis M1 520 USB speakers. Untill last update they worked fine. Now they don't work.
I get sound on headphones connected to audio jack (Realtek motherboadr sound)
When I switch to digial audio in Realtek menu nothing happens.
On Device manager I get two devices that are incorrect>
USB audio codec (cannot be undated automatically)
Audio device on high definition audio Bus (Windows finds driver but fails to update)
Any ideas how to fix this please?
This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
Сущность источника часов
Дополнительные сведения об этой спецификации см. в ADC-2 5.2.5.1.
Как минимум, сущность источника часов должна реализовывать запросы GET RANGE и GET CUR (ADC-2 5.2.5.1.1) в совместимом оборудовании USB Audio 2.0.
Запрос GET RANGE для элемента управления частотой выборки возвращает список вложенных объектов (ADC-2 5.2.1). Каждый вложенный диапазон описывает дискретную частоту или диапазон частоты. Дискретная частота выборки должна быть выражена путем присвоения полям MIN и MAX соответствующей частоты, а значение RES равно нулю. Отдельные подранги не должны перекрываться. Если подчиненное расположение перекрывает предыдущий, драйвер игнорирует его.
Сущность источника часов, реализующая одну фиксированную частоту, не требует реализации функции контроля частоты выборки SET CUR. Он реализует GET CUR, который возвращает фиксированную частоту, и реализует GET RANGE, который сообщает одну дискретную частоту.
Class-Specific AS interface descriptor
For details on this specification, refer to ADC-2 4.9.2.
An AS interface descriptor must start with alternate setting zero with no endpoint (no bandwidth consumption) and further alternate settings must be specified in ascending order in compatible USB Audio 2.0 hardware.
An alternate setting with a format that is not supported by the driver will be ignored.
Each non-zero alternate setting must specify an isochronous data endpoint, and optionally a feedback endpoint. A non-zero alternate setting without any endpoint is not supported.
The bTerminalLink field must refer to a Terminal Entity in the topology and its value must be identical in all alternate settings of an AS interface.
The bFormatType field in the AS interface descriptor must be identical to bFormatType specified in the Format Type Descriptor (FMT-2 2.3.1.6).
For Type I formats, exactly one bit must be set to one in the bmFormats field of the AS interface descriptor. Otherwise, the format will be ignored by the driver.
To save bus bandwidth, one AS interface can implement multiple alternate settings with the same format (in terms of bNrChannels and AS Format Type Descriptor) but different wMaxPacketSize values in the isochronous data endpoint descriptor. For a given sample rate, the driver selects the alternate setting with the smallest wMaxPacketSize that can fulfill the data rate requirements.
IHV USB Audio 2.0 drivers and updates
For IHV provided third party driver USB Audio 2.0 drivers, those drivers will continue to be preferred for their devices over our in-box driver unless they update their driver to explicitly override this behavior and use the in-box driver.
Описание функций
В этом разделе описываются функции драйвера USB Audio 2.0.
Дескриптор типа "Тип I"
Дополнительные сведения об этой спецификации см. в разделе FMT-2 2.3.1.6.
Применяются следующие ограничения:
Формат | Размер подслота | Разрешение битов |
---|---|---|
Введите формат I PCM: | 1 | 8 |
Введите формат I PCM8: | bSubslotSize == 1 | bBitResolution == 8 |
Введите IEEE_FLOAT формат: | bSubslotSize == 4 | bBitResolution == 32 |
Форматы III IEC61937: | bSubslotSize == 2 | bBitResolution == 16 |
Связанные спецификации USB
Следующие спецификации USB определяют USB Audio и ссылаются на них в этом разделе.
- USB-2 относится к спецификации универсальной последовательной шины, редакция 2.0
- ADC-2 относится к определению класса USB-устройства для звуковых устройств, выпуск 2.0.
- FMT-2 относится к спецификации форматов аудиоданных, выпуск 2.0.
USB-IF — это специальная группа интересов, которая поддерживает официальную спецификацию USB, спецификации тестирования и средства.
Единица компонентов
Дополнительные сведения об этой спецификации см. в статье ADC-2 5.2.5.7.
Драйвер поддерживает только один диапазон томов. Если запрос GET RANGE для управления томами возвращает несколько диапазонов, последующие диапазоны будут игнорироваться.
Интервал тома, выраженный полями MIN и MAX, должен быть целым числом, кратным размеру шага, указанному в поле RES.
Если единица функций реализует элементы управления одним каналом, а также главный элемент управления для отключения звука или громкости, драйвер использует элементы управления с одним каналом и игнорирует главный элемент управления.
Architecture
usbaudio2.sys fits within the wider architecture of Windows USB Audio as shown.
Audio formats
The driver supports the formats listed below. An alternate setting which specifies another format defined in FMT-2, or an unknown format, will be ignored.
Type I formats (FMT-2 2.3.1):
- PCM Format with 8..32 bits per sample (FMT-2 2.3.1.7.1)
- PCM8 Format (FMT-2 2.3.1.7.2)
- IEEE_FLOAT Format (FMT-2 2.3.1.7.3)
Type III formats (FMT-2 2.3.3 and A.2.3):
- IEC61937_AC-3
- IEC61937_MPEG-2_AAC_ADTS
- IEC61937_DTS-I
- IEC61937_DTS-II
- IEC61937_DTS-III
- TYPE_III_WMA
дескриптор интерфейса Class-Specific AS
Дополнительные сведения об этой спецификации см. в статье ADC-2 4.9.2.
Дескриптор интерфейса AS должен начинаться с альтернативного задания нуля без конечной точки (без использования пропускной способности), а дополнительные альтернативные параметры должны быть указаны в порядке возрастания в совместимом оборудовании USB Audio 2.0.
Альтернативный параметр с форматом, который не поддерживается драйвером, будет игнорироваться.
Каждый альтернативный параметр, отличный от нуля, должен указывать изохронную конечную точку данных и при необходимости конечную точку обратной связи. Ненулевая альтернативная настройка без конечной точки не поддерживается.
Поле bTerminalLink должно ссылаться на сущность терминала в топологии, а ее значение должно быть идентичным во всех альтернативных параметрах интерфейса AS.
Поле bFormatType в дескрипторе интерфейса AS должно совпадать с bFormatType, указанным в дескрипторе типа формата (FMT-2.3.1.6).
Для форматов типа I необходимо задать ровно один бит в поле bmFormats дескриптора интерфейса AS. В противном случае драйвер игнорирует формат.
Чтобы сохранить пропускную способность шины, один интерфейс AS может реализовать несколько альтернативных параметров с одинаковым форматом (с точки зрения bNrChannels и дескриптора типа AS), но разные значения wMaxPacketSize в дескрипторе конечной точки isochronous. Для заданной частоты выборки драйвер выбирает альтернативный параметр с наименьшим wMaxPacketSize, который может соответствовать требованиям скорости данных.
Разработка драйверов
Этот драйвер класса USB Audio 2.0 был разработан Thesycon и поддерживается корпорацией Майкрософт.
The driver is named: usbaudio2.sys and the associated inf file is usbaudio2.inf.
The driver will identify in device manager as "USB Audio Class 2 Device". This name will be overwritten with a USB Product string, if it is available.
The driver is automatically enabled when a compatible device is attached to the system. However, if a third-party driver exists on the system or Windows Update, that driver will be installed and override the class driver.
Related USB specifications
The following USB specifications define USB Audio and are referenced in this topic.
- USB-2 refers to the Universal Serial Bus Specification, Revision 2.0
- ADC-2 refers to the USB Device Class Definition for Audio Devices, Release 2.0.
- FMT-2 refers to the Audio Data Formats specification, Release 2.0.
The USB-IF is a special interest group that maintains the Official USB Specification, test specifications and tools.
Сущность селектора часов
Дополнительные сведения об этой спецификации см. в статье ADC-2 5.2.5.2.
Драйвер USB Audio 2.0 не поддерживает выбор часов. Драйвер использует сущность источника часов, выбранную по умолчанию, и никогда не выдает запрос SET CUR элемента управления селектором часов. Запрос GET CUR для управления селектором часов (ADC-2 5.2.5.2.1) должен быть реализован в совместимом оборудовании USB Audio 2.0.
Потоковая передача звука
Драйвер поддерживает следующие типы синхронизации конечных точек (USB-2 5.12.4.1):
- Асинхронное in and OUT
- Синхронный вход и выход
- Адаптивный IN и OUT
Для асинхронного случая OUT драйвер поддерживает только явные отзывы. Конечная точка обратной связи должна быть реализована в соответствующем альтернативном параметре интерфейса AS. Драйвер не поддерживает неявную обратную связь.
В настоящее время существует ограниченная поддержка устройств, использующих общие часы для нескольких конечных точек.
Для адаптивного В случае, если драйвер не поддерживает конечную точку веб-канала. Если такая конечная точка присутствует в альтернативном параметре, она будет игнорироваться. Драйвер обрабатывает адаптивный поток IN так же, как асинхронный поток IN.
Размер изохронных пакетов, созданных устройством, должен находиться в пределах ограничений, указанных в разделе FMT-2.0 2.3.1.1. Это означает, что отклонение фактического размера пакета от номинального размера не должно превышать +/- один звуковой слот (звуковой слот = примеры количества каналов).
Устранение неполадок
Если драйвер не запускается, необходимо проверить журнал системных событий. Драйвер регистрирует события, указывающие причину сбоя. Аналогичным образом, звуковые журналы можно собирать вручную, выполнив действия, описанные в этой записи блога. Если сбой может указывать на проблему драйвера, сообщите о ней с помощью Центра отзывов, описанного ниже, и включите журналы.
Сведения о чтении журналов для драйвера класса USB Audio 2.0 с помощью дополнительных файлов TMF см. в этой записи блога. Общие сведения о работе с файлами TMF см. в разделе "Отображение журнала трассировки" с помощью файла TMF.
Сведения об ошибке "Аудиослужбы не отвечают" и USB-звуковое устройство не работает в Windows 10 версии 1703 см. в статье "Воспроизведение звука USB не выполняется"
Описания реестра Audio Jack
Начиная с Windows 10 выпуска 1703, IHV, создающие usb Audio Class 2.0 устройства с одним или несколькими разъемами, имеют возможность описать эти разъемы в встроенном драйвере класса Audio 2.0. Встроенный драйвер использует предоставленные сведения о разъеме при обработке KSPROPERTY_JACK_DESCRIPTION для этого устройства.
Сведения о джеке хранятся в реестре в разделе экземпляра устройства (ключ HW).
Ниже описаны параметры сведений о звуковом разъеме в реестре:
= идентификатор терминала (как определено в дескриптооре)
= номер Джека (1 ~ n).
Соглашение для и :
- Base 10 (8, 9, 10, а не 8, 9, a)
- Нет начальных нулей
- n 1 основе (первый джек 1, а не джек 0)
T1_NrJacks, T1_J2_ChannelMapping, T1_J2_ConnectorType
Дополнительные сведения о звуковом разъеме см. в KSJACK_DESCRIPTION структуре.
Эти значения реестра можно задать различными способами:
С помощью пользовательских infs, которые упаковывают встроенный INF-файл для установки этих значений.
Непосредственно на устройстве h/w через дескрипторы ОС Майкрософт для USB-устройств (см. пример ниже). Дополнительные сведения о создании этих дескрипторов см. в разделе " Дескрипторы ОС Майкрософт для USB-устройств".
Feature unit
For details on this specification, refer to ADC-2 5.2.5.7.
The driver supports one single volume range only. If the Volume Control GET RANGE request returns more than one range, then subsequent ranges will be ignored.
The volume interval expressed by the MIN and MAX fields should be an integer multiple of the step size specified in the RES field.
If a feature unit implements single channel controls as well as a master control for Mute or Volume, then the driver uses the single channel controls and ignores the master control.
Центр отзывов
Если у вас возникла проблема с этим драйвером, соберите звуковые журналы, а затем выполните действия, описанные в этой записи блога , чтобы привлечь внимание к нему через Центр отзывов.
Microsoft OS Descriptors for USB Example
The following Microsoft OS Descriptors for USB example contains the channel mapping and color for one jack. The example is for a non-composite device with single feature descriptor.
The IHV vendor should extend it to contain any other information for the jack description.
Class requests and interrupt data messages
The driver supports a subset of the control requests defined in ADC-2, section 5.2, and supports interrupt data messages (ADC-2 6.1) for some controls. The following table shows the subset that is implemented in the driver.
Entity | Control | GET CUR | SET CUR | GET RANGE | INTERRUPT |
---|---|---|---|---|---|
Clock Source | Sampling Frequency Control | x | x | x | |
Clock Selector | Clock Selector Control | x | |||
Clock Multiplier | Numerator Control | x | |||
Denominator Control | x | ||||
Terminal | Connector Control | x | x | ||
Mixer Unit | Mixer Control | x | x | x | |
Selector Unit | Selector Control | x | x | ||
Feature Unit | Mute Control | x | x | x | |
Volume Control | x | x | x | x | |
Automatic Gain Control | x | x | |||
Effect Unit | – | ||||
Processing Unit | – | ||||
Extension Unit | – |
Additional information on the controls and requests is available in the following subsections.
Class-Specific AS isochronous audio data endpoint descriptor
For details on this specification, refer to ADC-2 4.10.1.2.
The MaxPacketsOnly flag in the bmAttributes field is not supported and will be ignored.
The fields bmControls, bLockDelayUnits and wLockDelay will be ignored.
Additional Information for OEM and IHVs
OEMs and IHVs should test their existing and new devices against the supplied in-box driver.
There is not any specific partner customization that is associated with the in-box USB Audio 2.0 driver.
This INF file entry (provided in a update to Windows Release 1703), is used to identify that the in-box driver is a generic device driver.
The in-box driver registers for the following compatible IDs with usbaudio2.inf.
See the USB audio 2.0 specification for subclass types.
USB Audio 2.0 Devices with MIDI (subclass 0x03 above) will enumerate the MIDI function as a separate multi-function device with usbaudio.sys (USB Audio 1.0 driver) loaded.
The USB Audio 1.0 class driver registers this compatible ID with wdma_usb.inf.
And has these exclusions:
An arbitrary number of channels (greater than eight) are not supported in shared mode due to a limitation of the Windows audio stack.
Архитектура
usbaudio2.sys соответствует более широкой архитектуре Windows USB Audio, как показано ниже.
Clock source entity
For details on this specification, refer to ADC-2 5.2.5.1.
At a minimum, a Clock Source Entity must implement Sampling Frequency Control GET RANGE and GET CUR requests (ADC-2 5.2.5.1.1) in compatible USB Audio 2.0 hardware.
The Sampling Frequency Control GET RANGE request returns a list of subranges (ADC-2 5.2.1). Each subrange describes a discrete frequency, or a frequency range. A discrete sampling frequency must be expressed by setting MIN and MAX fields to the respective frequency and RES to zero. Individual subranges must not overlap. If a subrange overlaps a previous one, it will be ignored by the driver.
A Clock Source Entity which implements one single fixed frequency only does not need to implement Sampling Frequency Control SET CUR. It implements GET CUR which returns the fixed frequency, and it implements GET RANGE which reports one single discrete frequency.
Читайте также: