spAudio
読み取り中…
検索中…
一致する文字列を見つけられません
音声ファイル

データ構造

struct  spWaveInfo
 
struct  spSongInfo
 
struct  spSongInfoV2
 

マクロ定義

#define SP_WAVE_FILE_TYPE_SIZE   32
 
#define SP_WAVE_FILE_DESC_SIZE   128
 
#define SP_WAVE_FILE_FILTER_SIZE   32
 
#define SP_SONG_NO_INFO   0
 
#define SP_SONG_TRACK_MASK   (1L<<0)
 
#define SP_SONG_TITLE_MASK   (1L<<1)
 
#define SP_SONG_ARTIST_MASK   (1L<<2)
 
#define SP_SONG_ALBUM_MASK   (1L<<3)
 
#define SP_SONG_GENRE_MASK   (1L<<4)
 
#define SP_SONG_RELEASE_MASK   (1L<<5)
 
#define SP_SONG_COPYRIGHT_MASK   (1L<<6)
 
#define SP_SONG_ENGINEER_MASK   (1L<<7)
 
#define SP_SONG_SOURCE_MASK   (1L<<8)
 
#define SP_SONG_SOFTWARE_MASK   (1L<<9)
 
#define SP_SONG_SUBJECT_MASK   (1L<<10)
 
#define SP_SONG_COMMENT_MASK   (1L<<11)
 
#define SP_SONG_ALBUM_ARTIST_MASK   (1L<<12)
 
#define SP_SONG_COMPOSER_MASK   (1L<<13)
 
#define SP_SONG_LYRICIST_MASK   (1L<<14)
 
#define SP_SONG_PRODUCER_MASK   (1L<<15)
 
#define SP_SONG_ISRC_MASK   (1L<<16)
 
#define SP_SONG_TRACK_TOTAL_MASK   (1L<<17)
 
#define SP_SONG_DISC_MASK   (1L<<18)
 
#define SP_SONG_DISC_TOTAL_MASK   (1L<<19)
 
#define SP_SONG_TEMPO_MASK   (1L<<20)
 
#define SP_SONG_ID3V1_MASK   (1L<<24)
 
#define SP_SONG_ID3V2_2_MASK   (1L<<25)
 
#define SP_SONG_ID3V2_3_MASK   (1L<<26)
 
#define SP_SONG_ID3V2_4_MASK   (1L<<27)
 
#define SP_SONG_UTF8_STRING_IN_FILE_MASK   (1L<<28)
 
#define SP_SONG_ISO8859_1_STRING_IN_FILE_MASK   (1L<<29)
 
#define SP_SONG_ID3V2_SUPPORT_MASK   (SP_SONG_TRACK_MASK|SP_SONG_TITLE_MASK|SP_SONG_ARTIST_MASK|SP_SONG_ALBUM_MASK|SP_SONG_GENRE_MASK|SP_SONG_RELEASE_MASK|SP_SONG_COPYRIGHT_MASK|SP_SONG_ENGINEER_MASK|SP_SONG_SOURCE_MASK|SP_SONG_SOFTWARE_MASK|SP_SONG_COMMENT_MASK|SP_SONG_ALBUM_ARTIST_MASK|SP_SONG_COMPOSER_MASK|SP_SONG_LYRICIST_MASK|SP_SONG_ISRC_MASK|SP_SONG_TRACK_TOTAL_MASK|SP_SONG_DISC_MASK|SP_SONG_DISC_TOTAL_MASK|SP_SONG_TEMPO_MASK)
 
#define SP_SONG_ID3V2_2_SUPPORT_MASK   (SP_SONG_ID3V2_SUPPORT_MASK|SP_SONG_ID3V2_2_MASK)
 
#define SP_SONG_ID3V2_3_SUPPORT_MASK   (SP_SONG_ID3V2_SUPPORT_MASK|SP_SONG_ID3V2_3_MASK)
 
#define SP_SONG_ID3V2_4_SUPPORT_MASK   (SP_SONG_ID3V2_SUPPORT_MASK|SP_SONG_ID3V2_4_MASK)
 
#define SP_SONG_ID3V2_ALL_SUPPORT_MASK   (SP_SONG_ID3V2_SUPPORT_MASK|SP_SONG_ID3V2_2_MASK|SP_SONG_ID3V2_3_MASK|SP_SONG_ID3V2_4_MASK)
 
#define SP_SONG_INFO_SIZE   128
 
#define SP_SONG_INFO_GENRE_SIZE   32
 
#define SP_SONG_INFO_ALBUM_ARTIST_SIZE   96
 
#define SP_SONG_INFO_RELEASE_SIZE   48
 
#define SP_SONG_INFO_PRODUCER_SIZE   64
 
#define SP_SONG_INFO_SOURCE_SIZE   48
 
#define SP_SONG_INFO_COMPOSER_SIZE   80
 
#define SP_SONG_INFO_SOFTWARE_SIZE   48
 
#define SP_SONG_INFO_LYRICIST_SIZE   80
 
#define SP_SONG_INFO_SUBJECT_SIZE   104
 
#define SP_SONG_INFO_ISRC_SIZE   24
 

詳解

マクロ定義詳解

◆ SP_WAVE_FILE_TYPE_SIZE

#define SP_WAVE_FILE_TYPE_SIZE   32

Size of file_type member of spWaveInfo .

◆ SP_WAVE_FILE_DESC_SIZE

#define SP_WAVE_FILE_DESC_SIZE   128

Size of file_desc member of spWaveInfo .

◆ SP_WAVE_FILE_FILTER_SIZE

#define SP_WAVE_FILE_FILTER_SIZE   32

Size of file_filter member of spWaveInfo .

◆ SP_SONG_NO_INFO

#define SP_SONG_NO_INFO   0

Mask to indicate no information.

◆ SP_SONG_TRACK_MASK

#define SP_SONG_TRACK_MASK   (1L<<0)

Mask for track .

◆ SP_SONG_TITLE_MASK

#define SP_SONG_TITLE_MASK   (1L<<1)

Mask for title .

◆ SP_SONG_ARTIST_MASK

#define SP_SONG_ARTIST_MASK   (1L<<2)

Mask for artist .

◆ SP_SONG_ALBUM_MASK

#define SP_SONG_ALBUM_MASK   (1L<<3)

Mask for album .

◆ SP_SONG_GENRE_MASK

#define SP_SONG_GENRE_MASK   (1L<<4)

Mask for genre .

◆ SP_SONG_RELEASE_MASK

#define SP_SONG_RELEASE_MASK   (1L<<5)

Mask for release .

◆ SP_SONG_COPYRIGHT_MASK

#define SP_SONG_COPYRIGHT_MASK   (1L<<6)

Mask for copyright .

◆ SP_SONG_ENGINEER_MASK

#define SP_SONG_ENGINEER_MASK   (1L<<7)

Mask for engineer .

◆ SP_SONG_SOURCE_MASK

#define SP_SONG_SOURCE_MASK   (1L<<8)

Mask for source .

◆ SP_SONG_SOFTWARE_MASK

#define SP_SONG_SOFTWARE_MASK   (1L<<9)

Mask for software .

◆ SP_SONG_SUBJECT_MASK

#define SP_SONG_SUBJECT_MASK   (1L<<10)

Mask for subject .

◆ SP_SONG_COMMENT_MASK

#define SP_SONG_COMMENT_MASK   (1L<<11)

Mask for comment .

◆ SP_SONG_ALBUM_ARTIST_MASK

#define SP_SONG_ALBUM_ARTIST_MASK   (1L<<12)

Mask for album_artist . V2 only.

◆ SP_SONG_COMPOSER_MASK

#define SP_SONG_COMPOSER_MASK   (1L<<13)

Mask for composer . V2 only.

◆ SP_SONG_LYRICIST_MASK

#define SP_SONG_LYRICIST_MASK   (1L<<14)

Mask for lyricist . V2 only.

◆ SP_SONG_PRODUCER_MASK

#define SP_SONG_PRODUCER_MASK   (1L<<15)

Mask for producer . V2 only.

◆ SP_SONG_ISRC_MASK

#define SP_SONG_ISRC_MASK   (1L<<16)

Mask for isrc . V2 only.

◆ SP_SONG_TRACK_TOTAL_MASK

#define SP_SONG_TRACK_TOTAL_MASK   (1L<<17)

Mask for track_total . V2 only.

◆ SP_SONG_DISC_MASK

#define SP_SONG_DISC_MASK   (1L<<18)

Mask for disc . V2 only.

◆ SP_SONG_DISC_TOTAL_MASK

#define SP_SONG_DISC_TOTAL_MASK   (1L<<19)

Mask for disc_total . V2 only.

◆ SP_SONG_TEMPO_MASK

#define SP_SONG_TEMPO_MASK   (1L<<20)

Mask for tempo . V2 only.

◆ SP_SONG_ID3V1_MASK

#define SP_SONG_ID3V1_MASK   (1L<<24)

Mask to indicate ID3v1.

◆ SP_SONG_ID3V2_2_MASK

#define SP_SONG_ID3V2_2_MASK   (1L<<25)

Mask to indicate ID3v2.2.

◆ SP_SONG_ID3V2_3_MASK

#define SP_SONG_ID3V2_3_MASK   (1L<<26)

Mask to indicate ID3v2.3.

◆ SP_SONG_ID3V2_4_MASK

#define SP_SONG_ID3V2_4_MASK   (1L<<27)

Mask to indicate ID3v2.4.

◆ SP_SONG_UTF8_STRING_IN_FILE_MASK

#define SP_SONG_UTF8_STRING_IN_FILE_MASK   (1L<<28)

Mask to indicate that the format of strings in file is UTF8.

◆ SP_SONG_ISO8859_1_STRING_IN_FILE_MASK

#define SP_SONG_ISO8859_1_STRING_IN_FILE_MASK   (1L<<29)

Mask to indicate that the format of strings in file is ISO-8859-1.

◆ SP_SONG_ID3V2_SUPPORT_MASK

◆ SP_SONG_ID3V2_2_SUPPORT_MASK

#define SP_SONG_ID3V2_2_SUPPORT_MASK   (SP_SONG_ID3V2_SUPPORT_MASK|SP_SONG_ID3V2_2_MASK)

All masks to indicate that ID3v2.2 is supported.

◆ SP_SONG_ID3V2_3_SUPPORT_MASK

#define SP_SONG_ID3V2_3_SUPPORT_MASK   (SP_SONG_ID3V2_SUPPORT_MASK|SP_SONG_ID3V2_3_MASK)

All masks to indicate that ID3v2.3 is supported.

◆ SP_SONG_ID3V2_4_SUPPORT_MASK

#define SP_SONG_ID3V2_4_SUPPORT_MASK   (SP_SONG_ID3V2_SUPPORT_MASK|SP_SONG_ID3V2_4_MASK)

All masks to indicate that ID3v2.4 is supported.

◆ SP_SONG_ID3V2_ALL_SUPPORT_MASK

All masks to indicate that all ID3v2 versions are supported.

◆ SP_SONG_INFO_SIZE

#define SP_SONG_INFO_SIZE   128

Size of string members of spSongInfo .

◆ SP_SONG_INFO_GENRE_SIZE

#define SP_SONG_INFO_GENRE_SIZE   32

Size of genre of spSongInfoV2 .

◆ SP_SONG_INFO_ALBUM_ARTIST_SIZE

#define SP_SONG_INFO_ALBUM_ARTIST_SIZE   96

Size of album_artist of spSongInfoV2 .

◆ SP_SONG_INFO_RELEASE_SIZE

#define SP_SONG_INFO_RELEASE_SIZE   48

Size of release of spSongInfoV2 .

◆ SP_SONG_INFO_PRODUCER_SIZE

#define SP_SONG_INFO_PRODUCER_SIZE   64

Size of producer of spSongInfoV2 .

◆ SP_SONG_INFO_SOURCE_SIZE

#define SP_SONG_INFO_SOURCE_SIZE   48

Size of source of spSongInfoV2 .

◆ SP_SONG_INFO_COMPOSER_SIZE

#define SP_SONG_INFO_COMPOSER_SIZE   80

Size of composer of spSongInfoV2 .

◆ SP_SONG_INFO_SOFTWARE_SIZE

#define SP_SONG_INFO_SOFTWARE_SIZE   48

Size of software of spSongInfoV2 .

◆ SP_SONG_INFO_LYRICIST_SIZE

#define SP_SONG_INFO_LYRICIST_SIZE   80

Size of lyricist of spSongInfoV2 .

◆ SP_SONG_INFO_SUBJECT_SIZE

#define SP_SONG_INFO_SUBJECT_SIZE   104

Size of subject of spSongInfoV2 .

◆ SP_SONG_INFO_ISRC_SIZE

#define SP_SONG_INFO_ISRC_SIZE   24

Size of isrc of spSongInfoV2 .