Modify ↓
Ticket #5498 (closed patch: fixed)
Opened 4 years ago
Last modified 3 years ago
ALSA getSpaceOnSoundcard mixing frames and bytes
| Reported by: | David Asher <david.asher@…> | Owned by: | danielk |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.22 |
| Component: | mythtv | Version: | head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
I'm using release-0-21-fixes, so that's what the patch is against.
This is a minor issue, since I think it will only matter in an error case, but the return value of snd_pcm_avail_update() (which is in frames) is being compared to soundcard_buffer_size (which is in bytes). The attached patch is untested (my current system is not set up to compile mythtv).
Attachments
Change History
Changed 4 years ago by David Asher <david.asher@…>
- Attachment audiooutputalsa.cpp.patch added
comment:1 Changed 3 years ago by danielk
- Owner changed from ijr to danielk
- Status changed from new to assigned
comment:2 Changed 3 years ago by danielk
- Version changed from unknown to head
- Type changed from defect to patch
- Milestone changed from unknown to 0.22
Note: See
TracTickets for help on using
tickets.

patch to compare bytes with bytes