From a7fe1dbb69ab90c019872de7bc1d686b279c9f7d Mon Sep 17 00:00:00 2001 From: "Bruno G. Albuquerque" Date: Wed, 13 May 2009 00:08:57 +0000 Subject: [PATCH] - Added bitrate attribute to audio files. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30737 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/file_systems/cdda/kernel_interface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/add-ons/kernel/file_systems/cdda/kernel_interface.cpp b/src/add-ons/kernel/file_systems/cdda/kernel_interface.cpp index 2c4cb2b88b..d8118e916c 100644 --- a/src/add-ons/kernel/file_systems/cdda/kernel_interface.cpp +++ b/src/add-ons/kernel/file_systems/cdda/kernel_interface.cpp @@ -730,6 +730,7 @@ Volume::Mount(const char* device) inode->AddAttribute("Audio:Title", B_STRING_TYPE, text.titles[i]); inode->AddAttribute("Audio:Genre", B_STRING_TYPE, text.genre); inode->AddAttribute("Audio:Track", B_INT32_TYPE, track); + inode->AddAttribute("Audio:Bitrate", B_STRIG_TYPE, "128 kbps"); snprintf(title, sizeof(title), "%02lu:%02lu", uint32(inode->FrameCount() / kFramesPerMinute),