2 Replies Latest reply on Feb 14, 2017 6:36 PM by priyanob_2031756

    16kHZ UAC For Linux: Improper Audio




      I want your USB audio class example working for Linux platform (esp. Android phone) with the parameters below


      a) 16kHZ Sampling Frequency


      b) 16 bit per sample


      c) Stereo mode


      As per the last few questions posted, I have made the changes Cypress team asked to do me. Surprisingly, the audio streamed was  not correct. The recorded audio when played back had breaking, looking like duplicated audio samples which made the actual sound content elongated.


      Please help to sort out this issue. If this issue is reproduced at your end or is it just me getting this problem? I am really confused.


      Below are the changes you asked me to do in the original UAC source


      1) sampling frequency in audio format descriptor :     0x80, 0x3E, 0x00, 


      2) Transaction size in Endpoint descriptor for ISO streaming Audio data 0x20, 0x00,


      3) Bytes per interval in  Super speed endpoint companion descriptor:   0x20, 0x00, 


      4) in the cyfxuac.c file, change the macro definition to: CY_FX3_ISO_XFER_LEN                             (32)


      NOTE:- SPI flash contains audio file flashed of same parameters aforementioned.