Opened 3 days ago

#250 new defect

Fix mis-calculation of sample count

Reported by: KO Myung-Hun Owned by:
Priority: highest Milestone: ALSA Hardware Compatibility
Component: UNIAUD-API Version: 1.9.26
Severity: blocker Keywords:
Cc:

Description

Hi/2.

Conversion between samples and bytes are performed incorrectly.

The 2nd arg of uniaud_pcm_format_size() is samples not channels. And orig_samples should be calculated from orig_format not format

I attach the patch.

Attachments (2)

0001-Fix-wrong-usage-of-uniaud_pcm_format_size.patch (4.7 KB ) - added by KO Myung-Hun 3 days ago.
0001-Fix-mis-calculation-of-orig_samplesize.patch (956 bytes ) - added by KO Myung-Hun 3 days ago.

Download all attachments as: .zip

Change History (2)

Note: See TracTickets for help on using tickets.