Skip to content

Commit

Permalink
Remove sound sample rate indicator
Browse files Browse the repository at this point in the history
It reflects the sample rate of your computer, not the sound,
so it is misleading at best.
  • Loading branch information
GarboMuffin committed Jan 8, 2025
1 parent e5862fc commit 5f4cbcc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/components/sound-editor/sound-editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,6 @@ const SoundEditor = props => (
{formatDuration(props.playhead, props.trimStart, props.trimEnd, props.duration)}
</div>
<div className={styles.advancedInfo}>
{props.sampleRate}
{'Hz '}
{props.isStereo ? (
<FormattedMessage
defaultMessage="Stereo"
Expand Down Expand Up @@ -405,7 +403,6 @@ SoundEditor.propTypes = {
isStereo: PropTypes.bool.isRequired,
duration: PropTypes.number.isRequired,
size: PropTypes.number.isRequired,
sampleRate: PropTypes.number.isRequired,
canPaste: PropTypes.bool.isRequired,
canRedo: PropTypes.bool.isRequired,
canUndo: PropTypes.bool.isRequired,
Expand Down
1 change: 0 additions & 1 deletion src/containers/sound-editor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ class SoundEditor extends React.Component {
isStereo={this.props.isStereo}
duration={this.props.duration}
size={this.props.size}
sampleRate={this.props.sampleRate}
canPaste={this.state.copyBuffer !== null}
canRedo={this.redoStack.length > 0}
canUndo={this.undoStack.length > 0}
Expand Down

0 comments on commit 5f4cbcc

Please sign in to comment.