Closed
Bug 1037646
Opened 12 years ago
Closed 12 years ago
Improve FM radio setup code
Categories
(Core :: DOM: Device Interfaces, defect)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: mwu, Assigned: mwu)
References
Details
Attachments
(1 file)
|
5.50 KB,
patch
|
pzhang
:
review+
|
Details | Diff | Splinter Review |
This patch fixes a few things:
1. It switches from storing frequencies in double to uint32_t. Internally, frequencies are always in whole kHz, so there's no point in using a large floating point type.
2. It eliminates the channel spacing defines. The defines didn't make the code any clearer.
3. Preemphasis is actually configured now. AIUI, preemphasis was a random undefined value before. Proper deemphasis configuration is necessary for FM radio to sound right.
Attachment #8454684 -
Flags: review?(pzhang)
Updated•12 years ago
|
Attachment #8454684 -
Flags: review?(pzhang) → review+
| Assignee | ||
Comment 1•12 years ago
|
||
Comment 2•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in
before you can comment on or make changes to this bug.
Description
•