Skip to content
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

Fix extension in path generated by Recorder #4550

Merged
merged 2 commits into from
Sep 20, 2019

Conversation

jpburstrom
Copy link
Contributor

@jpburstrom jpburstrom commented Aug 21, 2019

Purpose and Motivation

Before this fix, recorded file paths would always have extensions according to s.options.recHeaderFormat, even if recHeaderFormat of s.recorder was different, possibly creating files with wrong extension.

Use Recorder's own recHeaderFormat variable when generating the path, which should make sure header format and extension is in sync.

Types of changes

  • Bug fix

To-do list

  • Code is tested
  • All tests are passing
  • Updated documentation
  • This PR is ready for review

Use this.recHeaderFormat instead of server.recHeaderFormat when
generating path
@jpburstrom jpburstrom changed the title Topic/recorder make path Fix extension in path generated by Recorder Aug 21, 2019
Copy link
Contributor

@nhthn nhthn left a comment

Choose a reason for hiding this comment

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

looks good, thanks! sorry about the delay on this one.

@nhthn nhthn added the comp: class library SC class library label Sep 4, 2019
@mossheim mossheim merged commit a086465 into supercollider:3.10 Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: class library SC class library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants