Skip to content
Permalink
Browse files

MP3 export: initialize ID3 tag with id3tag_init

Fixes wrongly set 'Blues' genre(ID 0) in exported mp3 files.
  • Loading branch information...
PhysSong committed Jun 6, 2019
1 parent c37228c commit 47d6388182e9105c0cf7e87d494dd2db593350c5
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/audio/AudioFileMP3.cpp
@@ -120,6 +120,7 @@ bool AudioFileMP3::initEncoder()
lame_set_brate(m_lame, bitRate);

// Add a comment
id3tag_init(m_lame);
id3tag_set_comment(m_lame, "Created with LMMS");

return lame_init_params(m_lame) != -1;

0 comments on commit 47d6388

Please sign in to comment.
You can’t perform that action at this time.