aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.c2
-rwxr-xr-xsnowcast_serverbin44944 -> 44944 bytes
-rw-r--r--snowcast_server.dSYM/Contents/Resources/DWARF/snowcast_serverbin27469 -> 27442 bytes
3 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 333f521..7df1f12 100644
--- a/server.c
+++ b/server.c
@@ -353,7 +353,6 @@ void *send_udp_packet_routine(void *arg) {
perror("send_all_udp");
printf("We only sent %d bytes because of the error!\n", bytes_read);
}
-
did_work = 1;
@@ -808,6 +807,7 @@ void seek_stations(int station_num) {
station_t *station_info = &station_data[station_num];
memset(&station_info->fileBuffer, 0, MAX_STREAM_RATE);
int bytes_read = read(station_info->streamFd, &station_info->fileBuffer, MAX_STREAM_RATE);
+ lseek(station_info->streamFd, -16, SEEK_SET);
// printf("station info - bytes read: %d, station_fd: %d, filePath: %s, buffersize: %d\n", bytes_read, station_info->streamFd, station_info->filePath, station_info->fileBufferSize);
// time to restart the file
diff --git a/snowcast_server b/snowcast_server
index f549d85..cb074ef 100755
--- a/snowcast_server
+++ b/snowcast_server
Binary files differ
diff --git a/snowcast_server.dSYM/Contents/Resources/DWARF/snowcast_server b/snowcast_server.dSYM/Contents/Resources/DWARF/snowcast_server
index d52de8f..948984a 100644
--- a/snowcast_server.dSYM/Contents/Resources/DWARF/snowcast_server
+++ b/snowcast_server.dSYM/Contents/Resources/DWARF/snowcast_server
Binary files differ