News:

SMF - Just Installed!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Terry

#1
Hi,

I got a brand new computer and made sure no other your component is running.
Problems occur if antivirus software (Windows 10 Microsoft Defender) is turned on, but sometimes the error will not appear after executing a few times.

If antivirus is turned off, it executes normally without any errors no matter how many times.

I really don't understand what this has to do with antivirus software.

Kind Regards

Terry

#2
Hello,

Yes, I modified the InternetStreams sample as below:

Sub Form1_Load
           ' init the control
            m_audioAPI.InitSoundSystem(4, 0, 0, 0, 0)


Sub PlayerCallback
      Case enumPlayerEvents.EV_STREAM_LOADED
                    'textBoxTags.Text = ""
                    'If nData1 = CInt(Fix(enumEventLoadStreamResults.STREAM_LOAD_OK)) Then
                    '    buttonPause.Enabled = True
                    '    buttonStop.Enabled = True
                    '    trackBarVolume.Enabled = True

                    '    m_audioAPI.PlaySound(0)
                    '    buttonPause.Text = "Pause"
                    'Else
                    '    MessageBox.Show("Invalid URL or stream currently not available: please, retry later")
                    'End If

                    'Stop playing streaming for now.


Private Sub radioButton80sBB_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles radioButton80sBB.CheckedChanged
     If radioButton80sBB.Checked Then
        m_audioAPI.LoadInternetStream(0, "http://www.multimediasoft.com/bins/80s.pls")
     End If
     m_audioAPI.LoadInternetStream(1, "http://www.multimediasoft.com/bins/70s.pls")
End Sub

Error occurs when radio "radioButton80sBB" button is clicked.

Terry

#3
Hi,

I continuously load Internet stream radio URL via 'LoadInternetStream' like                 m_audioAPI.LoadInternetStream(0, "http://www.multimediasoft.com/bins/80s.pls")           
m_audioAPI.LoadInternetStream(1, "http://www.multimediasoft.com/bins/70s.pls").

The following error message will appear "Internal error, cannot load engine Number 16 due to error 32"

The following is the execution log, the value in brackets is nPlayerIndex

12:35:41.8594|[PlayerCallback]-(0)-[EV_STREAM_CONNECTING          ]
12:35:41.8665|[PlayerCallback]-(1)-[EV_STREAM_CONNECTING          ]
12:35:43.3063|[PlayerCallback]-(1)-[EV_DOWNLOAD_BUFFERING         ] BUFFERING...
12:35:43.3226|[PlayerCallback]-(1)-[EV_STREAM_LOADED              ] http://www.multimediasoft.com/bins/70s.pls
12:35:43.3308|[PlayerCallback]-(1)-[EV_SOUND_PLAYING              ]

You can see that Player 0 is stuck at CONNECTING.

API Version is 11.2.0.0.

Thank You.

#4
Audio recording components / Re: bassenc_mp3.dll
March 17, 2023, 10:27:08 AM
Hi,

I find out that the newly compiled program cannot run with other programs which still use the old version of AudioSoundRecorderApiF4.dll together.
If do so, the error occurs.

Terry
#5
Audio recording components / bassenc_mp3.dll
March 09, 2023, 06:21:36 AM
Hi,

I add some features and rebuild my programs using version 11.0 (AudioSoundRecorderApiF4.dll).

Running under my development computer is fine, but distributing to another computer always has an error message.

Thank you

Terry
#6
Hello

Playing Internet radio,  what is the difference  different between "LoadInternetStream" and "PlayListExecute" contains the URL of the stream in the  playlist?

Thank you.

Terry
#7
Hello,

I use the sample program "Playlists.exe" to save the playlist.
If I add songs from local user music or document sub folder which folder name contains Chinese characters, the file name in the playlist is only in 8.3 format.
But any other folders except the local user folder are normal
Please see the result below.

-- m3u playlist file
C:\Users\yen\Music\西洋\01-NOR~1.MP3
C:\Users\yen\DOCUME~1\西洋\01-NOR~1.MP3
C:\Users\yen\Music\sample\01 - Norah Jones - Chasing Pirates.mp3    <-- It is normal
D:\Temp\西洋\01 - Norah Jones - Chasing Pirates.mp3          <-- It is normal
D:\Temp\01 - Norah Jones - Chasing Pirates.mp3       <-- It is normal


Terry
#8
Hello,

Execute "PlayListStop" will not call the CallbackForPlayersEvents delegate with the nEvent parameter set to EV_PLAYLIST_DONE.
Is this normal?


Terry
#9
Hello,

When playing, I want to insert a breakpoint to automatically stop playing the song when the playlist index hits that point.
What I do now is insert a null pathname in the playlist to fire "EV_PLAYLIST_SOUND_LOAD_FAILED" and m_audioAPI.PlayListStop.
Do you have any better suggestions?

Thank you.
#10
Hello,

I create a playlist using the PlayListCreate method and add some audio files.
The "PlayListExecAt" executes the playlist from the specified position until the playback is complete.
How to stop automatically after playing the specified position?

Best regards
Terry
#11
Hello

I have a long-time audio recording program using "Audio Sound Recorder API for .NET".
During a recording session, I need to generate a recorded file every hour.  I use "SwitchOutputFile" method.

After five, six days or more (not exactly how long), recording duration will not be a full hour. But after a few hours, it will return to normal.

Because of the computer busy or ....?

Best regards
Terry
#12
Hello,

I want to real-time play sound data coming from an input device.

Does "Audio Sound Recorder API for .NET" driver type only goes with DIRECT_SOUND, when PlaySoundFromRecorderEx?

If I set drivertype to WASAPI, Does it works?

Best regards,
Terry
#13
Hello

I add 2 controls on my form. How to deal with each control CallbackForPlayersEvents?
They do the smae things.


Thank you.
#14
Hello

I can get the parameter nData1 at "EV_PLAYLIST_SOUND_LOADED" but "EV_SOUND_DONE" or "EV_SOUND_PLAYING".

It's Ok to check "EV_PLAYLIST_SOUND_LOADED" to get the time when a song starts playing.

But how to know when a song has been performed completely?

Kind regards
Terry
#15
Hello

I am getting clear how volume automation for playlists going.

But, there are some points I can not catch.

put "m_audioAPI.PlayListCurrIndexGet(nPlayer, index)" in "EV_SOUND_DONE" or "EV_SOUND_PLAYING" session,
the index value seems always return 0 when "nPlayer" is not 0.

Therefore, how to know which song is done or playing when "nPlayer" is not 0 at "EV_SOUND_DONE" and "EV_SOUND_PLAYING" events, if playlist was very complicated?


Kind regards
Terry