Project

General

Profile

Feature #594

Audtool option to toggle the new record/dub mode

Added by Jim Turner over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Minor
Assignee:
-
Category:
audtool
Target version:
Start date:
November 21, 2015
Due date:
% Done:

100%

Estimated time:
Affects version:

Description

Please add Audtool control of new "Record audio stream using Filewriter Plugin" via new option (--playback-record) that would permit users to add a desktop launcher icon/button to more quickly start and stop recording of live streams, etc (I use wmappl). In addition it would also permit users to create a cron-job / act script, etc. to record streaming programs at a specific time.

I've included a patch to do just that that seems to work great for me!

Jim

audtool.h (5.16 KB) audtool.h Jim Turner, November 21, 2015 18:54
audtool.h.diff (48 Bytes) audtool.h.diff Jim Turner, November 21, 2015 18:54
dbus-server.cc (22.5 KB) dbus-server.cc Jim Turner, November 21, 2015 18:54
dbus-server.cc.diff (240 Bytes) dbus-server.cc.diff Jim Turner, November 21, 2015 18:54
handlers_playback.c (2.75 KB) handlers_playback.c Jim Turner, November 21, 2015 18:54
handlers_playback.c.diff (136 Bytes) handlers_playback.c.diff Jim Turner, November 21, 2015 18:54
main.c (10.3 KB) main.c Jim Turner, November 21, 2015 18:54
main.c.diff (83 Bytes) main.c.diff Jim Turner, November 21, 2015 18:54
feature594_patch.git_diff.txt (2.57 KB) feature594_patch.git_diff.txt Jim Turner, December 11, 2015 04:15

History

#1 Updated by John Lindgren over 8 years ago

  • Category set to audtool

#2 Updated by John Lindgren over 8 years ago

Looks good. Any chance you could convert this to a "git diff" patch?

#3 Updated by Jim Turner over 8 years ago

I've no idea what a "git diff patch" is, much less how to do one, but I'll go see if I can figure out how!

Jim

#4 Updated by John Lindgren over 8 years ago

It's extremely simple to do. Just make your changes on top of a clean Git repository, then run "git diff".

#5 Updated by Jim Turner over 8 years ago

Done, see attached.

Jim

#6 Updated by John Lindgren over 8 years ago

Thanks! I expanded on the patch to add a "playback-recording" command as well, and updated the manual page for audtool.

P.S. You missed aud-dbus.xml in the patch, so it didn't quite compile. Maybe I should have said, "make your changes on top of a clean Git repository, make sure it compiles, and then run 'git diff'". :)

#7 Updated by John Lindgren over 8 years ago

  • Status changed from New to Closed
  • Target version set to 3.8
  • % Done changed from 0 to 100

Also available in: Atom PDF