Skip to content

Commit

Permalink
fix: audio distortion with bluetooth headphone
Browse files Browse the repository at this point in the history
  • Loading branch information
aerovulpe committed Feb 17, 2024
1 parent 372ae35 commit f257a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ChatWindow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export default {
showFiles: { type: [Boolean, String], default: true },
showAudio: { type: [Boolean, String], default: true },
audioBitRate: { type: Number, default: 128 },
audioSampleRate: { type: Number, default: 44100 },
audioSampleRate: { type: Number, default: new (window.AudioContext || window.webkitAudioContext)().sampleRate },
showEmojis: { type: [Boolean, String], default: true },
showReactionEmojis: { type: [Boolean, String], default: true },
showNewMessagesDivider: { type: [Boolean, String], default: true },
Expand Down

0 comments on commit f257a86

Please sign in to comment.