Lines Matching defs:text
652 cdtext text;
658 if (read_cdtext(fDevice, text) == B_OK)
693 if (text.titles[i] != NULL) {
694 if (text.artists[i] != NULL) {
696 track, text.artists[i], text.titles[i]);
699 track, text.titles[i]);
720 text.artists[i] != NULL ? text.artists[i] : text.artist);
721 inode->AddAttribute("Audio:Album", B_STRING_TYPE, text.album);
722 inode->AddAttribute("Audio:Title", B_STRING_TYPE, text.titles[i]);
723 inode->AddAttribute("Audio:Genre", B_STRING_TYPE, text.genre);
828 // We do not have attributes set. Read CD text.
829 cdtext text;
830 if (read_cdtext(device, text) == B_OK) {
831 if (text.artist != NULL && text.album != NULL)
832 snprintf(name, length, "%s - %s", text.artist, text.album);
833 else if (text.artist != NULL || text.album != NULL) {
834 snprintf(name, length, "%s", text.artist != NULL
835 ? text.artist : text.album);