Show
Ignore:
Timestamp:
01/16/08 13:41:11 (4 years ago)
Author:
ath
Message:

Big FmInputGst updates.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • fm_server/trunk/src/fm_input_gst/gstfmsink.h

    r185 r198  
    33 * Copyright 2005 Thomas Vander Stichele <thomas@apestaart.org> 
    44 * Copyright 2005 Ronald S. Bultje <rbultje@ronald.bitfreak.net> 
     5 * Modified for FreeMix (2006-2008) by Alberto Botti <alberto.botti@yoda2000.net> 
    56 *  
    67 * Permission is hereby granted, free of charge, to any person obtaining a 
     
    6566 
    6667#define SEEK_MARGIN_SAMPLES (-2000) 
    67 #define SAMPLES_FOR_SEC 44100 
     68//#define SAMPLES_FOR_SEC 44100 
     69#define SAMPLES_FOR_SEC 48000 
    6870 
    6971 
     
    7981        FmInputGstCommon *common; 
    8082 
    81         GstClockTime    start_timestamp; 
     83        GstClockTime    start_timestamp;        // ns 
    8284        gboolean        create_new_chunk; 
    8385 
    8486        gboolean        seek_in_progress;       // if TRUE, ignore "newsegment" events 
    8587        gboolean        seek_completed; 
    86         GstClockTime    seek_target_timestamp; 
     88        GstClockTime    seek_target_timestamp;  // ns 
    8789 
    8890        guint           bytes_behind_us;