Skip to content

Add audio recording mode #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Sep 13, 2020
Merged

Add audio recording mode #61

merged 10 commits into from
Sep 13, 2020

Conversation

danielpaulus
Copy link
Owner

I found out that it is possible to only activate the audio recording mode.
If the HPD1 commands are never sent, the devices starts streaming audio samples right away. The cool thing about that is, that the device does NOT modify the status bar (9:41am, no cell carrier symbol, battery always full and such).

This PR introduces the new audio command that let's you save audio streams to mp3, wav or ogg files.

@codecov
Copy link

codecov bot commented Sep 13, 2020

Codecov Report

Merging #61 into master will decrease coverage by 1.28%.
The diff coverage is 15.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
- Coverage   56.92%   55.64%   -1.29%     
==========================================
  Files          35       36       +1     
  Lines        1674     1727      +53     
==========================================
+ Hits          953      961       +8     
- Misses        639      683      +44     
- Partials       82       83       +1     
Impacted Files Coverage Δ
screencapture/gstadapter/gst_adapter.go 13.40% <0.00%> (ø)
...encapture/gstadapter/gst_pipeline_builder_linux.go 0.00% <0.00%> (ø)
screencapture/coremedia/avfilewriter.go 71.73% <20.00%> (-6.84%) ⬇️
screencapture/messageprocessor.go 54.67% <100.00%> (+1.85%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 431269c...f996643. Read the comment docs.

@danielpaulus danielpaulus merged commit b9183d9 into master Sep 13, 2020
@danielpaulus danielpaulus deleted the addAudioRecordingMode branch September 13, 2020 10:58
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.

1 participant