Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • JarkkoL's Avatar
    04-10-2020, 08:29 PM
    Doing linear interpolation for my music player to be able to play multiple simultaneous instruments at different frequencies. If I were to implement an audio library, I would design it to be output device sampling rate...
    31 replies | 1235 view(s)
  • JarkkoL's Avatar
    04-07-2020, 08:40 PM
    Yes, I was in the PC demoscene in the 90's, but never got around to write a triangle rasterizer back in the days :D
    43 replies | 2927 view(s)
  • JarkkoL's Avatar
    04-02-2020, 06:21 AM
    You can check for example this post about compiler memory access reordering: https://preshing.com/20120625/memory-ordering-at-compile-time/ The scope of local variables isn't the crux here, but the flexibility of...
    13 replies | 529 view(s)
  • JarkkoL's Avatar
    04-02-2020, 04:05 AM
    You don't need to make all the variables used by the interrupt function volatile, just the ones shared between interrupt function and the main loop. Anyway, it doesn't hurt the validity of the program, only the...
    13 replies | 529 view(s)
  • JarkkoL's Avatar
    03-28-2020, 11:42 PM
    Added bilinear texture sampling support for smoother texturing :) In the video it's toggling between point and bilinear sampling to show the difference. I'm currently supporting 23 different texture formats, so it...
    43 replies | 2927 view(s)
  • JarkkoL's Avatar
    03-28-2020, 05:12 PM
    To give a bit more context, consider the following innocent looking code: static uint8_t s_buffer; // interrupt fills the ring buffer with data static uint8_t s_buffer_pos; // interrupt updates the buffer...
    13 replies | 529 view(s)
  • JarkkoL's Avatar
    03-28-2020, 03:26 AM
    Without seeing the code it's difficult to tell, but based on your description, the reason could be buggy code how you communicate between interrupt routine and the main loop. Remember that interrupts may happen anywhere...
    13 replies | 529 view(s)
No More Results
About JarkkoL

Basic Information

Statistics


Total Posts
Total Posts
116
Posts Per Day
0.05
Last Post
Time for a new Audiolibrary 04-10-2020 08:29 PM
General Information
Last Activity
05-10-2020 12:41 AM
Join Date
07-11-2013