- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use single-channel microphones in the uac1.0 specification with part of descriptors as attachments. When I constructed some PCM data myself and sent it to the host computer, my recording software said the microphone didn't work properly.
After the USB device is inserted into the host, the host can correctly identify the UAC device and display the device in the device manager.
Please give me some help and guidance.
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm able to play the audio from this device by using the project that you shared and following the steps below:
1. Go to sound control panel -> Recording:
2. Double click on FX3 to open properties:
3. Go to Listen Tab and Click Listen to this device as shown below:
I am also able to play the audio using the application Audacity.
Please let me know if you are also able to hear the audio or not.
You can also refer to the attached example project which is a modification of the SDK UAC example project. This project was developed by using the following KBA as reference:
You can use this project as a reference or build your application on top of this project. I have tested the project in USB3 and USB2 mode and it works fine at my end.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please elaborate the issue seen at your end.
Based on our understanding, you are able to enumerate the device properly. But, when you are trying to stream data from the device to host, the host application gives error. Please correct me if my understanding is wrong.
Please let us know which host application is used for testing. Also, please elaborate the following line in your problem description:
"When I constructed some PCM data myself and sent it to the host computer"
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your understanding is correct.Host application is the program is windows10 with a recorder.
"When I constructed some PCM data myself and sent it to the host computer" is construct an array to store PCM data,as follow,
const int16_t pcm_source_data[] __attribute__ ((aligned (32))) = {
0, 4277, 8481, 12539, 16384, 19947, 23170, 25996, 28377, 30273, 31650, 32487, 32767,
32487, 31650, 30273, 28377, 25996, 23170, 19947, 16384, 12539, 8481, 4277, 0, -4277,
-8481, -12539, -16384, -19947, -23170, -25996, -28377, -30273, -31650, -32487, -32767,
-32487, -31650, -30273, -28377, -25996, -23170, -19947, -16384, -12539, -8481, -4277}
It has 48x16 bits of signed data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Is it possible for you to share the complete source file for debugging?
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm able to play the audio from this device by using the project that you shared and following the steps below:
1. Go to sound control panel -> Recording:
2. Double click on FX3 to open properties:
3. Go to Listen Tab and Click Listen to this device as shown below:
I am also able to play the audio using the application Audacity.
Please let me know if you are also able to hear the audio or not.
You can also refer to the attached example project which is a modification of the SDK UAC example project. This project was developed by using the following KBA as reference:
You can use this project as a reference or build your application on top of this project. I have tested the project in USB3 and USB2 mode and it works fine at my end.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your support,it is 'Standard device descriptor for USB 3.0' in my cyfxdscr.c,'Product ID' is changed to '0x22, 0x49',it ok.