lib/xiph/FlacMetadataIterator: proper CamelCase
This commit is contained in:
parent
3d43e4e954
commit
d43218ed16
@ -164,7 +164,7 @@ flac_vorbis_comments_to_tag(const FLAC__StreamMetadata_VorbisComment *comment)
|
|||||||
void
|
void
|
||||||
FlacMetadataChain::Scan(TagHandler &handler) noexcept
|
FlacMetadataChain::Scan(TagHandler &handler) noexcept
|
||||||
{
|
{
|
||||||
FLACMetadataIterator iterator(chain);
|
FlacMetadataIterator iterator(chain);
|
||||||
|
|
||||||
do {
|
do {
|
||||||
FLAC__StreamMetadata *block = iterator.GetBlock();
|
FLAC__StreamMetadata *block = iterator.GetBlock();
|
||||||
|
@ -24,18 +24,18 @@
|
|||||||
|
|
||||||
#include <FLAC/metadata.h>
|
#include <FLAC/metadata.h>
|
||||||
|
|
||||||
class FLACMetadataIterator {
|
class FlacMetadataIterator {
|
||||||
FLAC__Metadata_Iterator *iterator;
|
FLAC__Metadata_Iterator *iterator;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FLACMetadataIterator():iterator(::FLAC__metadata_iterator_new()) {}
|
FlacMetadataIterator():iterator(::FLAC__metadata_iterator_new()) {}
|
||||||
|
|
||||||
FLACMetadataIterator(FLAC__Metadata_Chain *chain)
|
FlacMetadataIterator(FLAC__Metadata_Chain *chain)
|
||||||
:iterator(::FLAC__metadata_iterator_new()) {
|
:iterator(::FLAC__metadata_iterator_new()) {
|
||||||
::FLAC__metadata_iterator_init(iterator, chain);
|
::FLAC__metadata_iterator_init(iterator, chain);
|
||||||
}
|
}
|
||||||
|
|
||||||
~FLACMetadataIterator() {
|
~FlacMetadataIterator() {
|
||||||
::FLAC__metadata_iterator_delete(iterator);
|
::FLAC__metadata_iterator_delete(iterator);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user