Skip to content

Commit

Permalink
Merge pull request #8 from daschuer/1.12-shoutcast-fixes
Browse files Browse the repository at this point in the history
Improves shoutcast by moving to _raw sending (drop syncing code from libshout) and let Mixxx do the timing.
  • Loading branch information
illuusio committed Oct 2, 2015
2 parents 1b5104f + 8bd600f commit 6412e84
Show file tree
Hide file tree
Showing 9 changed files with 208 additions and 127 deletions.
Binary file added res/skins/Shade/btn_broadcast_connected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/skins/Shade/btn_broadcast_connecting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/skins/Shade/btn_broadcast_failure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/skins/Shade/btn_broadcast_unconnected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 33 additions & 2 deletions res/skins/Shade/mixer_panel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,39 @@
<ConfigKey>[Master],audio_latency_usage</ConfigKey>
</Connection>
</VuMeter>



<PushButton>
<Style></Style>
<NumberStates>4</NumberStates>
<State>
<Number>0</Number>
<Pressed>btn_broadcast_unconnected.png</Pressed>
<Unpressed>btn_broadcast_unconnected.png</Unpressed>
</State>
<State>
<Number>1</Number>
<Pressed>btn_broadcast_connecting.png</Pressed>
<Unpressed>btn_broadcast_connecting.png</Unpressed>
</State>
<State>
<Number>2</Number>
<Pressed>btn_broadcast_connected.png</Pressed>
<Unpressed>btn_broadcast_connected.png</Unpressed>
</State>
<State>
<Number>3</Number>
<Pressed>btn_broadcast_failure.png</Pressed>
<Unpressed>btn_broadcast_failure.png</Unpressed>
</State>
<Pos>113,30</Pos>
<Connection>
<ConfigKey>[Shoutcast],enabled</ConfigKey>
<ButtonState>LeftButton</ButtonState>
</Connection>
<Connection>
<ConfigKey>[Shoutcast],status</ConfigKey>
</Connection>
</PushButton>

<!--
**********************************************
Expand Down
2 changes: 1 addition & 1 deletion src/engine/sidechain/enginenetworkstream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void EngineNetworkStream::writeSilence(int frames) {
int writeAvailable = m_pOutputFifo->writeAvailable();
int writeRequired = frames * m_numOutputChannels;
if (writeAvailable < writeRequired) {
qDebug() << "EngineNetworkStream::write() buffer full";
qDebug() << "EngineNetworkStream::writeSilence() buffer full";
}
int clearCount = math_min(writeAvailable, writeRequired);
if (clearCount > 0) {
Expand Down
Loading

0 comments on commit 6412e84

Please sign in to comment.