Mike Brady
|
f283f95dcb
|
Fix an issue where it would terminate if it could not allocate an excessively large buffer.
|
2017-08-28 21:33:29 +01:00 |
|
Mike Brady
|
ef507a0e70
|
Improve debug messages
|
2017-08-28 12:14:05 +01:00 |
|
Mike Brady
|
7d93af7d27
|
Quieten some debug messages.
|
2017-08-27 17:48:47 +01:00 |
|
Mike Brady
|
965d9f63b1
|
Quieten some debug messages.
|
2017-08-27 17:01:18 +01:00 |
|
Mike Brady
|
d3148eb464
|
Improve handling of player lock and simplify handling of loss of connection and improve some debug messages
|
2017-08-27 12:43:42 +01:00 |
|
Mike Brady
|
06fa348504
|
Allow the player thread variable to be a null to indicate presence or absence of player thread
|
2017-08-25 21:59:52 +01:00 |
|
Mike Brady
|
15ba732458
|
Change behaviour when TEARDOWN is received -- don't close down the RTSP conversation, but wait for it to be closed. Add more debug messages.
|
2017-08-25 10:33:17 +01:00 |
|
Mike Brady
|
40e067863c
|
Fix layout of playback complete output.
|
2017-08-15 22:18:41 +01:00 |
|
Mike Brady
|
23405e7891
|
Correct spelling error
|
2017-08-13 10:35:18 +01:00 |
|
Mike Brady
|
e513e5330c
|
Tidy up source using clang-format
|
2017-07-31 11:57:57 +02:00 |
|
Mike Brady
|
ede276d4af
|
Allow a zero silent lead-in time.
|
2017-07-22 17:37:02 +02:00 |
|
Mike Brady
|
cf9e662668
|
Quieten a debug message.
|
2017-07-21 14:20:41 +02:00 |
|
Mike Brady
|
b7864b4ecf
|
Move common audio backend settings like buffer size and offsets to the "general" settings stanza. Improve the resync code a little.
|
2017-07-21 12:29:03 +02:00 |
|
Mike Brady
|
03887a0582
|
Quieten some debug messages.
|
2017-06-30 20:16:41 +01:00 |
|
Mike Brady
|
9ba3ed39a5
|
Add some settings to the new PulseAudio backend. Limit the silent lead-in time to pipe and stdout backends. Not tested much.
|
2017-06-30 20:05:48 +01:00 |
|
Mike Brady
|
d9c0028f9c
|
Try a different resync mechanism
|
2017-06-11 15:06:03 +01:00 |
|
Mike Brady
|
0e7bc655dc
|
Restore player.c modifications specific to pa -- not needed now.
|
2017-05-18 10:25:15 +01:00 |
|
Mike Brady
|
b3ae05ea60
|
Initial very rough full-fat pulseaudio backend
|
2017-05-17 08:49:40 +01:00 |
|
Mike Brady
|
3d5d39c841
|
Fix mixing of mono -- do 32-bit add and preserve all 17 bits for later dithering
|
2017-05-11 06:48:37 +01:00 |
|
Mike Brady
|
c4fe414e94
|
Use hardware volume control only to mute when there is a mixer but no switch.
|
2017-05-05 17:04:08 +01:00 |
|
Mike Brady
|
721a624c53
|
Signal presence or absence of hardware volume and mute abilities properly. Fix software-only mute.
|
2017-05-04 14:06:24 +01:00 |
|
Mike Brady
|
0182cac749
|
Don't turn the software volume down to zero when muting
|
2017-05-03 21:48:48 +01:00 |
|
Mike Brady
|
74bbb9a3f2
|
Only set volume if it has been asked for externally. Clean up mute. Add ability do disable hardware mute
|
2017-04-30 15:29:02 +01:00 |
|
Mike Brady
|
e37c277b0a
|
Add a "run_this_when_volume_is_set" facility to call a program when the volume is set. The AirPlay volume is passed.
|
2017-04-23 12:37:11 +01:00 |
|
Mike Brady
|
225efa127a
|
Improve debug messages a little
|
2017-04-16 18:40:05 +01:00 |
|
Mike Brady
|
a53b4c5c36
|
Fix some warnings from clang on FreeBSD. One was significant -- the randarray stuff didn't look right.
|
2017-04-16 16:52:43 +01:00 |
|
Mike Brady
|
c991054055
|
Fix issue where sound from the last play was still there with the next play. Make timing stuff threadsaf, handle volume_max_db correctly when ignore_volume_control is true
|
2017-04-07 20:18:03 +01:00 |
|
Mike Brady
|
e4d5570eee
|
Add rtp init and terminate, mirror all globals in the conn data structure
|
2017-03-16 13:19:38 +00:00 |
|
Mike Brady
|
728d3d4956
|
add conn to many procedure calls
|
2017-03-16 12:33:56 +00:00 |
|
Mike Brady
|
43fdb12aca
|
Fix audio backend latency offset calculations
|
2017-03-15 21:19:31 +00:00 |
|
Mike Brady
|
684565679c
|
Merge stability changes to develoment branch and its convolution additions
|
2017-03-11 14:18:52 +00:00 |
|
Mike Brady
|
5c48bfe0e9
|
De-globalise ab_read and ab_write. player thread now fully reentrant.
|
2017-03-10 19:57:02 +00:00 |
|
Mike Brady
|
314b5291a6
|
Make the seq_diff... etc calls explicitly depend on a base value
|
2017-03-10 19:41:51 +00:00 |
|
Mike Brady
|
b559139862
|
De-globalise fix_volume and the vol_mutex
|
2017-03-10 19:20:49 +00:00 |
|
Mike Brady
|
755e95904c
|
De globalise everything except ab_read and ab_write and the volume control stuff
|
2017-03-10 17:44:50 +00:00 |
|
Mike Brady
|
3ada8c944c
|
Make initialising and destroying mutexes and condition variables internal to the player thread.
|
2017-03-09 17:51:07 +00:00 |
|
Mike Brady
|
f06e638d24
|
de-globalise flowcontrol ab_mutex,flush_mutex, first_packet_time_to_play, time_since_play_started
|
2017-03-09 17:22:48 +00:00 |
|
Mike Brady
|
c87414237f
|
de-globalise missing_packets, late_packets, too_late_packets, resend_requests, decoder_in_use, last_seqno_read
|
2017-03-09 16:28:26 +00:00 |
|
Mike Brady
|
05305e1581
|
De-globalise input_bytes_per_frame,output_bytes_per_frame,output_sample_ratio,max_frame_size_change,decoder_info,shutdown_requested,connection_state_to_output,player_thread_please_stop
|
2017-03-09 16:10:39 +00:00 |
|
Mike Brady
|
600cebacd4
|
De-globalise previous_random_number
|
2017-03-09 14:43:41 +00:00 |
|
Mike Brady
|
cae9337dc4
|
De-globalise max_frames_per_packet,input_num_channels,input_bit_depth,input_rate
|
2017-03-09 14:26:28 +00:00 |
|
Mike Brady
|
d90fd0df50
|
Change the order of initialisation back to waht it was before de-globalising the init_decoder, etc.
|
2017-03-09 14:08:06 +00:00 |
|
Mike Brady
|
ea072ec249
|
Move init and terminate decoder calls inside the player thread -- still using globals though
|
2017-03-08 20:13:10 +00:00 |
|
Mike Brady
|
498c1d6e18
|
Move buffer inside player thread
|
2017-03-08 19:58:02 +00:00 |
|
Mike Brady
|
cbcda67f64
|
Fix a bug to ensure a silent frame is supplied to replace a missing frame.
|
2017-03-08 16:17:35 +00:00 |
|
Mike Brady
|
7d672bcf56
|
Untested, probably not working
|
2017-03-07 22:42:23 +00:00 |
|
Yann Pomarede
|
7b9cd28e90
|
2 audio filters added, a volume-dependent-loudness and a convolution filter.
|
2017-02-27 22:43:23 +01:00 |
|
Mike Brady
|
64371bb85c
|
Remove obselete stuffing code.
|
2017-02-25 15:58:59 +00:00 |
|
Mike Brady
|
cf29625d2c
|
Clang Format
|
2017-02-11 12:12:07 +00:00 |
|
Mike Brady
|
2a4a4ed22b
|
Add volume_max_db setting which works on the hw mixer if it exists or the sw attenuator otherwise.
|
2017-02-05 16:18:05 +00:00 |
|