Skip to content

Conversation

@neel1998
Copy link
Member

Fixes #1816 Fixes #1806

Changes: Single Capture class created to handle all channels

Screenshot/s for the changes:
20190622_173906

Checklist: [Please tick following check boxes with [x] if the respective task is completed]

  • I have used resources from strings.xml, dimens.xml and colors.xml without hard-coding them
  • No modifications done at the end of resource files strings.xml, dimens.xml or colors.xml
  • I have reformatted code in every file included in this PR [CTRL+ALT+L]
  • My code does not contain any extra lines or extra spaces
  • I have requested reviews from other members

APK for testing:
capture_task_refactor.zip

@CloudyPadmal @mariobehling have a look at this. The code looks a lot cleaner now. Will do similar for fft and Audiobuffer tasks in subsequent PRs.


@Override
protected Void doInBackground(String... params) {
protected Void doInBackground(String... strings) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename strings to channels. It makes more sense.

@CloudyPadmal CloudyPadmal added the Status: Review Required Requested reviews from peers and maintainers label Jun 22, 2019
@neel1998
Copy link
Member Author

@CloudyPadmal please check. And kindly merge if looks fine because I want to solve further issues in oscilloscope. Thanks

@CloudyPadmal CloudyPadmal removed the Status: Review Required Requested reviews from peers and maintainers label Jun 22, 2019
@CloudyPadmal CloudyPadmal merged commit 413d03c into fossasia:development Jun 22, 2019
neel1998 added a commit to neel1998/pslab-android that referenced this pull request Jul 30, 2019
…fossasia#1820)

* Single Capture class created to handle all channels

* codacy and minor changes
@neel1998 neel1998 deleted the oscilloscope_capturetask_refactor branch August 27, 2019 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert Multiple CaptureTasks in Oscilloscope to a Single Capture Task wrong plotting w.r.t channel selection in Oscilloscope

2 participants