SoundRecorder : Several style "fixup". No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33077 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0da53e3dd0
commit
8e32a27e6f
|
@ -135,6 +135,7 @@ RecorderWindow::RecorderWindow() :
|
|||
Show();
|
||||
}
|
||||
|
||||
|
||||
RecorderWindow::~RecorderWindow()
|
||||
{
|
||||
// The sound consumer and producer are Nodes; it has to be released and the Roster
|
||||
|
@ -673,6 +674,7 @@ RecorderWindow::Record(BMessage * message)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
RecorderWindow::Play(BMessage * message)
|
||||
{
|
||||
|
@ -714,6 +716,7 @@ RecorderWindow::Play(BMessage * message)
|
|||
fPlayer->SetHasData(true);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
RecorderWindow::Stop(BMessage * message)
|
||||
{
|
||||
|
@ -724,6 +727,7 @@ RecorderWindow::Stop(BMessage * message)
|
|||
StopPlaying();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
RecorderWindow::Save(BMessage * message)
|
||||
{
|
||||
|
@ -749,6 +753,7 @@ RecorderWindow::Save(BMessage * message)
|
|||
fSavePanel->Show();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
RecorderWindow::DoSave(BMessage * message)
|
||||
{
|
||||
|
@ -814,6 +819,7 @@ RecorderWindow::Input(BMessage * message)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
RecorderWindow::Selected(BMessage * message)
|
||||
{
|
||||
|
@ -831,6 +837,7 @@ RecorderWindow::Selected(BMessage * message)
|
|||
UpdateButtons();
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
RecorderWindow::MakeRecordConnection(const media_node & input)
|
||||
{
|
||||
|
@ -940,6 +947,7 @@ RecorderWindow::BreakRecordConnection()
|
|||
return err;
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
RecorderWindow::StopRecording()
|
||||
{
|
||||
|
@ -1032,6 +1040,7 @@ RecorderWindow::UpdateButtons()
|
|||
extern "C" status_t DecodedFormat__11BMediaTrackP12media_format(BMediaTrack *self, media_format *inout_format);
|
||||
#endif
|
||||
|
||||
|
||||
status_t
|
||||
RecorderWindow::UpdatePlayFile(SoundListItem* item, bool updateDisplay)
|
||||
{
|
||||
|
@ -1059,7 +1068,7 @@ RecorderWindow::UpdatePlayFile(SoundListItem* item, bool updateDisplay)
|
|||
return err;
|
||||
}
|
||||
|
||||
for (int ix=0; ix<fPlayFile->CountTracks(); ix++) {
|
||||
for (int ix=0; ix < fPlayFile->CountTracks(); ix++) {
|
||||
BMediaTrack * track = fPlayFile->TrackAt(ix);
|
||||
fPlayFormat.type = B_MEDIA_RAW_AUDIO;
|
||||
#ifdef __HAIKU__
|
||||
|
@ -1250,6 +1259,7 @@ RecorderWindow::PlayFile(void * cookie, void * data, size_t size,
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
RecorderWindow::NotifyPlayFile(void * cookie,
|
||||
BSoundPlayer::sound_player_notification code, ...)
|
||||
|
|
|
@ -17,10 +17,12 @@ SoundListView::SoundListView(
|
|||
{
|
||||
}
|
||||
|
||||
|
||||
SoundListView::~SoundListView()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
SoundListView::Draw(BRect updateRect)
|
||||
{
|
||||
|
@ -65,6 +67,7 @@ SoundListItem::SoundListItem(
|
|||
SetText(name);
|
||||
}
|
||||
|
||||
|
||||
SoundListItem::~SoundListItem()
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue